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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
giorgiokatr
Helper V
Helper V

filtering survey questions

 

questioncustomeranwser
1aok
1bgood
1cok
2arew
2byellow
2cblack

i have this survey with two pie visuals each for each question

visual has tyhe answer and the count of customers.

when i click on good for example in the visual the other visual is blank because dataset is filtered in question id 1. is there a way to show the answer of the customers than answered good what did the answer in other questions in the second visual?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @giorgiokatr ,

 

Since the slicer is from the same table, the visual will be affected the slicer.

There are two ways might solve the problem.

One way is to create a slicer table which has no relationship with fact table and use SELECTEDVALUE() function to get the count of value by slicer.

Another way is create a measure use ALL() function to get the count of value, for example:

CALCULATE(COUNT(value),FILTER(ALL(table),column=SELECTEDVALUE(column))).

 

Best Regards.

Jay

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @giorgiokatr ,

 

Since the slicer is from the same table, the visual will be affected the slicer.

There are two ways might solve the problem.

One way is to create a slicer table which has no relationship with fact table and use SELECTEDVALUE() function to get the count of value by slicer.

Another way is create a measure use ALL() function to get the count of value, for example:

CALCULATE(COUNT(value),FILTER(ALL(table),column=SELECTEDVALUE(column))).

 

Best Regards.

Jay

giorgiokatr
Helper V
Helper V

the problem is when i click on answer ok from first question the second visual should show me the result for the two customers  that answered ok (customer a and c). it should show in my example one for rew and one for black (the answers of those two customers)

giorgiokatr
Helper V
Helper V

@amitchandakno it does not work the second visual is not showing results per filter.

amitchandak
Super User
Super User

@giorgiokatr , use a measure with removefilters(Table[anwser])

 

calculate(coutrows(Table) , removefilters(Table[answer]))

 

check example at https://www.linkedin.com/pulse/five-recent-power-bi-functions-you-should-use-more-often-amit-chandak

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors