cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
monjiju747
Frequent Visitor

How to draw continuous lines with null data?

I have 5 datasets to recored the temperature and humidity at 5 different locations, and each location record it once an hour but different timing. e.g. Site-A records it at every quarter to the hour, Site-B records it at half past every hour. I appended those into 1 query. and draw the line chart and got following. Up to 15:00, there are only outside temperature so I see the line, but after that no lines show up and only dots. But I like each dataset continues smoothly, and like to see only lines in different colors to compare those. 

 

Could someone help solve this? 

 

Regards,

Jun

 

monjiju747_0-1633600757094.png

 

4 REPLIES 4
v-henryk-mstf
Community Support
Community Support

Hi @monjiju747 ,

 

I did the following test and I can't seem to reproduce your problem. Is it possible to provide a test data model (with sensitive information removed) and I will answer you as soon as possible.

 

vhenrykmstf_0-1634007421245.png

 

vhenrykmstf_1-1634007451868.png


Looking forward to your reply.


Best Regards,
Henry


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

Hello Henry,

 

Thanks for your effort here, I sent some data via message, could you take a look at it?

 

Regards,

Jun

amitchandak
Super User
Super User

@monjiju747 , if you column is of data time type(not text), The you should be able to change axis type to continuous

Dear amitchandak,

 

Thanks for your response! My data is not a text, it's a Date/Time. So it's strange. If I remove the time from X axis or show only 1 site data,  it shows only line. 

a) no time in X axis

monjiju747_1-1633696673486.png

b) only Site-C temperature

monjiju747_2-1633696800262.png

 

Regards,

Jun

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors