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.
ValentinB , As you want selectedvalue as a benchmark, you need an independent table
So you need an independent company name table and use that in a measure to get that companies value and this should interact with visual
Need of an Independent Table in Power BI: https://youtu.be/lOEW-YUrAbE
- ValentinB4 years agoFrequent Visitor
Hello amitchandak ,
I have accepted as a solution Anonymous method since it worked but I will also check and try to implement your part as I am on a learning curve regarding PowerBi and every intel is a good chance to develop more skills and methods.
Many thanks as well for your reply and wish you also Happy Holidays.