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
AkashSD
Regular Visitor

updating running total by month quick measure dax code so that calculation starts from April

I used quick measure to create running total by month (Value- 'Recognized TCV(converted),  Running Field- 'Expected Date of BO') and result came as below.How should i update the code so that running total starts in April and end by March.  as you can see in image below, total starts from January which we want to change to April

 

CALCULATE(
    SUM('Opportunity'[Recognised TCV(converted)]),
    FILTER(
        CALCULATETABLE(
            SUMMARIZE(
                'Opportunity',
                'Opportunity'[Expected_BO_date__c].[MonthNo],
                'Opportunity'[Expected_BO_date__c].[Month]
            ),
            ALLSELECTED('Opportunity')
        ),
        ISONORAFTER(
            'Opportunity'[Expected_BO_date__c].[MonthNo], MAX('Opportunity'[Expected_BO_date__c].[MonthNo]), DESC,
            'Opportunity'[Expected_BO_date__c].[Month], MAX('Opportunity'[Expected_BO_date__c].[Month]), DESC
        )
    )
)

 

AkashSD_0-1689257376198.png

 

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

@AkashSD This approach might provide you with greater flexibility:



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler, Thanks for the response.
I do not have problem with calculate function, the code is running fine. While the code in your video might also work, it will still run from Jan to Dec.  I am looking for way to modify the code so that running total runs from Apr-Mar and not Jan-Dec

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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