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 nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
| User | Count |
|---|---|
| 22 | |
| 18 | |
| 17 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 60 | |
| 54 | |
| 47 | |
| 42 | |
| 37 |