cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

HELP Measure - Get total of rows instead of calculated measure

Hi all,

 

I'm writing to getsome help on my current issue. I built a model to calculate some price variation impacts.

I have a measure to get this (basically multiplying price variation by qty for each material ref sold). It's working well at row level & I can filter/drilldown/analyze at different level.

 

Now I would like to show the total impact instead of having to look all rows. The problem is that as it is a measure, the total is calculated using the formula. What I want is to show the total of all rows.

I first think of creating a calculated column instead of formulas but that does not work as I need the calculation by row to be done depending on my filters. So row calculation has to be dynamic (=measure).

 

Do you know how I can "force" a measure to give total of rows & not just applying the formula on total ?

 

Not sure I'm clear but I still hope someone may have face the same issue & can help.

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Resident Rockstar
Resident Rockstar

Re: HELP Measure - Get total of rows instead of calculated measure

Hi @PHDurand ,

 

You may could try with SUMX function.

 

Please have a reference of this similar thread.

 

In addition, I have made a test based on your description.

 

sumx.PNG

 

If you still need help, please share your sample data and your desired output so that we can help further on it.

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Resident Rockstar
Resident Rockstar

Re: HELP Measure - Get total of rows instead of calculated measure

Hi @PHDurand ,

 

You may could try with SUMX function.

 

Please have a reference of this similar thread.

 

In addition, I have made a test based on your description.

 

sumx.PNG

 

If you still need help, please share your sample data and your desired output so that we can help further on it.

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements

August Community Highlights

Check out a full recap of the month!

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

Top Solution Authors