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
Evanooruvan
Helper II
Helper II

Why powerbi row subtotal calculate value wrongly in decimal

WhatsApp Image 2023-03-17 at 19.07.33.jpeg

 

measure used

percentage =

var x = calculate(count('table'[ky]),'table'[rs]="pass")
var y = count('table'[ky])
var qd = if(isblank(divide(x,y)*100),0,divide(x,y)*100)
return

    qd

 

this is one of column where values are in decimal and why powerbi subtotal column shows wrong total.

 

Kindly help on how to fix it

3 REPLIES 3
andhiii079845
Solution Sage
Solution Sage

Perhaps show us your measure? I know that the total sumx is often incorrect, see this post:

https://www.sqlbi.com/articles/why-power-bi-totals-might-seem-inaccurate/

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




added the measure @andhiii079845 have not used sumx

Can you show the involved columns and the underlaying data as a example? 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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