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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Divide every row with a total

Hi guys,

need help to divide every row with a total. Is SUMX the rifht function to do it? Tried it with calculate Sumx divided by calculate sum and it did not work. Anyone an idea?

 

Thank You 

5 REPLIES 5
Anonymous
Not applicable

Hello @Anonymous 

Hope this helps 

 

Create a measure for total Sum = 

Sum = Sum(Table[Column])

Create a column = Divide(Table[column], Sum)

 

Thank you

 

amitchandak
Super User
Super User

@Anonymous , a new column

Percent = divide([value], sum(Table[Value]))

 

a measure

Percent = divide(sum(Table[value]), calculate(sum(Table[Value]), allselected(Table)))

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
Anonymous
Not applicable

Can i apply a filter to the first value? 

Hi @Anonymous

 

If you want to apply a filter, you need to use a measure. See the difference between the following two measures.

Percent = DIVIDE(SUM('Table'[Value]), CALCULATE(SUM('Table'[Value]), ALLSELECTED('Table')))


Percent 2 = DIVIDE(SUM('Table'[Value]), CALCULATE(SUM('Table'[Value]), ALL('Table')))

21110202.jpg

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

@Anonymous , No, if you want to pass slicer value. you need use measure for that, second one

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.