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
Hello, how can I convert these columns to date? for example: year column = 2009 month column = 12, I want the date 01/12/2019 like this for everyone.
Thank you.
In Power Query, add a new Custom Column with this code
= Date.From("1/" & Text.From([CDG_MES]) & "/" & Text.From([CDG_ANNO]))
You can also do it in DAX with this
Date = DATE([CDG_ANNO], [CDG_MES], 1)
regards
Phil
Proud to be a Super User!
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 |
---|---|
115 | |
113 | |
105 | |
95 | |
58 |
User | Count |
---|---|
174 | |
147 | |
136 | |
102 | |
82 |