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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

Forcasting the values (2023-2028), based on 2022 data

Hi Power BI community,

I need to forcast the values for year 2023 to 2028. I have the value of  year 2022

The calculations I want to used is;

Forcastvalue of 2023 = 2022[Value]x(1+20%)
Forcastvalue of 2024 = [Forcastvalue of 2023]x(1+20%) and so on till 2028

I have created the DateTable from 2019-2028 for the forcast and I want to use that table as filter/slicer. 
So, if i click on 2022 it must show current year values and when I click on 2023 and next years, it must show the forcasted values based on above calculations

Thank you

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

My easy sample is as below.

RicoZhou_0-1659939831061.png

Year = GENERATESERIES(2022,2028,1) 

Meausre:

Actual and Forecast = 
VAR _Current_Year =
    YEAR ( TODAY () )
VAR _Select_Year =
    SELECTEDVALUE ( 'Year'[Year] )
VAR _DIFF = _Select_Year - _Current_Year
VAR _2022 =
    CALCULATE ( SUM ( 'Table'[Value] ) )
RETURN
    IF (
        _DIFF = 0,
        _2022,
        PRODUCTX ( GENERATESERIES ( 1, _DIFF, 1 ), 1.2 ) * _2022
    )

 Result is as below.

RicoZhou_2-1659939871876.png

 

RicoZhou_1-1659939863945.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

 

My easy sample is as below.

RicoZhou_0-1659939831061.png

Year = GENERATESERIES(2022,2028,1) 

Meausre:

Actual and Forecast = 
VAR _Current_Year =
    YEAR ( TODAY () )
VAR _Select_Year =
    SELECTEDVALUE ( 'Year'[Year] )
VAR _DIFF = _Select_Year - _Current_Year
VAR _2022 =
    CALCULATE ( SUM ( 'Table'[Value] ) )
RETURN
    IF (
        _DIFF = 0,
        _2022,
        PRODUCTX ( GENERATESERIES ( 1, _DIFF, 1 ), 1.2 ) * _2022
    )

 Result is as below.

RicoZhou_2-1659939871876.png

 

RicoZhou_1-1659939863945.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.