Hello Techies, we are back with another blog on Tableau series. In this blog, we will explore different types of Join in Tableau, which is helpful in selecting data efficiently. Before we start I will recommend you to go through our introductory blog “Tableau: Products and Services” to get an overview of Tableau, moving forward to our today topic of Types of joins in Tableau. There are four types of Join available in Tableau Inner Join, Left Join, Right Join, and Full outer Join.
We will try to simplify this by taking an example of Order table (Left Table) where we have the order details and Customer table (Right Table) where we have the customer details:
We will try to simplify this by taking an example of Order table (Left Table) where we have the order details and Customer table (Right Table) where we have the customer details:
Inner Join: When we combine two tables with Inner Join, it includes only the values that matches in both tables and drops the values that are not matched on both the tables. As we can see below that only the record of Customer ID 2, 3, 5 were included as these records were also present in the Customer table and remaining records were excluded from the table.
Left Join: A Left Join always returns all the value from the Left table and matching values from the Right table while combining two tables. As we can see all the records from the Left table are available with the matching records from the Right table. As a result we have null values from the Right table (Customer table) for the Customer ID 1, 4, 6.
Right Join: A Right Join always returns all the value from the Right table and all the matching value from the Left table while combining two tables. In the below image we can see that all the records from the Right table are available with the matching records from the Left table. As a result we have null value for the Customer ID 8, 9, 19 in the Left table (Order Table).
I hope that this blog helps you to have an understanding about different Joins available in Tableau and how these Joins work and when to use union for your data. In the upcoming blog we will create an end to end project and we will explain every detail about that, so stay tuned.
About Amlgo
Labs : Amlgo Labs is an
advanced data analytics and decision sciences company based out in Gurgaon and
Bangalore, India. We help our clients in different areas of data
solutions includes design/development of end to end
solutions (Cloud, Big Data, UI/UX, Data Engineering, Advanced Analytics
and Data Sciences) with a focus on improving businesses and providing
insights to make intelligent data-driven decisions across verticals. We have
another vertical of business that we call - Financial Regulatory Reporting for
(MAS, APRA, HKMA, EBA, FED, RBI etc) all major regulators in the world
and our team is specialized in commonly used regulatory tools across the
globe (AxiomSL
Controller View, OneSumX Development, Moody’s
Risk, IBM Open Pages etc).We build
innovative concepts and then solutions to give an extra edge to the business
outcomes and help to visualize and execute effective decision strategies. We are among top 10 Data Analytics Start-ups in India, 2019 and 2020.
Please feel free to comment or share your views and thoughts. You can always reach out to us by sending an email at info@amlgolabs.com or filling a contact form at the end of the page.
Comments
Post a Comment