The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello Everyone.
I would like to prepare measures that will allow me to create so-called projections for the future based on historical data. Currently I have:
- a base month from which I want to start calculations ( 2022-01 )
- the current indicator, which is updated daily
- the % growth rate, which represents whether the trend is upward or not, to calculate this I used the following measure:
Now I would like to create a measure that, based on the change that occurred between the base month and the current rate, will predict what " Capacity will have in 2023-01. Based on the result of 2023-01, it will predict what the result ratio will be in the following year, etc. etc. ( forecast up to a maximum of 5 years ).
Is it possible to create this type of measures in Dax ?
Regards Piotr.
Solved! Go to Solution.
See attached for a pedestrian implementation. It includes a calendar table even though that is not strictly required.
Sounds like you are looking for PRODUCTX ?
Hi.
I think that maybe be a solutions for me.
Could you help me to create the code that will calculate this, based on my previous calculations.
Regards Piotr
Please provide sanitized sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.
Hello, below is a sample of the data
Start Point ( January 2022 ) | Current Point ( August 2022) | Growth Rate % | January 2023 | January 2024 | January 2025 | January 2026 |
1952 | 2006 | 2,77% | 2011 | 2040 | 2050 | 2060 |
259.5 | 256.5 | -1,16% | 250 | 260 | 270 | 285 |
348 | 406 | 16,67% | 410 | 420 | 450 | 470 |
First 3 columns - Calculation based on the data
Last 4 columns - Manually sample data as expected result
I want to create a calculation that based on the value of " Growth Rate % " will calculate my probable result in 2023, while based on the value of 2023 will calculate my result for 2024, and so on and so forth. The only value that will change daily is " Current Point ", since it will be updated daily and its change should also be reflected for the values for 2023, 2024, 2025, 2026. " Start Point ", will be set once a year and will not change during the 12 months. I don't know if my approach to the topic is correct or not ?, maybe it will just be simpler to use the built-in forecasting model that is in PowerBi.
Regards Piotr
User | Count |
---|---|
16 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
8 | |
8 |