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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
Employee
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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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