cancel
Showing results for
Did you mean:
Highlighted
Helper III

## Dax

I need help building a DAX in a way that calculates the sum of the 2 given rows of FY16-17 and outputs in a single row and also to remove the [1L] and [100 ML] from the row.

ignore the Total

Current-

Desired -

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User IV

## Re: Dax

@Nimai123 , Try sumx

Measure 2 = SUMX(SUMMARIZE('Product Sales Report','Product Sales Report'[All Segment.All Segment Level 01],'Product Sales Report'[Material.Material Level 01],"_1",[Total Qty Inc Foc FY16-17]),[_1])

Add all the group column of table

My Recent Blog -Week is not so Weak Connect on Linkedin

Proud to be a Super User!

3 REPLIES 3
Highlighted
Super User IV

## Re: Dax

Is that all of your data? You could create a new column like:

``Material = LEFT([Materials,FIND([Materials],"[") - 1)``

Then just put that in your visual and you should get a single row and the sum you want.

---------------------------------------

Putting square pegs in round holes since 1972.

##### I have a NEW book! DAX Cookbook from Packt
Over 120 DAX Recipes!

Proud to be a Super User!

Highlighted
Super User IV

## Re: Dax

Try like

My Recent Blog -Week is not so Weak Connect on Linkedin

Proud to be a Super User!

Highlighted
Super User IV

## Re: Dax

@Nimai123 , Try sumx

Measure 2 = SUMX(SUMMARIZE('Product Sales Report','Product Sales Report'[All Segment.All Segment Level 01],'Product Sales Report'[Material.Material Level 01],"_1",[Total Qty Inc Foc FY16-17]),[_1])

Add all the group column of table

My Recent Blog -Week is not so Weak Connect on Linkedin

Proud to be a Super User!

Announcements

#### August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

#### July 2020 Community Highlights

Learn about the exciting things that happened in July.

#### Upcoming Events

Wondering what events you could join or have an event to promote yourself? Check out our Upcoming Events.

#### Get Ready for Power BI Dev Camp

We are thrilled to announce we will begin running a monthly webinar series named Power BI Dev Camp.

Top Solution Authors
Top Kudoed Authors