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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
jeyjey344
Helper I
Helper I

Power Bi gets wrong date from SHP list

Hi,

 

I have a problem that powerBi gets date from SHP list in a wrong timezone.

 

In shp - i have 21.04.2020

But in powerBi I can see 20.04.2020 23:00 

 

Any quick fix? 

3 REPLIES 3
Anonymous
Not applicable

HI @jeyjey344,

It seems like UTC time conversion and daily time saving related issue, I'd like to suggest you take a look at the following blog to know about these scenarios:

Convert UTC to Local Time with Daylight Savings Support in Power BI 

Regards,

Xiaoxin Sheng

 

 

If your powerBi gets wrong date from sharepoint list ( due to a diferent time zone) - you can convert that date by adding new column with this formula:

 

DateTimeZone.RemoveZone(
  DateTimeZone.ToLocal(
     DateTime.AddZone([Data zadania], 0)
   )
)

 

Cheers

jeyjey344
Helper I
Helper I

So seems like PowerBi gets UTC time. I created custom column:

 

[Date] + #duration(0,2,0,0) - by that I can get correct time. The problem is it is only true for half of the year...

 

By the end of the march we moved our time by 1 hour. Should I use "IF" that adds 1 or 2 hour in diferent part of the year? Or is there a better option?

 

This one seems to be incorrect:

 

if [Date] > "29.03.2020 23:00:00" then [Date] + #duration(0,2,0,0) else [Date] + #duration(0,1,0,0)

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors