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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
lukaspetkevic
New Member

Forecasting predictions for current year

Hello everyone,


Trying to predict sales for current year. Already made measure: prediction (sales/number of days from the beggining of the year*365) - current sales.

 

I want to add this measure to my visuals, but the problem is, that calculations are made for all the older years, and i cant filter out only current year value (maybe it is realationship problem - invoice date -> auto calendar). 

 

Idea what i want to do is this:

 

lukaspetkevic_0-1663066616786.png

 

Thank you for help!

 

1 REPLY 1
johnt75
Super User
Super User

Include in your measure a check on the currently selected year, something like

Forecast measure = IF ( SELECTEDVALUE('Date'[Year]) = YEAR(TODAY()), 
actual measure definition
)

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.