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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Tbourgoin
New Member

Create New Table based on two other tables for a map

Contact and Centre are two different table with two column Name and Adresse. I want create a new table with three column :

FULLNAME ; ADRESSE ; TYPE (for filter by type Contact or Centre).

 

How I can do that :

1 - Create this Table with two different tables (If it's needed for the map ...)

2 - Create this map (what kind of map i can used, because I have more than 10 000 adresses and 80 Centres)

 

Thank a lot for your help.

 

Tristan

1 ACCEPTED SOLUTION
Anonymous
Not applicable

1. Add new column in both tables first. You could use Add column from examples. You could add the column TYPE in both tables. Type in Centre or Contact. 

 

2. After adding this, you can now use Append. Select any table then click on Edit Queries. Click on Append Queries in the Home tab, select Append Queries as New. Then select the two tables which you will combine. This will create a new table which contains all the data from the two tables. 

 

 

- You could use the Map visuals for this. 

View solution in original post

3 REPLIES 3
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @Tbourgoin

 

You may also use UNION Function to get the third table as requested and then add column to get the Type column. 

 

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Can you explain how to use a UNION based on a condition? 

I have a list of states in one table (say A, B, C, D, E) 

I have another table which has DS state -> List of States

For example, J -> B, C

                      F -> D

                      Z -> 

 

Data source is a SharePoint List. 

I want a list finally which says: 

A

B

C

D

E

J (Because B, C are present in 1st table) 

 

This list I can then populate on the map with other conditions.

 

 

Anonymous
Not applicable

1. Add new column in both tables first. You could use Add column from examples. You could add the column TYPE in both tables. Type in Centre or Contact. 

 

2. After adding this, you can now use Append. Select any table then click on Edit Queries. Click on Append Queries in the Home tab, select Append Queries as New. Then select the two tables which you will combine. This will create a new table which contains all the data from the two tables. 

 

 

- You could use the Map visuals for this. 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.