The issue you're encountering with date format during data import from Dataverse into Customer Insights - Data (CI-D) via the Power Query connector is a common challenge when dealing with localized date formats. Here's an explanation of why this happens and a set of recommendations to resolve it.
CI-D's Expected Date Format:
M/d/yyyy h:m:s a
) or,yyyy-MM-ddTHH:mm:ssZ
for UTC).dd.MM.yyyy
), but CI-D struggles to interpret it correctly when loading the data.Locale Mismatch:
Dataverse DateTime Format:
yyyy-MM-ddTHH:mm:ssZ
), but the Power Query connector may interpret these values as localized based on the regional settings.The safest approach is to transform the datetime column in Power Query to match CI-D’s expected ISO 8601 format. Here’s how to do it:
StartdatoMedlemsskap
).powerquery
This transformation ensures that CI-D will interpret the datetime correctly.
If you want to continue using the localized Norwegian format, ensure the data is interpreted properly in Power Query:
While this may work, CI-D can still encounter issues if it doesn’t understand the localized format. Using ISO 8601 (Solution 1) is generally more reliable.
If you have access to Dataverse, consider pre-transforming the date format at the source. For example:
Sometimes the issue lies in how the Power Query connector interprets and applies transformations. To debug:
powerquery
For more information on handling dates in Power Query and Dataverse, you can refer to:
André Arnaud de Cal... 291,897 Super User 2024 Season 2
Martin Dráb 230,573 Most Valuable Professional
nmaenpaa 101,156