Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be 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

Reply
tb92
Frequent Visitor

Population Percentage Increase Year On Year

Hello, I have the following data set for population percentage increase (Year on Year); 

 

YearPercentage Growth

2023

0.81%
20240.77%
20250.68%

 

With a starting population in 2022 of 1000, how do I acheive the desired outcome ? :

 

Initial Value (2022)1000 
   
YearPercentage GrowthResult

2023

0.81%1008.1
20240.77%1015.862
20250.68%1022.77

 

Where the population is increasing by a given percentage each year (based on the previous years value)?

 

Thanks

 

1 ACCEPTED SOLUTION
DataInsights
Super User
Super User

@tb92,

 

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

 

DataInsights_0-1708441280337.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
DataInsights
Super User
Super User

@tb92,

 

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

 

DataInsights_0-1708441280337.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Worked perfectly, thank you! 😀

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.