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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Filter without removing other answers

Hi all,

 

I am using Power BI for survey data. I have a data tabel with a username and six questions which all have the answer "negative", "positive" or empty. I want to see all "negative" answers for all of the users. However, I cannot filter on "negative" because a user may have responded empty to question1 but "negative" to question 2. I want to see that second negative but if I filter only "negative" on question 1 it will remove the "negative" in question 2. 

 

I have tried to make a seperate answers table so that I can filter on only negative but you can't have multiple relationships. 

 

So my question is, is it possible to filter without removing other answers OR is it possible to have multiple relationships to filter by a seperate field? 

 

I hope I've made my question clear. Thanks! 

1 ACCEPTED SOLUTION
d_gosbell
Super User
Super User

So when you say " I have a data tabel with a username and six questions" do you mean you have a column per question?

 

If so you could do something like the following:

 

Negatives = COUNTROWS( FILTER( Survey, Survey[Q1] = "negative" || Survey[Q2] = "negative" || Survey[Q3] = "negative" || Survey[Q4] = "negative" || Survey[Q5] = "negative" || Survey[Q6] = "negative" ) )

 

But you might also want to look at structuring your data differently see:

https://www.daxpatterns.com/survey/

View solution in original post

1 REPLY 1
d_gosbell
Super User
Super User

So when you say " I have a data tabel with a username and six questions" do you mean you have a column per question?

 

If so you could do something like the following:

 

Negatives = COUNTROWS( FILTER( Survey, Survey[Q1] = "negative" || Survey[Q2] = "negative" || Survey[Q3] = "negative" || Survey[Q4] = "negative" || Survey[Q5] = "negative" || Survey[Q6] = "negative" ) )

 

But you might also want to look at structuring your data differently see:

https://www.daxpatterns.com/survey/

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.