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

How to get Last Quarter

Hi All,

 

I have used the below calculation to get the lastest churn lost for my data.

Now I need to get the last quarter churn lost but my calculations are not working.

Any help in this? I have Fiscal quarter in my dataset

 

 

Latest Churn Lost =
VAR LastDateGlobal =
    CALCULATETABLE (
        LASTNONBLANK ( AGGR_ACCOUNT_ARR_MONTHEND_SNAPSHOT[DATE_KEY], 0 ),
        ALLSELECTED ( )
    )
RETURN
    CALCULATE ( SUM ( AGGR_ACCOUNT_ARR_MONTHEND_SNAPSHOT[PLAN_CHURN_LOST] ), KEEPFILTERS ( LastDateGlobal ) ) + 0
 
 
Himanshu_1306_0-1667975991115.png

 

1 ACCEPTED SOLUTION
v-yadongf-msft
Community Support
Community Support

Hi @Anonymous ,

 

This is my test table:

vyadongfmsft_0-1668065829949.png

 

Please create a measure like below shown:

Last Quarter Churn Lost = CALCULATE([Latest Churn Lost],FILTER('Table','Table'[Fascial Quarter] = QUARTER(TODAY()) && YEAR('Table'[Fascial year month]) = YEAR(TODAY()) - 1))

 

You will get the last quarter churn lost:

vyadongfmsft_1-1668065928166.png

Best regards,

Yadong Fang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yadongf-msft
Community Support
Community Support

Hi @Anonymous ,

 

This is my test table:

vyadongfmsft_0-1668065829949.png

 

Please create a measure like below shown:

Last Quarter Churn Lost = CALCULATE([Latest Churn Lost],FILTER('Table','Table'[Fascial Quarter] = QUARTER(TODAY()) && YEAR('Table'[Fascial year month]) = YEAR(TODAY()) - 1))

 

You will get the last quarter churn lost:

vyadongfmsft_1-1668065928166.png

Best regards,

Yadong Fang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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
Top Kudoed Authors