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 nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
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 | |
| 22 | |
| 20 | |
| 19 | |
| 11 |
| User | Count |
|---|---|
| 65 | |
| 54 | |
| 46 | |
| 44 | |
| 31 |