Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
I've imported a data set to Power BI Desktop that I do not have any control over (i.e. I can't go into the dataset itself and reformat it). The only "time stamp" the data set contains is a single column formatted as text that contains an abbreviated month. I need to convert this to a date or create a new column that generates a date from this column so that I can create a working relationship with my date table. The new date needs to read as "January 2020" or "February 2020". The data set only contains data for 2020.
Solved! Go to Solution.
Not sure if this was the best way, but I went into PQ Editor and replaced each of the 12 separate values with the full month name and year (e.g. replace "Jan" with "January 2020"), and this enabled Power BI to recognize the values as dates when I tried to convert.
Exactly was I was looking for! . Thanks for sharing.
Not sure if this was the best way, but I went into PQ Editor and replaced each of the 12 separate values with the full month name and year (e.g. replace "Jan" with "January 2020"), and this enabled Power BI to recognize the values as dates when I tried to convert.
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
113 | |
108 | |
104 | |
95 | |
70 |
User | Count |
---|---|
173 | |
134 | |
132 | |
101 | |
95 |