How to create a dataset based on another dataset
Best Answer
-
What is your exact formula and what error did you receive?
If date_column is order date, then you can just use order_date in all of your transforms - you don't need to create a separate table. If the date_column is from a different table, please past your formula + error
0
Answers
-
Using your orders table, you can create a date table via a case statement like
case when date_column >= min(order_date) and date_column < = max(order_date) then date_column
Also highly recommend checking out the domo dimensions calendar table in the app store to see if that meets your need.
0 -
You would use magic ETL. Use the group by tile and create max and min values. You could also use the formula tile and use MAX() and MIN(). You could also use a beastmode in a card and use MAX() and MIN().
There is also a calendar chart type. This knowledge article walks through how to use them:If I solved your problem, please select "yes" above
0 -
Hi
Thanks for your help, but I did a statement in sql transform but did not workcase when date_column >= min(order_date) and date_column < = max(order_date) then date_column end
I don't know what I'0m doing wrong
thanksssss
0 -
What is your exact formula and what error did you receive?
If date_column is order date, then you can just use order_date in all of your transforms - you don't need to create a separate table. If the date_column is from a different table, please past your formula + error
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
- 659 Datasets
- 116 SQL DataFlows
- 2.2K Magic ETL
- 816 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 82 App Studio
- 45 Variables
- 776 Automate
- 190 Apps
- 481 APIs & Domo Developer
- 82 Workflows
- 23 Code Engine
- 40 AI and Machine Learning
- 20 AI Chat
- 1 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