Forum Discussion
rock4sridhar
7 years agoRegular Visitor
Dynamic Measure depends on slicer value
Hi, Need help in building a pie chart where the data is as follows, col1 col2 A 150 B 500 C 200 when we click "A" on the slicer,the pie chart should display A (% out of ...
- 7 years ago
Basic Percentage Formula = var Numerator = LOOKUPVALUE(Table1[Column2], Table1[Column1], SELECTEDVALUE(Table1[Column1])) var Denominator = CALCULATE(SUM(Table1[Column2]), ALLEXCEPT(Table1, Table1[Column2])) return DIVIDE(Numerator, Denominator)
- 7 years ago
Sorry for the late response,
If you click your visual and click Format > Edit Interactions. Some new options should appear on your visual. What you want to do is change it to HIGHLIGHTING mode.
Hope that helps
hnguy71
7 years agoSuper User
Basic Percentage Formula = var Numerator = LOOKUPVALUE(Table1[Column2], Table1[Column1], SELECTEDVALUE(Table1[Column1])) var Denominator = CALCULATE(SUM(Table1[Column2]), ALLEXCEPT(Table1, Table1[Column2])) return DIVIDE(Numerator, Denominator)
rock4sridhar
7 years agoRegular Visitor
- hnguy717 years agoSuper User
Sorry for the late response,
If you click your visual and click Format > Edit Interactions. Some new options should appear on your visual. What you want to do is change it to HIGHLIGHTING mode.
Hope that helps