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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
PB797
New Member

Why is my Table Total row blank??

 

PB797_1-1660331862745.png

 

4 REPLIES 4
mahoneypat
Microsoft Employee
Microsoft Employee

Can you share the measure you are using? I suspect there is a function (e.g., SELECTEDVALUE) or logic that is return blank in the "total" row. Please @ mention me in the response so I see your reply.

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


@mahoneypat 

Adjustments_Month_to_Date = CALCULATE(SUM(Query1[ActivityAmount]),DATESMTD('Calendar'[Date]))
mahoneypat
Microsoft Employee
Microsoft Employee

In the "total" row, there is no filter on date, so it is seeing the entire Calendar table and the DATESMTD function is returning the dates in the last month of the year. As that hasn't happened yet, you likely don't have any matching rows in your table, so it appears as a blank.

 

Have you tried a simpler DAX expression? The DATESMTD may not be necessary. Perhaps just

SUM(Query1[ActivityAmount])

You would likely see the expected total. If you do need the DATESMTD, you can get the expected total with an expression like this as described in this video - Power BI - Tales from the front #01 - Getting the Right Total - YouTube

 

New SUM MTD =
SUMX (
VALUES ( 'Calendar'[Month] ),
CALCULATE ( SUM ( Query1[ActivityAmount] ), DATESMTD ( 'Calendar'[Date] ) )
)

 

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Sorry for the Delay in my response, I tried using the below DAX expression that you suggested and am getting an error message stating the Column Month could not be found. This is odd as I have it in my Calendar table and it is even selected to create the visual. 

 

 New SUM MTD =
SUMX (
VALUES ( 'Calendar'[Month] ),
CALCULATE ( SUM ( Query1[ActivityAmount] ), DATESMTD ( 'Calendar'[Date] ) )
)

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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