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
PrachiD
Helper I
Helper I

How to get the perfect total in Power bi Desktop

i2.PNG

 

 

 

 

 

 

 

 

 

 

 

 

Hello All,

The above total (5528) I have got in Power Bi Desktop (table visual)
But the above total is completly wrong
If we start adding up 5+677+....+611 it comes upto 5841 but the power bi desktop table visual gives me 5528 total.
Can anyone tell me Ywhy it is coming in this way????

1 REPLY 1
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @PrachiD,

 

I have reproduced your issue, you could refer to my test scenario.

 

Capture.PNG

 

 

 

Technically, the total row is correct for the measure, the Total is a distinctcount value of Employ_name, so the value should be 9 rather than 13. 

 

In this scenario, you could modify your measure like below.

 

 

Emp_Count =
SUMX (
    SUMMARIZE (
        'Total',
        Total[Day-Month],
        Total[Empoly _name],
        Total[Location Name],
        "Empcount", DISTINCTCOUNT ( Total[Empoly _name] )
    ),
    [Empcount]
)

Then you will get the result you want.

 

 

 

Capture1.PNG

 

In addition, you could refer to this similar post.

 

Hope it can help you!

 

Best Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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