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

Sum if movement

Hi All,

In a periodic report, I only want to show the projects that has movement in the selected month. 

I was using blank function to hide the projects without movement (column 04 & 06), but the grand total is showing all projects. 

 

FrancisGhao_0-1671611505292.png

Can you please provide pointers how to resolve it?

Here is the file.

1 ACCEPTED SOLUTION

4 REPLIES 4
TomasAndersson
Solution Sage
Solution Sage

Hi,
Great that you attached a sample file!

Power BI totals matrixes in a non-intuitive way. Many times, using SUMX() can fix it. I made a small tweak to your measure, wrapping everything in a SUMX(), to get the following:

TomasAndersson_1-1671612613158.png

Hope this helps!

 



You can read an article about it here: Summing values for the total - SQLBI

Thank you and appreciated for the article! New Dax user here and it feels so different from excel. Result code is not always visualized so it is a steeper learning curve.

Yeah haha. I'm came to Power BI from Excel as well. The first hour or so was easy doing a few SUM() and AVERAGE()-s, but as soon as you come to just a bit more complicated stuff you have to start to think in an entirely new way 😅

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