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.2K Product Ideas
- 1.2K Ideas Exchange
- 1.4K Connect
- 1.1K Connectors
- 273 Workbench
- 2 Cloud Amplifier
- 3 Federated
- 2.7K Transform
- 78 SQL DataFlows
- 526 Datasets
- 2.1K Magic ETL
- 2.9K Visualize
- 2.2K Charting
- 440 Beast Mode
- 23 Variables
- 514 Automate
- 115 Apps
- 391 APIs & Domo Developer
- 8 Workflows
- 26 Predict
- 10 Jupyter Workspaces
- 16 R & Python Tiles
- 332 Distribute
- 77 Domo Everywhere
- 255 Scheduled Reports
- 67 Manage
- 67 Governance & Security
- 1 Product Release Questions
- Community Forums
- 40 Getting Started
- 26 Community Member Introductions
- 68 Community Announcements
- 4.8K Archive