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
ilcaa72
Helper IV
Helper IV

Show 3 year growth measure over time

I created a 3 year CAGR measure, 'Compouned Average Growth Rate'

 

3yr growth = calculate((divide([2016 subs],[2011 subs])^(1/3)-1))

 

but i have data from 1995 to 2016, so I want to see the 3 yr growth rate over time... so first value would be 1998. next would be 2001, etc

 

i know I hard coded the dates in my measure, how would i reference the dates in my new scenerio?  thanks

 

2 ACCEPTED SOLUTIONS
v-jiascu-msft
Employee
Employee

Hi @ilcaa72,

 

Please check out the demo in the attachment.

CAGR =
VAR currentYearAmount =
    SUM ( Table1[Value] )
VAR threeYearLater =
    CALCULATE (
        SUM ( Table1[Value] ),
        PARALLELPERIOD ( 'Calendar'[Date], 3, YEAR )
    )
RETURN
    IF (
        ISBLANK ( threeYearLater ),
        BLANK (),
        POWER ( DIVIDE ( threeYearLater, currentYearAmount, 0 ), 1 / 3 )
            - 1
    )

Best Regards,

Dale

Community Support Team _ Dale
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

thanks Dale,

 

i had to make sum small adjustments (YEAR should of been -3, not 3) and formula is (ending value/beg value)

 

besides that, it was perfect to calculate the CAGR running total.

 

View solution in original post

2 REPLIES 2
v-jiascu-msft
Employee
Employee

Hi @ilcaa72,

 

Please check out the demo in the attachment.

CAGR =
VAR currentYearAmount =
    SUM ( Table1[Value] )
VAR threeYearLater =
    CALCULATE (
        SUM ( Table1[Value] ),
        PARALLELPERIOD ( 'Calendar'[Date], 3, YEAR )
    )
RETURN
    IF (
        ISBLANK ( threeYearLater ),
        BLANK (),
        POWER ( DIVIDE ( threeYearLater, currentYearAmount, 0 ), 1 / 3 )
            - 1
    )

Best Regards,

Dale

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

thanks Dale,

 

i had to make sum small adjustments (YEAR should of been -3, not 3) and formula is (ending value/beg value)

 

besides that, it was perfect to calculate the CAGR running total.

 

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.