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
Elisa_E
Helper I
Helper I

CAGR Dax formula using measures

Hello,

 

I am trying to show a dynamic CAGR measure and I have the DAX expressions on how to do this, however I need to use measures instead of columns as my beginning and ending values. Any help would be appreciated.

 

Thank you.

 

1 ACCEPTED SOLUTION

@Elisa_E

You can replace it with your measure as a

Initial value: CALCULATE( [measure name],FILTER('Global GDP','Global GDP'[Year]-MIN('Global GDP'[Year])))



________________________

Did I answer your question? Mark this post as a solution, this will help others!.

Click the Thumbs-Up icon on the right if you like this answer 🙂

YoutubeLinkedin

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

5 REPLIES 5
Fowmy
Super User
Super User

@Elisa_E 

You refer this article on CAGR measure:

https://powerbi.tips/2016/05/measures-calculate-cagr/

Let me know if you have any difficulty with your sample data and the expected results.

________________________

Did I answer your question? Mark this post as a solution, this will help others!.

Click on the Thumbs-Up icon on the right if you like this reply 🙂

YouTube, LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Thank you for the reply. I am trying to set up the measures as indicated in the post, but am having trouble with the Beginning Value and End Value as the values I need to input are measures and not columns like ('World GPD [GDP]) in the example below.

Is there a way I can set this up differently? Thanks again.

 

Beginning Value = CALCULATE(SUM('World GDP'[GDP]),FILTER('World GDP','World GDP'[Year]=MIN('World GDP'[Year])))

 

 

Thanks - that works perfectly!

@Elisa_E

You can replace it with your measure as a

Initial value: CALCULATE( [measure name],FILTER('Global GDP','Global GDP'[Year]-MIN('Global GDP'[Year])))



________________________

Did I answer your question? Mark this post as a solution, this will help others!.

Click the Thumbs-Up icon on the right if you like this answer 🙂

YoutubeLinkedin

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

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.