Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
I have connected data from a sharepoint list into PowerBI. The dates in the sharepoint list are in date format, but when PowerBI ingests it converts them to date time. It also takes off 1 hour in some cases, I think this is related to daylight savings as it does this for dates from late March to end October. I think it might be trying to remove daylight saving from the dates in that period.
Does anyone know how I can stop PowerBI doing this? It means that some dates are different between the list and powerBI dashboard.
Thanks
Rob
Oh, its already a datetime type. You could try adding a timezone to the datetime using DateTime.AddZone([Date], 0, 0) which would convert it to UTC.
Thanks, but this leaves times unaffacted. E.g. 07/10/2020 23:00, it converts to the same date time. In the source data in sharepoint this appears as 08/10/2020.
Just to point out I have many date fields that PowerBI is making this 'auto-correction' to, so ideally I would prevent it from doing that. Rather than transofrming every column individually in PowerBI.
You can manually convert the value to datetime (which should avoid this issue) with:
[DateColumn] & #time(0, 0, 0)
Thanks for your response.
The code doesn't work because the field is already in Date Time format. PowerBI ingests as date time.
I can extract the date only from the date time column, but this gives me the day before the actual date as entered in sharepoint for March to October dates.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
21 | |
20 | |
10 | |
10 | |
10 |