Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi, i was going through "design a data model in BI" training course, and came at the part where you can add a custom column by adding an applied step, and use dax in custom column to create the MonthYear column
I have my standard calender table created with 5 columns (date/year/month/week of year/day), and added a new step in my applied step, copied the dax code (i typed it as well but just to be sure i copied, so i can't make typo). BUt i cant get it working :
Column = Table.AddColumn(#"Renamed Columns", "Custom", each [Year] & "-" &[Month])
My last 2 applied steps are :
So i click "custom colum" to insert new column, and i see this
then i use the formula:
but then my column shows value "table" in every cell and i can't change the formate of this new column to "date" type...what am i missing in my steps? Tried several times but it just won't work.
thanks both! i'm gonna try that today, and will let you know if it works
Hi @bvdm1980 ,
Try to add a custom column use below formula.
https://docs.microsoft.com/en-us/powerquery-m/date-totext
Date.ToText([date],[Format="yyyy-MM"])
Best Regards,
Jay
You could try wrapping both the [Year] and [Month] columns in Text.From()
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 31 | |
| 20 | |
| 12 | |
| 12 |