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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello Everyone ,
I have date column under which I have values like 201901 ,2021902,....,202107
how to convert these values in proper date format like
2019-01
2019-02
.
.
.
2021-07.
Please help me with this
Solved! Go to Solution.
@aish25sumbre , if you need date, new column
Date = date(left([column],4), right([column],2), 1)
if you need month year
year month = left([column],4) & "-"& right([column],2)
Hi @aish25sumbre ,
If @amitchandak 's suggestion works for you, please kindly Accept it as the solution,More people will benefit from it.
Below I provide another method:
Then choose the correct Format :
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@aish25sumbre , if you need date, new column
Date = date(left([column],4), right([column],2), 1)
if you need month year
year month = left([column],4) & "-"& right([column],2)
Thank you for help.
It works.
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 |
|---|---|
| 103 | |
| 80 | |
| 59 | |
| 51 | |
| 46 |