changing a column data type
Hello community,
I have a column that has dates yet the data type for this column is showing as a 'text'. I've been looking everywhere, but I don't see any options that would allow me to change the data type for this column. Where can I find the menu to change a columns data type? Is this even possible in domo? Thank you!
Best Answers
-
There are a few ways to change the column type. The easiest would be in Magic ETL.
- Open the dataset in Magic ETL
- Add an Alter Columns tile
- Choose the column in the alter columns tile and select "Date" for CAST DATA TYPE
If I solved your problem, please select "yes" above
1 -
As @ColemenWilson said, there are multiple ways to do this. Here's a video that walks you through some options:
**Check out my Domo Tips & Tricks Videos
**Make sure toany users posts that helped you.
**Please mark as accepted the ones who solved your issue.0
Answers
-
There are a few ways to change the column type. The easiest would be in Magic ETL.
- Open the dataset in Magic ETL
- Add an Alter Columns tile
- Choose the column in the alter columns tile and select "Date" for CAST DATA TYPE
If I solved your problem, please select "yes" above
1 -
As @ColemenWilson said, there are multiple ways to do this. Here's a video that walks you through some options:
**Check out my Domo Tips & Tricks Videos
**Make sure toany users posts that helped you.
**Please mark as accepted the ones who solved your issue.0 -
If you are bringing the data in via API, you may have options to change the data type in the API settings. I use the NoCode oAuth connector, which has a schema definition. If the auto-detect does not recognize the data type you need, you can set it.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0 -
Thank you all! It's a bit more complicated than I had hoped, but I will follow the steps. Thanks again!
0 -
Hi @newbie123 - It's a best practice to only build cards off of datasets which have been through a dataflow, however, I understand that under the new consumption model, that has consequences.
So - If we must be building cards off of raw datasets, here's a beast mode that may help you:
Date(`Date`)
If that doesn't work, you may have leading or trailing spaces. If that's the case, try:
Date(trim(`Date`))
DataMaven
Breaking Down Silos - Building Bridges
**Say "Thanks" by clicking a reaction in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"0
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 311 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3.8K Transform
- 656 Datasets
- 115 SQL DataFlows
- 2.2K Magic ETL
- 814 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 81 App Studio
- 45 Variables
- 775 Automate
- 190 Apps
- 481 APIs & Domo Developer
- 81 Workflows
- 23 Code Engine
- 39 AI and Machine Learning
- 20 AI Chat
- AI Playground
- 1 AI Projects and Models
- 18 Jupyter Workspaces
- 410 Distribute
- 120 Domo Everywhere
- 280 Scheduled Reports
- 10 Software Integrations
- 144 Manage
- 140 Governance & Security
- 8 Domo Community Gallery
- 48 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 114 Community Announcements
- 4.8K Archive