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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply

Cumulative Total for each Quarter

Hello,

 

I need help to calculate Cumulative total for each quarter.

 

Qtrhelp1.PNGqtrhelp2.PNG

 

I had tried this measure 

cumm1 = TOTALQTD([Revenue$],'Calendar'[Date])
I need to quarter partition for cumulative sum means from next quarter starting date again cumulative need to start.
 
In the above image Date and Fiscal Quarter coming from the Date table and Revenue is from a different table.
 
Could anyone please help on this.
 
Thank You
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @tulasi_pbi1988 ,

 

Try this calculated column.

 

Cummulative = CALCULATE(
        SUM(Sheet7[Revenue]),
        FILTER(
            Sheet7,
            Sheet7[FY and Q]=EARLIER(Sheet7[FY and Q])
            && Sheet7[ Date] <= EARLIER(Sheet7[ Date]
            )
            ))

Let me know if this works.

 

Thanks,

Tejaswi

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @tulasi_pbi1988 ,

 

Try this calculated column.

 

Cummulative = CALCULATE(
        SUM(Sheet7[Revenue]),
        FILTER(
            Sheet7,
            Sheet7[FY and Q]=EARLIER(Sheet7[FY and Q])
            && Sheet7[ Date] <= EARLIER(Sheet7[ Date]
            )
            ))

Let me know if this works.

 

Thanks,

Tejaswi

Anonymous
Not applicable

Hi @tulasi_pbi1988 ,

 

Was this solutions useful? 

 

~ Tejaswi

 

Hi @Anonymous ,

 

Thank You,

Yes, it is useful.

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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