Changing date from 2016-01-22 to 01-22-2016
Hi,
I've seen posts that are similiar but not quite my same issue. My data is coming in like 01/22/2016 and DOMO is changing it to 2016-01-22. Can you please help on converting it to month-day-year format.
I've used the below but wondering if there is anything in the ETL(Magic preferrably) to do it so I don't have to have multiple beastmodes for date all over my selects.
DATE_FORMAT(`Start/Invoice Date`, '%m-%d-%Y')
Best Answer
-
Thanks for clarifying @DMJerry. Since the data is coming in as a date then we should be able to adjust the format of the date using the chart properties. Here is an example of how to do that. I don't think there's a way to change this globally, it has to be done at the card level.
Does that approach meet your needs?
Thank you,
Creed
**Say "Thanks" by clicking the thumbs up in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"2
Answers
-
Hi @DMJerry thanks for reaching out. Can you provide a little more information about the issue you're seeing? Is the data coming in as a date format, or is it text? Also, are you seeing the date being formatted as YYYY-MM-DD in a card or in the dataset in the datacenter?
Thank you,
Creed
**Say "Thanks" by clicking the thumbs up in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"0 -
Hi @creed, Thank you for the response. The data is coming in as a date. In the CSV raw file it's "MM/DD/YYYY" but when it comes out into the final dataset it is in this format "YYYY-MM-DD" .. I don't mind the "-" vs "/" but I wanted to change the format within Magic(if possible) so I don't have to do the beastmode that I've had to use in my original post.
Thanks for your help.
0 -
Thanks for clarifying @DMJerry. Since the data is coming in as a date then we should be able to adjust the format of the date using the chart properties. Here is an example of how to do that. I don't think there's a way to change this globally, it has to be done at the card level.
Does that approach meet your needs?
Thank you,
Creed
**Say "Thanks" by clicking the thumbs up in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"2 -
Thanks @creed , sorry but I should've been more clear but this is for table cards which do not have that option. This is definitely a solution, so I'll mark it, but i really need it for table cards. I'll send it to feedback as an enhancement for the table card chart properties.
Thank you for all your help.
1
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 101 SQL DataFlows
- 622 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 746 Beast Mode
- 58 App Studio
- 41 Variables
- 686 Automate
- 176 Apps
- 453 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 395 Distribute
- 113 Domo Everywhere
- 276 Scheduled Reports
- 6 Software Integrations
- 125 Manage
- 122 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive