Left Join reducing Rows
I have two data sets that I'm joining on a left join. My left table is the gljedetail 2023, from what I understand a left join should keep all the rows in the left table. It reduces the number of rows not sure why it is doing it. Also, I'm using two columns for the key
Answers
-
Not knowing the specifics of your join with the ETL, this could likely be from using two columns for the key.
The join then will only complete where both keys are satisfied, which will likely lessen the output rows.
Therefore, to resolve, find one single unique identifier in the 'gljedtail 2023' that can be joined to the Chart of Accounts. Forcing the join on two keys is overly restrictive and causes the narrowing of the scope of the data.
Just my two cents. Should be a simple change to see if this works, otherwise I'll have to defer to the experts and hope that another member of the community can chip in. 😊
✅Did this solve your problem? Accept it as a solution!
❤️Did you love this answer? Mark it as "Awesome"!
👍Do you agree with this process? Click "Agree"!
0 -
How does it work when it is a relationship to many to one?
I'm trying to use the COA to add additional details for the GL. I attempted on one but it didn't seem to quite work but for some reason when I switched up the order of the keys for some reason it add the columns back. No idea why.
0
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.8K Visualize
- 2.5K Charting
- 738 Beast Mode
- 56 App Studio
- 40 Variables
- 684 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 46 Workflows
- 10 DomoAI
- 35 Predict
- 14 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 123 Manage
- 120 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