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
Dear All,
I am trying to create a new column with Month and Year in MMM-YYYY format from another date column. I tried the below expression for the new column, but getting the error as in the below screenshot. Kindly help.
MonthYr = CONCATENATE(FORMAT(MONTH(Query2[DEP_DATE]),"MMM"),YEAR(Query2[DEP_DATE]))
Solved! Go to Solution.
Dear All,
I got the solution. Just used the format option in the Modeling tab 🙂
Sorry for the confusion.
Regards,
Will the column stay in date format or turns into text format.. I want to use it as monthyear slicer in my report.
For e.g I want the new column with the values like "AUG-2018".
Looking forward for help.
Dear All,
I got the solution. Just used the format option in the Modeling tab 🙂
Sorry for the confusion.
Regards,
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |