Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi guys,
Power BI neewbie here ... and I am in need of some help. I have a dataset with a "month" column which has short month names (jan, feb, mar, apr, may etc...) ONLY as values. These are in Text format and I need to change them to date format.
What is the best way to get this done? I can't seem to just change the type to date because it will give me errors...
Thx in advance for all help!!
Solved! Go to Solution.
can you guess the year ?
I've created a calculated column which has a year hard coded, it combines the year with the text month name and transforms them into a date
Every time I answer a question I learn something
I'm a personal Power BI trainer
Help when you know. Ask when you don't!
Do you also have a column that tells what year you are in ?
Help when you know. Ask when you don't!
No unfortunately not.. I literally only have this column to work with...
can you guess the year ?
I've created a calculated column which has a year hard coded, it combines the year with the text month name and transforms them into a date
Every time I answer a question I learn something
I'm a personal Power BI trainer
Help when you know. Ask when you don't!
Thx Ken,
This solution indeed works, however I can't guess the year... This dataset runs across two year periods... so hardcoding the year isn't an option.
I am however going to keep this in mind and see if I can tweak it to work 🙂
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
94 | |
75 | |
63 | |
62 |
User | Count |
---|---|
143 | |
104 | |
104 | |
80 | |
66 |