Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
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 100) and remaining percentage should be B+C(%) should be displayed.can anyone help me in this scenario
Solved! Go to Solution.
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)
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
i am a newbie with this
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)
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
Hi i have tried the above formula but its not working though... 😞