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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
rnagallatav
New Member

Need Help with Average Total value

Dear All,

Greetings!

I am loading my calculated data from excel into Power BI. After loading, the "totals row" auto-generated by Power BI is summing the average column values as well. I want the average column to display the value as per my calculation logic. If I disable "totals", all the values from that row are disappearing. I want the A and B columns total to be summed and displayed, but the percentage column needs to consider the total sum values of A and B and calculate the overall average as per Formula in percentage header i.e. =[(160/(160+529))*100]

Current Power BI Output
 ABPercentage
= ((A/(A+B))*100
 92373.66
 52119.23
 144025.93
 11222233.53
 16964.00
 4 100.00
Total160529246.35
Expected Output
 ABPercentage
= ((A/(A+B))*100
 92373.66
 52119.23
 144025.93
 11222233.53
 16964.00
 4 100.00
Total16052923.22

Any suggestion would be greatly appreciated.

 

Thanks in Advance.

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@rnagallatav , try like

divide(sum(A),sumx(Table,table[A]+table[B]))

 

Mark column as % column. Not need to multiply by 100

 

Data Format New Rib.png

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

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@rnagallatav , try like

divide(sum(A),sumx(Table,table[A]+table[B]))

 

Mark column as % column. Not need to multiply by 100

 

Data Format New Rib.png

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

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors