How to build fact and dimension tables?
Hello everyone,
I am new at Domo and need some help.
I built a fact and several dimension tables (Star Schema), which are my data sets. Now I want to visualize the data, but unfortunately I can only choose one data set in a card.
Is it posible to have a Star Schema in Domo? What do I have to do?
Thank you
Best Answers
-
Each card needs to have a single dataset powering it. However, you can combine multiple source datasets and tables using a dataflow in Domo. You would then use the output of the dataflow to generate your visualizations.
You can choose between:
ETL dataflows
https://knowledge.domo.com/Prepare/Magic_Transforms/ETL_DataFlows
MySQL Dataflows
https://knowledge.domo.com/Prepare/Magic_Transforms/SQL_DataFlows
or Datafusions
https://knowledge.domo.com/Prepare/Magic_Transforms/DataFusion/01Combining_DataSets_Using_DataFusion
Let me know if you need any more help after looking at those articles. Good luck!
2 -
It may be helpful for you to know that you may need to make a minor mind-shift with your work in Domo. When you are working on building your ETL's, you will want to think less in terms of star schema, and more like a french braid.
Start with your fact table, and bring in each of your dimension tables in a line, while making any other transormations along the way.
Magic ETL is essentially linear. You CAN have multiple lines going at once, but always think of the flow from input tables, through transformations, terminating in output tables.
If the braiding analogy doesn't work for you, perhaps think of rivers, and the streams feeding them.
Please let me know if that is helpful to you. It's a significant mental shift, but once you make it, Magic ETL will be a breeze!
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"1
Answers
-
Each card needs to have a single dataset powering it. However, you can combine multiple source datasets and tables using a dataflow in Domo. You would then use the output of the dataflow to generate your visualizations.
You can choose between:
ETL dataflows
https://knowledge.domo.com/Prepare/Magic_Transforms/ETL_DataFlows
MySQL Dataflows
https://knowledge.domo.com/Prepare/Magic_Transforms/SQL_DataFlows
or Datafusions
https://knowledge.domo.com/Prepare/Magic_Transforms/DataFusion/01Combining_DataSets_Using_DataFusion
Let me know if you need any more help after looking at those articles. Good luck!
2 -
It may be helpful for you to know that you may need to make a minor mind-shift with your work in Domo. When you are working on building your ETL's, you will want to think less in terms of star schema, and more like a french braid.
Start with your fact table, and bring in each of your dimension tables in a line, while making any other transormations along the way.
Magic ETL is essentially linear. You CAN have multiple lines going at once, but always think of the flow from input tables, through transformations, terminating in output tables.
If the braiding analogy doesn't work for you, perhaps think of rivers, and the streams feeding them.
Please let me know if that is helpful to you. It's a significant mental shift, but once you make it, Magic ETL will be a breeze!
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"1 -
The only thing I'll add to what has already been said by @ST_-Superman-_ and @DataMaven is that I do a lot of this work before I pass data to Domo. Sometimes you have to do it closer to the cards via the methods they mention, but if you can do those joins ahead of Domo (or in workbench via SQL) that's my first choice. For me, the decision to join closer to the cards (in Domo via Magic ETL in particular) has to do with the dynamic nature of the dimensions. How often will those values change?
I've been right were you are in this process. There are some GREAT people in the Dojo that are willing to help (you already had responses from two of the best) .
2
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive