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
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
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