Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hello!
Solved! Go to Solution.
Hi,
In Microsoft Power BI, a line chart always connects the available points unless you explicitly introduce blank values or segment the series.
One option would be to use categorical, instead of continuous x-axis type.
Second option is to create a measure that breaks the line when the time gap is too large. The trick is returning BLANK() when the gap exceeds a threshold.
Value_NoInterpolation =
VAR CurrentTime = MAX(Data[Timestamp])
VAR PrevTime =
CALCULATE(
MAX(Data[Timestamp]),
FILTER(
ALL(Data),
Data[Timestamp] < CurrentTime
)
)
VAR GapMinutes =
DATEDIFF(PrevTime, CurrentTime, MINUTE)
RETURN
IF(
GapMinutes > 60, -- threshold you choose
BLANK(),
MAX(Data[Value])
)
HI @Spurgeon74,
Checking in to see if your issue has been resolved. let us know if you still need any assistance.
Thank you.
Hi @Spurgeon74.,
Have you had a chance to review the solution we shared by @zenisekd? If the issue persists, feel free to reply so we can help further.
Thank you.
Hi,
In Microsoft Power BI, a line chart always connects the available points unless you explicitly introduce blank values or segment the series.
One option would be to use categorical, instead of continuous x-axis type.
Second option is to create a measure that breaks the line when the time gap is too large. The trick is returning BLANK() when the gap exceeds a threshold.
Value_NoInterpolation =
VAR CurrentTime = MAX(Data[Timestamp])
VAR PrevTime =
CALCULATE(
MAX(Data[Timestamp]),
FILTER(
ALL(Data),
Data[Timestamp] < CurrentTime
)
)
VAR GapMinutes =
DATEDIFF(PrevTime, CurrentTime, MINUTE)
RETURN
IF(
GapMinutes > 60, -- threshold you choose
BLANK(),
MAX(Data[Value])
)
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 20 | |
| 18 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 50 | |
| 38 | |
| 31 | |
| 27 |