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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors