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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
NickProp28
Post Partisan
Post Partisan

2 table but differentiate with country, and filter by one slicer

Hi, Good Day to all of you.

I have 2 table (table A and table B).
Example:
Table A (Only Singapore Country)

Country     Shipment ID  Operator 

Singapore   A123               ABC

Singapore   A124               DEF

Singapore   A125               ABD

 

Table B (Only Chennai Country)

Country     Shipment ID  Operator 

Chennai      A546               QWE

Chennai      A678               EWQ

Chennai      A679               EQW

 

*Two table have same column just different by coutry, every month I will insert new data to the particular country. So I would like to separate into two table. (Understand that all include in one table will convenient, but my boss asking me to separate it).

 

I create a new table and link this 2 table on it (many to one)

(

TABLE = DISTINCT(
UNION(
VALUES(Chennai[Country]),
VALUES(Singapore[Coutry]
)
))
-------------------------------
So here is my question, I have my slicer and the field I put in this link table as above. So the selection have 'Chennai' and 'Singapore'.
I expect result table will be, if i select the Chennai country. It only show the Chennai data.
But the result show in this way, when i click on 'Chennai'.
 
Country     Shipment ID  Operator  

Singapore   A123               ABC

Singapore   A124               DEF

Singapore   A125               ABD

Chennai      A546               QWE

Chennai      A678               EWQ

Chennai      A679               EQW

 

While I click on Singapore, its show nothing but only title.

 

I know one of the solution is merge these two table into one, but there will become lots of rows data. (My data will be more than 150k if merge according to Country and particular month)

Other than merge table, any other solution?

Best regards.

 

 

1 ACCEPTED SOLUTION
v-yiruan-msft
Community Support
Community Support

Hi @NickProp28 ,

The easiest method is to merge these country tables into one table in Power Query Editor, but it seems you will not do it considering the large amount of data or other factors... Here is one workaround: create multiple visuals and bookmarks to achieve your requirement as below screen shot. However, this method will involves more tasks...

bookmarks.JPG

You can refer this blog for more details.

Best Regards

Rena

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

View solution in original post

2 REPLIES 2
v-yiruan-msft
Community Support
Community Support

Hi @NickProp28 ,

The easiest method is to merge these country tables into one table in Power Query Editor, but it seems you will not do it considering the large amount of data or other factors... Here is one workaround: create multiple visuals and bookmarks to achieve your requirement as below screen shot. However, this method will involves more tasks...

bookmarks.JPG

You can refer this blog for more details.

Best Regards

Rena

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

Dear @v-yiruan-msft ,

 

Thanks for any help you provide in resolving this issues.

 

Best regards.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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