Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Jyo27
Helper II
Helper II

Need Calculations

Hi Everyone,

 

Need some help in creating measures/columns . Have Category ,Qty and count columns and based on Category selection filter it should show the ratio column . Ratio is (Count for each Category)/(Total qty for all the selected Categories ). 

 

CategoryQtycountRatio
A1110.027027
B1110.027027
C1210.027027
D320.054054
Total37  

 

If Category 'A' and 'B' is selected on slicer then it should show the output below:

CategoryQtycountRatio
A1110.045455
B1110.045455
Total22  
1 REPLY 1
lbendlin
Super User
Super User

lbendlin_0-1696887782629.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.