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.
Here's a sample of my data:
I add a 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 :(
- v-xuding-msft6 years agoCommunity Support
Hi Sasha ,
Please try the following formula.Revenue/Unit = var a = CALCULATE(SUM(Sales[Total Revenue]),ALL(Sales)) var b = CALCULATE(SUM(Sales[Units Sold]),ALL(Sales)) return DIVIDE(a,b)
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.