Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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 |
|---|---|
| 55 | |
| 37 | |
| 26 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 58 | |
| 39 | |
| 21 | |
| 21 |