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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
efjw
Helper I
Helper I

Data is not getting populated onto line chart

Hi! I am using PostgreSQL data source and want to display data for the last 30 minutes onto a line chart. However, I am not sure why no data points can be seen. 

 

efjw_0-1723433992357.png

 

I want to achieve something like this:

efjw_1-1723434061314.png

 

Thanks for reading!

 

1 ACCEPTED SOLUTION
RossEdwards
Solution Sage
Solution Sage

If I had to guess it is going to be due to UTC.  The best solution I can think of is to have a duplicate of your DateTime field but set to UTC.  Do your filtering on the UTC column but use your localised date/time field used in the graph itself.

 

Power BI, especially in the Service, does everything using UTC datetime for the out of the box features.

View solution in original post

4 REPLIES 4
efjw
Helper I
Helper I

@RossEdwards Thanks!

Anonymous
Not applicable

Hi @efjw ,

Could you please show you a screenshot of your table data, I would like to know if there is time in your datetime column?

My Table View:

vyetonggumsft_0-1723440254308.png

I did another test to include the time in my datetime and the display looks like this:

My Report View:

vyetonggumsft_3-1723440423134.png

Best Regards,

Sunshine Gu

 

@Anonymous Thanks so much for replying! My table has a datetime column but I belive that it was the auto hierarchy that caused the issue! After turning off auto date/time and creating a new report, it works now! 

RossEdwards
Solution Sage
Solution Sage

If I had to guess it is going to be due to UTC.  The best solution I can think of is to have a duplicate of your DateTime field but set to UTC.  Do your filtering on the UTC column but use your localised date/time field used in the graph itself.

 

Power BI, especially in the Service, does everything using UTC datetime for the out of the box features.

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.