Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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!
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
114 | |
95 | |
90 | |
35 | |
35 |
User | Count |
---|---|
154 | |
102 | |
82 | |
64 | |
54 |