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.
Hi,
I'm trying to calculate the CAGR rate using power query but running into a brick wall! In PowerBi I believe this is the correct formula...
CAGR = ([Ending Value]/[Beginning Value])^(1/[# of Years])-1
....but in Excel, Power Query doesn't seem to recognise the ^ symbol. Has anyone had any success calculating CAGR through Power Query before, can't find much about it online!
Thanks
Solved! Go to Solution.
Found a solution, for anyone else who may ever be looking for one!
Used the Number.Power function under the Scientific option and just changed the formula
Table.AddColumn(#"Removed Columns1", "Power", each Number.Power([End]/[Start], 1/[CAGR Yrs])-1, Int64.Type)
Found a solution, for anyone else who may ever be looking for one!
Used the Number.Power function under the Scientific option and just changed the formula
Table.AddColumn(#"Removed Columns1", "Power", each Number.Power([End]/[Start], 1/[CAGR Yrs])-1, Int64.Type)
This looks fine except for Int64.Type. I don't think your CAGR will always be an integer.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
100 | |
54 | |
21 | |
12 | |
11 |