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.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 101 SQL DataFlows
- 623 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 748 Beast Mode
- 60 App Studio
- 41 Variables
- 690 Automate
- 177 Apps
- 455 APIs & Domo Developer
- 48 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 397 Distribute
- 114 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 127 Manage
- 124 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 109 Community Announcements
- 4.8K Archive