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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.