Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I have had a PBI Desktop model open and just imported some CSV data. After linking the date fields in this data to my Dates table I created it changed the year in all of my date records to 1905 yet the source date from which I built my year calculation has the correct year.
This makes no sense to me. Any suggestions on what may have happened? Other pbx files I am working with are fine but this file updated the year for all dates to 1905. I have tried to delete and add the column again but the same result. I'm confused.
Solved! Go to Solution.
Hi @Dalla_Terra ,
This may be due to incorrect data type, if the data type of the year column is date, it will show the unexpected value.
You should change the data type to whole number, it will show the correct value.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Dalla_Terra ,
This may be due to incorrect data type, if the data type of the year column is date, it will show the unexpected value.
You should change the data type to whole number, it will show the correct value.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
but changing data type to whole number does not work for time intelligence function
Hi,
Could it be linked with some data coming from a MAC or Linux system ? At least for MAC I know you have that 1900 or 1904 start for dates...
Could it be the reason why ?
Have a nice day
@Dalla_Terra I cannot recreate this. I'm on the December 2021 version. Is it possible that the Date column is some weird type with a custom format string? What happens if you use the Month Start or Week Ending column instead just to test?
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
114 | |
92 | |
88 | |
35 | |
35 |
User | Count |
---|---|
153 | |
99 | |
82 | |
63 | |
54 |