cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
PabloGiraldo
Helper IV
Helper IV

Apply filter from two columns

Hi - 

I have two tables each containing a "Status" column. I created a pie chart with data from both tables. Now I want to create one filter with the "Status" of both tables - Open or Closed.

 

I can pick Status column from one table but not from both or i will get an error. But one Status will only filter data from respective table. See screenshot below.

Thanks.61.JPG

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

You should create a third table with only 1 column which should list all unique status entries.  Then create a many to one relationship from the Status column of both tables to the status column of the third table.  To your visual, drag the Status column from the third table.

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

4 REPLIES 4
Ashish_Mathur
Super User
Super User

Hi,

You should create a third table with only 1 column which should list all unique status entries.  Then create a many to one relationship from the Status column of both tables to the status column of the third table.  To your visual, drag the Status column from the third table.

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Worked like charm! Thank you!

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
amitchandak
Super User
Super User

@PabloGiraldo , based on what I got, You have to create a common status table and join both tables with it and use that in visual/slicer  (new status)

 

Example : https://www.youtube.com/watch?v=Bkf35Roman8

https://www.seerinteractive.com/blog/join-many-many-power-bi/

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors