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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ank1997
Microsoft Employee
Microsoft Employee

Creating a visual combing 3 different tables with similar data

Hi all, 

I have three tables that I want to combine and be able to create a visual on a map. How do I show all of the states with data? For some reason it is only pulling the location from a single table...

 

ank1997_1-1646264937795.png

 

 

 

AwardSchoolState
1EY
2FY
3GX

 

GrantState
AY
BZ

 

SchoolState
HX
IY
2 REPLIES 2
v-yingjl
Community Support
Community Support

Hi @ank1997 ,

If you want to show all data about states on the map, ideally you can create a calculated table like this to extract the state column as a single table and create relationships based on the state between these tables:

State table = 
DISTINCT(
    UNION(
        DISTINCT('Table1'[State]),
        DISTINCT('Table2'[State]),
        DISTINCT('Table3'[State])
    )
)

By the way, notice that there are also School columns on table1 and table3 so you need to consider it first because the final table would be like this:

vyingjl_0-1646619515095.png

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Ideally, you should have a table with a column of all of the unique states, or more likely schools, and that column should have a one to many relationship with your fact table. That way, you are able to display and all states by filtering on the unique column.

 

--Nate

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors