March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello, I have the following data set for population percentage increase (Year on Year);
Year | Percentage Growth |
2023 | 0.81% |
2024 | 0.77% |
2025 | 0.68% |
With a starting population in 2022 of 1000, how do I acheive the desired outcome ? :
Initial Value (2022) | 1000 | |
Year | Percentage Growth | Result |
2023 | 0.81% | 1008.1 |
2024 | 0.77% | 1015.862 |
2025 | 0.68% | 1022.77 |
Where the population is increasing by a given percentage each year (based on the previous years value)?
Thanks
Solved! Go to Solution.
Try this measure:
Calculated Population =
VAR vStartingPopulation = 1000
VAR vCurrentYear =
MAX ( Population[Year] )
VAR vResult =
vStartingPopulation
* PRODUCTX (
FILTER ( ALLSELECTED ( Population ), Population[Year] <= vCurrentYear ),
1 + Population[Percentage Growth]
)
RETURN
vResult
Proud to be a Super User!
Try this measure:
Calculated Population =
VAR vStartingPopulation = 1000
VAR vCurrentYear =
MAX ( Population[Year] )
VAR vResult =
vStartingPopulation
* PRODUCTX (
FILTER ( ALLSELECTED ( Population ), Population[Year] <= vCurrentYear ),
1 + Population[Percentage Growth]
)
RETURN
vResult
Proud to be a Super User!
Worked perfectly, thank you! 😀
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |