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
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 37 | |
| 33 | |
| 29 | |
| 26 |
| User | Count |
|---|---|
| 134 | |
| 104 | |
| 63 | |
| 60 | |
| 55 |