Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hello,
I have one column with the values text,blanks,and dates(Datatype is String).I would like to create another column from that column with the values,year from datevalue and remain are same.Please help for this.
Thanks,
Alekhya
Solved! Go to Solution.
Hi @Anonymous,
You can go to Query Editor, create a custom column via:
=try Date.Year(Date.FromText([Column1])) otherwise [Column1]
Best Regards,
Qiuyun Yu
Hi @Anonymous,
You can go to Query Editor, create a custom column via:
=try Date.Year(Date.FromText([Column1])) otherwise [Column1]
Best Regards,
Qiuyun Yu
Thank you,It is working.
Regards,
Alekhya
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 21 | |
| 17 | |
| 14 |
| User | Count |
|---|---|
| 58 | |
| 50 | |
| 37 | |
| 29 | |
| 24 |