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