Skip to main content

UNION Joins

  • Chapter
  • First Online:
Prepare Your Data for Tableau
  • 1573 Accesses

Abstract

In this chapter we will dive deep into the workings of the UNION join in the Data Prep Builder. To set the stage, let’s talk about what a UNION join does. A very common data scenario might involve receiving multiple text files from multiple locations within your company. Each text file contains the same columns of data, but the rows themselves will be unique. Our goal in this scenario would be to somehow combine all these individual files into one master file that contains data for every location. You might have worked through this scenario before. The brute force solution would be to open each file and copy/paste its contents into one master file. This is a reasonable solution when you are working with a small handful of files or maybe you are only doing this one time. It’s less reasonable when you have hundreds of files that you receive multiple times a week. In those cases, the UNION join will save the day!

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 37.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Tim Costello, Lori Blackshear

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Costello, T., Blackshear, L. (2020). UNION Joins. In: Prepare Your Data for Tableau. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5497-4_4

Download citation

Publish with us

Policies and ethics