Forum Discussion
Key influencers analyzing measure
Hi Sasha ,
Can you please share a dummy file? If you can't, please share some sample data, your expected results and screenshots that will make us help you quickly and accurately.
How to Get Your Question Answered Quickly
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Sasha6 years agoHelper III
Here's a sample of my data:
I add a measure:
Revenue/Unit = DIVIDE(SUM(Sales[Total Revenue]),SUM(Sales[Units Sold]))I then want to analyze this measure all columns:Without filtering total revenue is $594100 and total units sold 144661So Revenue/Unit = 594100/144661 = $4.11However, the visualization compares the segments to other average.What it basically does - it calculates the measure on a row level and then averages all results resulting in $4.39.I would like it to compare to $4.11 - is it possible (otherwise - why am I given the option to analyze by measure?)- v-xuding-msft6 years agoCommunity Support
Hi Sasha ,
How about adding CALCULATE per sum values? Did you try this? Did it work?
Revenue/Unit = DIVIDE(CALCULATE(SUM(Sales[Total Revenue])),CALCULATE(SUM(Sales[Units Sold])))
Due to the sample data is a part of your data, I'm not sure the result I tested is what you want. You could try this firstly. If there is anything wrong, please point it.
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Sasha6 years agoHelper III
v-xuding-msft Hi,
it didn't change anything :(