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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Cumulative total, missing month

Hi

 

I have a cumulative total bar chart comparing proposals sent from 2021 to 2022. In September there were no proposals sent. How do you carry accross the same value for August so that September is not left blank?

Neil24_2-1666868833897.png

Running total 2022 = CALCULATE([Gross Value for 2022 running total in Month], FILTER(ALL('All Deals'[Proposal Sent Date]), 'All Deals'[Proposal Sent Date]<=MAX('All Deals'[Proposal Sent Date])))

 

Thank you

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @Anonymous 
I don't think this can be achieved without the use of a Date Table. Using a Date Table you can slice by [Month Name]

Running total 2022 new =
COALESCE (
    [Running total 2022],
    CALCULATE (
        [Running total 2022],
        ALL ( 'Date'[Month Name] ),
        'Date'[YearMonth Rank]
            = MAX ( 'Date'[YearMonth Rank] ) - 1
    )
)

 

View solution in original post

2 REPLIES 2
tamerj1
Super User
Super User

Hi @Anonymous 
I don't think this can be achieved without the use of a Date Table. Using a Date Table you can slice by [Month Name]

Running total 2022 new =
COALESCE (
    [Running total 2022],
    CALCULATE (
        [Running total 2022],
        ALL ( 'Date'[Month Name] ),
        'Date'[YearMonth Rank]
            = MAX ( 'Date'[YearMonth Rank] ) - 1
    )
)

 

@Anonymous 
You can use the [Month Number] column but that won't work in case the blank month is January and you want to return December of the previous year.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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.