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 August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Trying to forecast future sales based on current year's growth

Hi, I have tried several things, and cannot get the data to show up for future dates (returning blank values). Here is my DAX for future forecasting using POWER.

 

IF(SELECTEDVALUE('Calendar Table'[Year]) > YEAR(TODAY()),
CALCULATE(SUM('Sales'[Total Sales]), FILTER('Calendar Table','Calendar Table'[Year]=YEAR(TODAY()))) *
POWER((1+[Currnt YR YOY%]), 5), "N/A")
 
Thank you. 
 
3 REPLIES 3
v-zhangti
Community Support
Community Support

Hi, @Anonymous 

 

Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.

 

Best Regards,

Community Support Team _Charlotte

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

Anonymous
Not applicable

@v-zhangti thank you for your response. Here's sample data. I am expecting PowerBI to provide expected sales for the next 5 years, however it is showing up blank. 

Data   
YearTotal SalesYoY Change 
2018$40,5060.00% 
2019$65,55961.90% 
2020$113,81673.60% 
2021$238,635109.70% 
2022$523,221119.30% 
2023$648,12023.90%(Current YR YOY%)
    
    
Forecast Results  
    
YearMeasure 6  
2018N/A  
2019N/A  
2020N/A  
2021N/A  
2022N/A  
2023N/A  
2024   
2025   
2026   
2027   
2028   
Anonymous
Not applicable

@v-zhangti I should note that the year from my date table is a whole number instead of a date, because it kept putting in "1905" for the date. I suspect that may be part of the problem? But I need the correct year....

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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