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,
I have a Data Source that contains YEAR, MONTH columns but there is no DAY column.
I wanted to create a DATE column using Query Editor/M language:
1. Add new column
2.Populate it with Dates by using 1 as DAY for all the rows in the table.
End result Should be like : 2018/1/1 (Year/Month/Day)
Any help on this much appreciated, thanks in advance !
Solved! Go to Solution.
Thanks
Hi everyone,
I do have the same problem but face further issues here.
Following your instructions, my output still shows an "Error".
= Table.AddColumn(AddCol_Day, "Date", each #date( [Year], [Month],1))
Columns Year and Month are formatted as Int64.Type.
Any hints?
@yodha , refer if this can help
https://radacad.com/create-a-date-dimension-in-power-bi-in-4-steps-step-1-calendar-columns
Thank you so much!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
146 | |
87 | |
66 | |
52 | |
46 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |