Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Dear all,
I have a date column, it show like : September 10, 2019
March 20, 2018
I want to create a new column, to use the key word to show: Sep 10, 2019
Mar 20, 2018
Thank you
Solved! Go to Solution.
Hi @xiumi_hou ,
We can create a calculated column using following formula to meet your requirement:
KeyDate = FORMAT([Date],"MMM dd,YYYY")
But it will be the text format, if you want it as date type but show as MMM dd,YYYY, we can create another calculated colmun then set it as this format. Or just changet the origin column using following solution.
DateAnotherFormat = [Date]
Enter the Model View, select the column, set the format as custom, use the following code
mmm dd\, yyyy
BTW, pbix as attached.
Best regards,
Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello @xiumi_hou ,
Review this post, you may apply this for your case
https://community.powerbi.com/t5/Desktop/Date-Format/td-p/120348
Good luck!
@SriKandimalla Sorry I can not quite understand, can you help me work this out? Thanks
Hi @xiumi_hou ,
We can create a calculated column using following formula to meet your requirement:
KeyDate = FORMAT([Date],"MMM dd,YYYY")
But it will be the text format, if you want it as date type but show as MMM dd,YYYY, we can create another calculated colmun then set it as this format. Or just changet the origin column using following solution.
DateAnotherFormat = [Date]
Enter the Model View, select the column, set the format as custom, use the following code
mmm dd\, yyyy
BTW, pbix as attached.
Best regards,
Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
UP
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |