Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
I have 3 columns in my dataset that represent Year, Month and Day. They are call Y, M, D respectice and are all text values. Trying to create a custome column that return a date from these. Tried Date.From(#date([Y],[M],[D])) but getting an error.
= Table.AddColumn(Source, "date", each Date.From(Text.Combine(Record.ToList(_), "/")))
= Table.AddColumn(Source, "Date", each #date(Number.From([Y]),Number.From([M]),Number.From([D])))
| Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
Hi @Anonymous
Create this Calculated column:
Date= DATE(YEAR(Y), MONTH(M), DAY(D))
Mark it as a solution if it answers your question.
Thanks!
@Anonymous ,
Not in the power query.
Create a calculated column...in your table in the data view.
Write the DAX for the column.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 13 | |
| 10 | |
| 10 | |
| 9 | |
| 8 |