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
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
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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