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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Adam01
Advocate I
Advocate I

Total Month to Date for ONLY Saturdays within that month

Hello,

 

I have a table that looks like the below:

 

Adam01_0-1691763015260.png

 

I want to create a measure that has a running total of [Amount] made on a Saturday Only, so [Day of Week] = 6. I've tried the following:

CALCULATE (
    TOTALMTD ( [Amount], 'Calendar'[Date] ),
    FILTER (
        'Calendar',
        'Calendar'[Date] <= MAX ( 'Calendar'[Date] ) &&
        CONTAINSSTRING (
            VALUES ( 'Calendar'[DayLongName] ),
            "Saturday"
        )
    )
)
 
I've also tried something more simple:
CALCULATE (
    TOTALMTD ( [Amount], 'Calendar'[Date] ),
    'Calendar'[DayOfWeekValue] = 6
)
 
However the issue I keep running into is that values ARE being displayed for a saturday but it is a running total of the days leading up to the saturday, for example on this table for the first saturday on the month it would be Thursday + Friday + Saturday:
 

Adam01_1-1691763326652.png

 

Any help would be much appreciated

1 ACCEPTED SOLUTION
Adam01
Advocate I
Advocate I

Never mind! I've just figured out that the TOTALMTD has an optional Filter at the end of the function that allows to filter to specific [Day of Week] values:

TOTALMTD (
    [Amount],
    'Calendar'[Date],
    'Calendar'[DayOfWeekValue] = 6
)

View solution in original post

1 REPLY 1
Adam01
Advocate I
Advocate I

Never mind! I've just figured out that the TOTALMTD has an optional Filter at the end of the function that allows to filter to specific [Day of Week] values:

TOTALMTD (
    [Amount],
    'Calendar'[Date],
    'Calendar'[DayOfWeekValue] = 6
)

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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