Showing results for 
Search instead for 
Did you mean: 
New Member

Is it possible to create a measure that divides per category and the total differently

Good day,


I have two tables, one has 1 category and the other one has all the categories. Is it possible to create a measure that will divide per category and divide each category to the total of all categories for the table that has few categories. 


Example below, the colored rows would be the totals and the non colored rows are the categories.

I need both totals to interact. Is this possible?



Super User
Super User

@jayp01 , If you divide by total category


divide([Measure], calculate([measure], removefilters(Table[Category])) )

Hi, amitchandak


Thanks for the help, tested the measure but doesn't provide the output I'm looking for.


Expected output should be 9.5% from (388,058 / 4,077790)



Helpful resources

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors