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!
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman2 -
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!
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman2 -
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.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 738 Beast Mode
- 57 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive