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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

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
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

May 2025 Monthly Update

Fabric Community Update - May 2025

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