Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
I have actual and forecast numbers that I am working with and each week and over time actuals will replace the forecast values for the line graph. I want it to be the same line where actuals should be black and forecast should be a dotted line. Is there a way to do conditional line style where certain data points we dont have actuals for ? I dont know if this is possible maybe there are 3rd party visuals out there that can do it? Here is a screen shot of what I am trying to do.
I basically layered multiple line charts on top of each other to make this effect.... is there another way ?
Solved! Go to Solution.
Hi @mws5872 ,
On this case you need to add two measures in orde to have two different lines and then make the individual value for each one.
Something similar to:
Actuals = IF(Max(Table[Date])<= Today(), sum('Table'[Actual]))
Forecast measure = IF(Max('Table'[Date])= Today(),sum('Table'[Actual]), IF(Max('Table'[Date])> Today(),sum('Table'[Forecast])))
Be aware of the forecast line that you need to add on the current date the actuals values this is for the lines to be linked otherwise they will appear with a break.
Then just do a customized format of the shapes for each measure.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @mws5872 ,
On this case you need to add two measures in orde to have two different lines and then make the individual value for each one.
Something similar to:
Actuals = IF(Max(Table[Date])<= Today(), sum('Table'[Actual]))
Forecast measure = IF(Max('Table'[Date])= Today(),sum('Table'[Actual]), IF(Max('Table'[Date])> Today(),sum('Table'[Forecast])))
Be aware of the forecast line that you need to add on the current date the actuals values this is for the lines to be linked otherwise they will appear with a break.
Then just do a customized format of the shapes for each measure.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCheck out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!