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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Himanshu_1306
Helper V
Helper V

YOY%

Hi All,

 

I'm stuck on an issue where my YOY% is not coming correct.

 

Calculation used: 

 

YOY % Churn Lost = DIVIDE(SUM(AGGR_LAND_EXPAND_VIEW[PLAN_CHURN_LOST]),CALCULATE(SUM(AGGR_LAND_EXPAND_VIEW[PLAN_CHURN_LOST]),SAMEPERIODLASTYEAR(AGGR_LAND_EXPAND_VIEW[DATE].[Date])))-1

 

Himanshu_1306_0-1669375401981.png

 

Current Month End Number i.e Oct'2022 = ($5.54M)

Oct'2021 Number = ($3.15M)

 

Himanshu_1306_1-1669375544935.png

 

Himanshu_1306_2-1669375661414.png

 

So ideally the % change should be somewhere around 75% but not sure why my calculation showing it as 115%.

 

Any help here?

 

Regards,

Himanshu

 

2 REPLIES 2
FreemanZ
Super User
Super User

As Time Intelligence Function, SAMEPERIODLASTYEAR is supposed to take argument from Date columns from Date table. Supposing you already have a Date table, try to change the measure to:
 
YOY % Churn Lost =
DIVIDE(
    SUM( AGGR_LAND_EXPAND_VIEW[PLAN_CHURN_LOST]),
    CALCULATE(
        SUM(AGGR_LAND_EXPAND_VIEW[PLAN_CHURN_LOST]),
        SAMEPERIODLASTYEAR('Date'[Date])
    )
)-1

No luck, its giving the same value i.e 115%.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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