This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi Power BI Experts,
How can i reduce the gap between acutal & forecast data in Line chart. I am using date dimension in axis and there is no dates gap between them. How can i show continious data with out displaying the gap. Please help.
Solved! Go to Solution.
Hi @prakash11440278 ,
When you refer that there is no gap you mean that the actuals end in 5th January and the Forecast in 6 of January?
In this case you need to create a measure for the forecast to make the connection depends on how you have the calculation and the model on my case I have
forecast adjusted =
VAR maximumactual =
MAXX ( FILTER ( ALL ( 'Table' ), 'Table'[Actuals] > 0 ), 'Table'[Date] )
RETURN
IF (
SELECTEDVALUE ( 'Table'[Date] ) = maximumactual,
SUM ( 'Table'[Actuals] ),
SUM ( 'Table'[Forecast] )
)
In this case I pick up the maximum date of actuals and for that date I return the actuals for any other date I return the forecast final result below:
The only thing is that on the specific day you have both values on the tooltip for that day.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @prakash11440278 ,
When you refer that there is no gap you mean that the actuals end in 5th January and the Forecast in 6 of January?
In this case you need to create a measure for the forecast to make the connection depends on how you have the calculation and the model on my case I have
forecast adjusted =
VAR maximumactual =
MAXX ( FILTER ( ALL ( 'Table' ), 'Table'[Actuals] > 0 ), 'Table'[Date] )
RETURN
IF (
SELECTEDVALUE ( 'Table'[Date] ) = maximumactual,
SUM ( 'Table'[Actuals] ),
SUM ( 'Table'[Forecast] )
)
In this case I pick up the maximum date of actuals and for that date I return the actuals for any other date I return the forecast final result below:
The only thing is that on the specific day you have both values on the tooltip for that day.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCheck out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 24 | |
| 23 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 61 | |
| 35 | |
| 30 | |
| 23 | |
| 22 |