Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Cloud for Sustainability | MSM, SDSF,...
Unanswered

Data import error with date and currency columns

(1) ShareShare
ReportReport
Posted on by 56
Hi team,
 
currently we encounter an import issue with date and currency columns when using the power query connector within MSM. 
 
Following scenario:
The raw data come in an excel file and contain a date and a currency column, both are formatted in US formats -> mm/dd/yyy and 1,500.00 €.
I'm using the MSM in german language and when transforming the excel in PQ, both date and currency column are already displayed in german format without doing any adaptions (dd.mm.yyyy and 1.500,00€). Then, when I try to import the data into the MSM I get following error message for the date column:
 
The currency column gets imported but also not in the right format and the values are not correct at all (e.g. the value 970 000 € gets imported as 97 000 000 €).
I already tried to use the locale function within PQ or changing the format first to text and then to date. But I still get the error message. 
 
The current (dirty) workaround:
I split the date column in three columns (day, month and year) using a delimiter and then concatenate it again to month-day-year. But that does not seem stable at all and also does not work for the currency column.
 
Any idea what the issue is and how to solve it? Which date and currency format does the MSM expect when importing via PQ connection?
 
Thanks and cheers,
Lea
 
 
  • Suggested answer
    Data import error with date and currency columns
    So the backend logic we have currently uses the language/format of the region it's running in, so in your case, it looks like it is expecting US format.
    However, Power Query seems to save it transformed to the format of you as the user, which is German, even though the original source file has US format
     
    Easiest workaround is to change your language. But we'll think of how we can address it taking into account the user locale as well.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,472 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,295 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans