Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I literally forgot how to do this, please help.
I have a table that has 2018-2022 Year sales.
I created a whatifparameter from 0-100% to be the CAGR value. Focusing only on 2022 sales, I want the user to be able to select their desired CAGR % and see what the how it impacts 2023-2025 forecasted sales.
Forecasted Sales is dax table using Union Row...example below
Solved! Go to Solution.
Hi @7ballp25
Here is a sample file with the solution https://we.tl/t-UvJsRpmiYd
Forcasted Sales =
VAR LastAvialableYear =
MAX ( Data[Year] )
VAR LastAvailableSales =
CALCULATE ( SUM ( Data[Sales] ),'Data'[Year] = LastAvialableYear )
VAR CurrentYear =
MAX ('New Data'[Year] )
VAR YearDifference =
CurrentYear - LastAvialableYear
VAR SelectedPercent =
SELECTEDVALUE ( Parameter[Selected %] )
RETURN
LastAvailableSales * POWER ( 1 + SelectedPercent, YearDifference )
Hi @7ballp25
Here is a sample file with the solution https://we.tl/t-UvJsRpmiYd
Forcasted Sales =
VAR LastAvialableYear =
MAX ( Data[Year] )
VAR LastAvailableSales =
CALCULATE ( SUM ( Data[Sales] ),'Data'[Year] = LastAvialableYear )
VAR CurrentYear =
MAX ('New Data'[Year] )
VAR YearDifference =
CurrentYear - LastAvialableYear
VAR SelectedPercent =
SELECTEDVALUE ( Parameter[Selected %] )
RETURN
LastAvailableSales * POWER ( 1 + SelectedPercent, YearDifference )
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
12 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
19 | |
14 | |
11 | |
10 | |
10 |