Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
My data has no date column and has a month column(Jan, Feb, Mar...Dec) and a year column respectively, can I transform it with DAX?
For example
Month Year
| Jan | 2022| --> 1/1/2022
Thanks
Ryan
Solved! Go to Solution.
Hi, @RyanLau
You can try the following methods.
Date = DATEVALUE('Table'[Year]&"/"&'Table'[Month]&"/"&"1")
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @RyanLau
You can try the following methods.
Date = DATEVALUE('Table'[Year]&"/"&'Table'[Month]&"/"&"1")
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Charlotte,
It really works, many thanks!
Regards
Ryan
combine date and year column then change the data type to Date
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
118 | |
79 | |
47 | |
45 | |
32 |
User | Count |
---|---|
172 | |
90 | |
66 | |
46 | |
45 |