Aggregate and ETL question
Hello all, I have the below workflow in my Magic ETL. Just posting a sample version below.
My question is - I have a ProductID that I join from both the data sources and then do a group by and output to a file.
But I also need to know Total count of Product ID or row count from TEST spreadsheet source. Is there a way I capture the Total count and get that to the same output ?
I can do this in a separate card and display in dashboard. But I want to get that in the same workflow that I am using for my main dashboard.
Please help
Best Answer
-
If you can have all of the records from your top dataset in your output dataset then you can do a left join on your dataset instead of an inner join. Then in your card do a count of the id file from your TEST dataset to get the total records that match
if you just want the entire count then I’d recommend running your TEST dataset through a group by tile and count in there and output it to a separate dataset
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1
Answers
-
If you can have all of the records from your top dataset in your output dataset then you can do a left join on your dataset instead of an inner join. Then in your card do a count of the id file from your TEST dataset to get the total records that match
if you just want the entire count then I’d recommend running your TEST dataset through a group by tile and count in there and output it to a separate dataset
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1 -
Thanks @GrantSmith for your quick response. I will need to do a matching on both the sources to get just the matched records. So I will need an inner join.
Yes Thanks @GrantSmith . I will add a Group tile and output to a different dataset.
The only issue I have with that approach is, in the dashboard I want to see both the above outputs together in a tabular form or pivot chart. Do you think this will be doable?
0
Categories
- All Categories
- 1.7K Product Ideas
- 1.7K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 295 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.8K Transform
- 97 SQL DataFlows
- 608 Datasets
- 2.1K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 712 Beast Mode
- 50 App Studio
- 39 Variables
- 668 Automate
- 170 Apps
- 446 APIs & Domo Developer
- 45 Workflows
- 7 DomoAI
- 34 Predict
- 14 Jupyter Workspaces
- 20 R & Python Tiles
- 391 Distribute
- 111 Domo Everywhere
- 274 Scheduled Reports
- 6 Software Integrations
- 116 Manage
- 113 Governance & Security
- Domo Community Gallery
- 31 Product Releases
- 9 Domo University
- 5.3K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 104 Community Announcements
- 4.8K Archive