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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
UpharAnand
Helper II
Helper II

Totals showing wrong value

I have written as dax which is showing wrong totals is this table chart.

UpharAnand_0-1717762405246.png

It is showing 3782 but the correct number should be 3703.

I have uploaded the sample data. Kindly download it and help me.

Click https://drive.google.com/drive/folders/12LNhJs-WwWQ-_MOXLmWeA83TO59OvsCb to download the file

3 ACCEPTED SOLUTIONS
Ashish_Mathur
Super User
Super User

Hi,

PBI file attached.

Hope this helps.

Ashish_Mathur_0-1717901996853.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

Anonymous
Not applicable

Hi,

Thanks for the solution @Ashish_Mathur  provided, it is excellent, and i want to offer some more information for user to refer to.

hello @UpharAnand , you can create a measure.

 

Measure = SUMX(VALUES(Segment[Segment]),[Group Revenue])

 

It sums the group revenue measure based on the segment field.

Output

vxinruzhumsft_0-1717997829210.png

If the solutions @Ashish_Mathur  and i provided helped you, please consider to accept them as solutions.

 

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Yes. Its also working and is very simple. Can you also make it as a 6months rolling ?

View solution in original post

11 REPLIES 11
floflodm42
New Member

Hi, 

Can you help me ? 

My problem is the total of my mesure "Attérissage 2024" is not working. 

It should be the résult of colum 1 for January to June + the résultat of colum 2 for July to decembre....

floflodm42_2-1718957070617.png

 

floflodm42_1-1718957040035.png

 

 

 

Ashish_Mathur
Super User
Super User

Hi,

PBI file attached.

Hope this helps.

Ashish_Mathur_0-1717901996853.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

@Ashish_Mathur . Yes its working. Thanks.

But can you please explian me the logic that how its working ?

My manager will surely ask.

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

@Ashish_Mathur  Sir, can you please explain me the dax logic? My manager will surely poke me tomorrow. I am not so much good in power BI

Anonymous
Not applicable

Hi,

Thanks for the solution @Ashish_Mathur  provided, it is excellent, and i want to offer some more information for user to refer to.

hello @UpharAnand , you can create a measure.

 

Measure = SUMX(VALUES(Segment[Segment]),[Group Revenue])

 

It sums the group revenue measure based on the segment field.

Output

vxinruzhumsft_0-1717997829210.png

If the solutions @Ashish_Mathur  and i provided helped you, please consider to accept them as solutions.

 

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Yes. Its also working and is very simple. Can you also make it as a 6months rolling ?

Anonymous
Not applicable

Hi @UpharAnand 

Thanks for your quick reply,  it is a new requirement, you can consider to create a new case, and 

If the solutions @Ashish_Mathur  and i provided helped you, please consider to accept them as solutions.

 

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Greg_Deckler
Community Champion
Community Champion

@UpharAnand First, please vote for this idea: https://ideas.powerbi.com/ideas/idea/?ideaid=082203f1-594f-4ba7-ac87-bb91096c742e

This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376

Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907

Also: https://youtu.be/uXRriTN0cfY
And: https://youtu.be/n4TYhF2ARe8



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

It's my humble request. Can you please download the file and update the dax formula as per your logic?? I am not so much good in power bi 

Respectfully, this is an opportunity for you to get better. 🙂




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

Proud to be a Super User!





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