Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi, I would like the following matrix to sum the numbers in each column.
The idea is that I have a project list (hidden by the green rectangle) with start date of each phase. I have a switch measure that puts a number from 1 to 6 depending on which phase each project is at each week of the year.
The result is shown below
See Phase1 measure :
How can I have a measure or the subtotal calculate correctly?
Thank you
Solved! Go to Solution.
Hi, @plmiquelon ;
You could create another measure.
Measure 2 =
IF(HASONEVALUE('Table'[Date]),
IF(ISINSCOPE('Table'[Shop]), [Phase1],SUMX('Table',[Phase1])),
SUMX('Table',[Phase1]))
The final output is shown below:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @plmiquelon ;
You could create another measure.
Measure 2 =
IF(HASONEVALUE('Table'[Date]),
IF(ISINSCOPE('Table'[Shop]), [Phase1],SUMX('Table',[Phase1])),
SUMX('Table',[Phase1]))
The final output is shown below:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I recently did 2 videos on this, watch Video 1 here to understand the reason and then you can apply the fix in your report. https://youtu.be/1WWFwnbNPtM
I would ❤ Kudos if my solution helped. If you can spend time posting the question, you can also make effort to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡
👉
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.