Forum Discussion
cdn4lf
6 years agoFrequent Visitor
Converting Date Format
Hi All, I am trying to convert yyyy-MM-ddThh:mm:ss to yy-mm-dd. Any help would be appreciated. Thank you! Sean
- 6 years ago
I figured this out. I had to convert at the query level, not at the design level.
amitchandak
6 years agoSuper User
If it is detected as date then
new = format([Table]date, "yy-mm-dd")
If it is text then
new = mid([Table]date,3,8)
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges
Connect on Linkedin