Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
stribor45
Post Prodigy
Post Prodigy

Best way to pull data into visual from multiple tables - UNION

I have Table 1, Table 2, Table 3 and Table 4. All of these tables have the same number of columns holding the same data types. Is creating the virtual table using the  UNION of these four tables the best way to analyze the data rather than going into each table doing something and then putting it together into the result? 

 

I was thinking about creating the virtual table using the  UNION and then making a relationship between that table with my calendar table. What is the most efficient way of doing this?

 

1 ACCEPTED SOLUTION
DataInsights
Super User
Super User

@stribor45,

 

If possible, append the four tables into one table in Power Query. Otherwise, you can create a DAX calculated table using the UNION function.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
stribor45
Post Prodigy
Post Prodigy

yeah reason I am trying to do this is that when I select the dates in my slicer and those dates correspond to dates from one of the tables in the union I am getting no results while when selecting the dates from other three tables it works fine

DataInsights
Super User
Super User

@stribor45,

 

If possible, append the four tables into one table in Power Query. Otherwise, you can create a DAX calculated table using the UNION function.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors