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
anewsom
Regular Visitor

Filter table based on another table's values

I have a table on PowerBI, called records.

I have a second table called questions in a many-to-1 relationship with records; AKA each record has many questions. Question have a "question", "answer", and recordID columns.

I want to make a fitler which filters the records based on the question and answer columns.

 

So if I have a question of "Color" (among many other questions) i can say "give me records with a question called 'Color' with an answer called 'Red'"

Is there a way to do this with a filter or will I need to make a new column each time?

1 ACCEPTED SOLUTION
V-pazhen-msft
Community Support
Community Support

@anewsom 

You should have a table visual includes all the column you want to show. Once the relationship between the tables is managed correctly, you could filter the 2 columns using the filter panel or create 2 slicers using Question and Answer column. 

 

Paul Zheng _ Community Support Team
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-pazhen-msft
Community Support
Community Support

@anewsom 

You should have a table visual includes all the column you want to show. Once the relationship between the tables is managed correctly, you could filter the 2 columns using the filter panel or create 2 slicers using Question and Answer column. 

 

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

lbendlin
Super User
Super User

Let your data model do the work. Make sure the filter direction is set up in a way that your question can be answered. You need a bidirectional filter as you want to filter from the many side to the one side.

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.