Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi all,
This is my first question to the forum, so be gentle...
I'm relatively new to Power BI and have a bunch of CSVs i'm consolidating into a report. Occasionally one of the date columns contains serial format (e.g., 45678) dates. At the same time, this column also contains dates (correctly) in the format dd/mm/yyyy. Example shown here.
In Query Editor, when i try to reformat the column to "Short Date", it doesn't do anything and i'm still presented with "Error - We couldn't parse the input provided as a Date value". In the CSV file, the serial is coming through as "General" format. But the same error happens if the serial is "Number".
Replace Errors won't help, because I want to keep the underlying date, and don't want to replace it with a static value because there could be other reasons for errors in this column too, not just the serial date format.
Any help would be appreciated!
Thanks
Adam
Solved! Go to Solution.
Hi,
If no transformation works, you could create a new column by using:
#date(1900,1,1)+#duration([Column4]-2,0,0,0)
From this thread: https://community.powerbi.com/t5/Desktop/Date-serial-to-date-format/m-p/526307
Hi,
If no transformation works, you could create a new column by using:
#date(1900,1,1)+#duration([Column4]-2,0,0,0)
From this thread: https://community.powerbi.com/t5/Desktop/Date-serial-to-date-format/m-p/526307
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
72 | |
70 | |
37 | |
29 | |
26 |
User | Count |
---|---|
91 | |
49 | |
45 | |
38 | |
37 |