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
All,
I have this date column and I am trying to format it into MMM-YY, so I can create a monthly average visual.
I tried using this calculated column and I'm unable to change the format to "Date". For some reason it goes straight to "Text". How can I keep it as "date"?
Solved! Go to Solution.
try this,
1. Create this calculated column and change the date format to like the below (refer the attached image)
Month Year =
VAR _month = MONTH('Date'[Date])
VAR _year = YEAR('Date'[Date])
VAR _result = _month &"-"& _year
RETURN DATEVALUE(_result)
2. Result:
Thanks,
Arul
try this,
1. Create this calculated column and change the date format to like the below (refer the attached image)
Month Year =
VAR _month = MONTH('Date'[Date])
VAR _year = YEAR('Date'[Date])
VAR _result = _month &"-"& _year
RETURN DATEVALUE(_result)
2. Result:
Thanks,
Arul
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |