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
Lancelot
Frequent Visitor

Use total from a matrix table in a measure

Hi

 

Is there a way to use the auto calculated total value from a matrix table in a new measure?

 

Lancelot_0-1673863111729.png

This is the value generated. How do I refer to it? Thanks

 

1 ACCEPTED SOLUTION
Idrissshatila
Super User
Super User

Hello @Lancelot ,

 

You could include it in the new measure as a variable and use it.

Refer to this link https://learn.microsoft.com/en-us/dax/best-practices/dax-variables

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

 

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Lancelot 

You can use sumx ()

e.g In the following matrix visual:

vxinruzhumsft_0-1673938501409.png

We substract the num "42" in Total, then we can create the following measure:

Measure = SUMX(FILTER(ALLSELECTED('Table'),[True/False]=TRUE()),[Order])

 

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.

Idrissshatila
Super User
Super User

Hello @Lancelot ,

 

You could include it in the new measure as a variable and use it.

Refer to this link https://learn.microsoft.com/en-us/dax/best-practices/dax-variables

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

 

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




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.