Forum Discussion
Calculating DAX Measure (% Deviation) using Name Slicer Value
- Anonymous4 years ago
Hi ValentinB ,
I have built a simple data sample:
individual = SUM('Table'[Hour])company = CALCULATE(SUM('Table'[Hour]),REMOVEFILTERS('Table'[Name]))% Deviation = ( [individual]-[company]) / [company]Output:
If you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi ValentinB ,
I have built a simple data sample:
individual = SUM('Table'[Hour]) company = CALCULATE(SUM('Table'[Hour]),REMOVEFILTERS('Table'[Name]))% Deviation = ( [individual]-[company]) / [company]
Output:
If you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- ValentinB4 years agoFrequent Visitor
Hello Anonymous ,
Many thanks for your help, indeed it worked on my side as well. Was not fully aware of the "REMOVEFILTER" function but I am glad I've learned something new.
Best wishes and Happy Holidays !