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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
redsailbi
Frequent Visitor

Total not coming correct in matrix view

redsailbi_0-1679311863154.pngThe Total is not coming correct. All the columns are coming from different tables. A quick help is needed here.
 Here is my measure.

Weighted Velocity =
VAR TotalActualValueTasks = SUM('Tasks'[ActualsValueSum])
VAR TotalActualValuePrimaryWorkItems = CALCULATE( SUM(PrimaryWorkItems[ActualValue]) )-- this portion needs adjustment DIVIDE(TotalActualValueTasks, TotalActualValuePrimaryWorkItems) * TotalStoryPointsPrimaryWorkItems
VAR TotalStoryPointsPrimaryWorkItems = SUM(Tasks[ParentEstimate])

RETURN
DIVIDE(TotalActualValueTasks, TotalActualValuePrimaryWorkItems) * TotalStoryPointsPrimaryWorkItems

 

4 REPLIES 4
Greg_Deckler
Community Champion
Community Champion

@redsailbi 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...

@Greg_Deckler i tried to use your approach but still the total is coming incorrect.

redsailbi
Frequent Visitor

@v-jianboli-msft if you can see the above image i.e matrix visual where the lowest tickets numbers are are showing 1.85 & 0.15. if we addd 1.85+0.15= 2(expected output) at all the levels in the visual here are the levels TeamName-->OwnerName-->WINumber-->TicketNumber.
This is how model looks like.

redsailbi_0-1679489193224.png

 

v-jianboli-msft
Community Support
Community Support

Hi @redsailbi ,

 

What does your raw data look like? Could you please provide the information about your matrix visual?

Sorry for that the information you have provided is not making the problem clear to me. Can you please share more details to help us clarify your scenario?

Please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.

 

Refer to:

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly

 

Best Regards,

Jianbo Li

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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.