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
souvik900766
Helper IV
Helper IV

Divide rows by a measure

Hi !

I have a measure:-  

Base for Volume Share within Category = CALCULATE([Volume CY],Table[company_nm]="Full Industry")
Now, with this measure I want to divide every row (i.e my products value) to get the share within the industry.
But I am getting blank rows !
How to calculate this?Capture.PNG
4 REPLIES 4
amitchandak
Super User
Super User

@souvik900766 ,

one of the three measure. Assume [Volume] is a measure

 

Category = divide([Volume],CALCULATE([Volume],Filter(allselected(Table),Table[company_nm]="Full Industry")))

Category = divide([Volume],CALCULATE([Volume],Filter(all(Table[company_nm]),Table[company_nm]="Full Industry")))

Category = divide([Volume],CALCULATE([Volume],Filter(allselected(Table[company_nm]),Table[company_nm]="Full Industry")))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
amitchandak
Super User
Super User

@souvik900766 , I so how not clear with your formula.

It shoulw be like this if you need % of total

divide([Volume CY], calculate([Volume CY], allselected(Table)))

 

or // I am not sure on this one, but seem like this name is not there in selection

 

Category = CALCULATE([Volume CY],Filter(all(Table[company_nm]),Table[company_nm]="Full Industry"))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi !
It is not working. I think thr is a lack of clarity from my side.
Kindly Check this !
Capture.PNG

Thanks in Advance !

@souvik900766 , one of the three measure. Assume [Volume] is a measure

 

Category = divide([Volume],CALCULATE([Volume],Filter(allselected(Table),Table[company_nm]="Full Industry")))

Category = divide([Volume],CALCULATE([Volume],Filter(all(Table[company_nm]),Table[company_nm]="Full Industry")))

Category = divide([Volume],CALCULATE([Volume],Filter(allselected(Table[company_nm]),Table[company_nm]="Full Industry")))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.