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.
Hello everyone,
I have a column that has dates of different types.
Example: 01/15/2020 and 1/15/20
When I try to pass this column to the date type, PowerBi shows rows with an error, because it is unable to convert all the rows in this column to date, due to the difference in the pattern in the dates. How can I work around this problem?
Hi @Anonymous ,
Is your issue solved now?
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
Hi,
I don't think it is because of date of different format. I think it is because of the entries which look like dates are not dates at all. If your systems settings are set to dd/mm/yyyy format, then 1/15/2020 will not be recognised as a date at all.
Hi @Anonymous : To me this looks like data cleansing/Formatting issue. You might first need to clean and analyse your data
Easy way to do is in Power Query Mode > Select Table > View > Enable Column Distribution, Enable Column Profile and Enable Column Quality
Then you will need to fix any errors with the data. M code will be generated in the backend
Unfortunately there is no other way of automating data cleansing, Not atleast i am aware of.
Hope this helps.
Cheers,
-Namish B
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
146 | |
85 | |
66 | |
52 | |
47 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |