The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I read couple of articles saying the two methods look like the same (odata versus sharepoint connector).
I have one concerned and would love hearing your advices on this :
- I created a dashboard with sharepoint list (fill by a power app)
- I used the connector and for one of my data field (date), I see March 17th
- I tried the odata connection and the result for the same row is March 18th
The real data is March 18th (checked it in the sharepoint list and in the power app).
I don't really understand why I have such a gap between the two information. Any of you already experienced such an issue?
Thanks
Solved! Go to Solution.
Hi @Anonymous ,
As @ mahoneypat mentioned, SharePoint stores datetime field values in UTC format. When you get datetime from SharePoint, you can use DateTimeZone.ToLocal() function in power query to transform the datetime to your local time to compare it with the OData datatime to check.
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I don't know if this is the case, but one thing to check is if one is returning UTC time (how SharePoint stored datetime info) and the other is returning local time.
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Hi Pat,
This is something I thought about but I have to say I don't know where to check such parameter on sharepoint list. In the field setting I don't see this information but maybe it is somewhere else...?
Hi @Anonymous ,
As @ mahoneypat mentioned, SharePoint stores datetime field values in UTC format. When you get datetime from SharePoint, you can use DateTimeZone.ToLocal() function in power query to transform the datetime to your local time to compare it with the OData datatime to check.
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Is that was is loading to the data model? Sometimes Power Query will show cached data in the display, but the actual data will load properly as the cache isn't used during the load.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingThank you Edhans, I don't think it comes from the cache because I checked all the possible scenario before, after loading and always same result: gap in date!