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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Solution1234
Regular Visitor

Visual-level filters not working

Hello,

 

I'm relatively new to Power BI and have encountered a problem with visual level filtering that I'm struggling to solve.

 

My data is contained in a single table (survey responses from MS Forms), and category filtering using slicers works perfectly. However, the interactivity between my visuals isn't functioning as expected. When I click on a specific bar in one graph, the other graph doesn't update.

 

The data for one graph is derived from three separate measures that count the frequency of specific words in a column. The other graph uses data from three separate columns containing binary data (0 or 1). I also have a counter that updates when I use the slicer but doesn't change when I interact with the visuals.

 

All data is in one table, with each row having a unique ID.

 

Solution1234_1-1738878706754.png

 

 

I have tried all troubleshooting mentioned in this articel: https://www.quicklylearnpowerbi.com/blog/power-bi-card-visual-filter-not-working

 

I am not sure whether it is a problem with my data format or something else.

 

Hope to find some help here. Thanks a lot in advance!

1 ACCEPTED SOLUTION

Hi @Solution1234 ,

Please follow the steps below.

1. First, make sure your data is properly formatted in Excel.

2. Unpivot the table. The data after inverse pivoting should look like the following:

4.png

3. Import the prepared data into Power BI.

4. In Power BI, you could create relationships to ensure interaction between different multiple-choice questions. Please create a new table and create relationship.

5.png

6.png

5. Now you could create visual charts in Power BI.

1.png2.png

Best regards,

Lucy Chen

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

7 REPLIES 7
samratpbi
Super User
Super User

Hi, without looking into the data, it is difficult to say what is going wrong. However few thoughts: first make sure interaction between visuals is enabled from Edit Interaction. Then since you have mentioned there is only one table, hence ideally there should not be any relationship issue. So look into your measures if those having any DAX function like ALL to ignore filter context.
If this helps to resolve your problem, then please mark it as solution, thanks

Hi,

 

thanks for the quick reply! I've tried Edit Interaction, looking at relationships (as said shouldn't be the case as one table), etc.

 

Data format of the left graph:

 

Solution1234_0-1738882695879.png

 

and I am using the following three measures to count each word:

 

 

 

 

Feedback_Important1 = CALCULATE(COUNTA('SheetData'[ID]), FILTER('SheetData', 'SheetData'[How important is customer feedback for you? (Select one)] = "Important"))

Feedback_Not very important1 = CALCULATE(COUNTA('SheetData'[ID]), FILTER('SheetData', 'SheetData'[How important is customer feedback for you? (Select one)] = "Not very important"))

Feedback_Very Important1 = CALCULATE(COUNTA('SheetData'[ID]), FILTER('SheetData', 'SheetData'[How important is customer feedback for you? (Select one)] = "Very important"))

 

 

 

The data for the right graph looks as follows: 

 

Solution1234_1-1738882968726.png

 

For the counter I am using the following measure:

 

 

Numbers = COUNT('SheetData'[ID])

 

 

Following some more pictures of the dashboard:

 

Solution1234_2-1738883020517.pngSolution1234_3-1738883075030.png

 

Hope this helps to identify a potential error! Thanks a lot for the help.

Hi @Solution1234 ,

Could you please provide example data or sample files here? We could offer you more help if we have information in detail. And what you expect the output to be. There is sensitive data that can be removed in advance. How to provide sample data in the Power BI Forum - Microsoft Fabric Community

Thanks for your understanding. Your time and cooperation are much valued by us. We are looking forward to hearing from you to assist further.

Best regards,

Lucy Chen

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

Hi,

 

Thanks a lot for your reply!

 

I was able to narrow down the problem.

 

The problem is how to visualize multiple choice questions.

 

Solution1234_0-1738931262679.png

 

In my survey respondents are able to select up to three answers from nine answer possibilities, shown in the orange columns. I then created 9 columns (yellow) for each answer possibility and transcribed the answers binary, 0 or 1.

 

I thought by doing this I could just add all nine answer possibilities into one graph, however, doing this the functionality of visual filtering does not work because there is no Legend (I belive it is called "Attribute") meaning a column describing every row like "Adopting AI or Digital Solutions". I cannot just add this column because every row has up to three answer possibilities.

 

I have tried unpivoting the table but this means that the "ID" goes missing and will be dublicated nine times, for instance, a 1 will show up in the first nine rows. In addition, I cannot do this because I have several multiple choice questions in my survey with differing number of answers. This question will have to visually interact with three other questions.

 

I am not sure whether my general approach transcribing the answers makes sense or whether I could somehow start from my normal data in the orange columns!

 

Nonetheless, I now know the problem.

 

I hope sombody might have a hint on dealing with this! 

 

Data: 

 

IDWhat are your top 3 strategic priorities for the next 12 months? (Select up to 3)Answer 2Answer 2Adopting AI or Digital SolutionsAligning with Sustainability GoalsEnhancing Customer ExperienceExpanding into New MarketsImproving Existing Products/ServicesIncreasing Market ShareIncreasing ProfitabilityLaunching New Products/ServicesReducing Costs
1Aligning with Sustainability GoalsExpanding into New MarketsIncreasing Market Share010101000
2Increasing ProfitabilityImproving Existing Products/ServicesLaunching New Products/Services000010110
3Improving Existing Products/Services  000010000
4Adopting AI or Digital SolutionsIncreasing Market ShareIncreasing Profitability100001100
5Adopting AI or Digital SolutionsLaunching New Products/Services 100000010
6   000000000
7Expanding into New MarketsIncreasing Market Share 000101000
8Increasing Market ShareIncreasing ProfitabilityLaunching New Products/Services000001110
9Increasing Market ShareLaunching New Products/ServicesIncreasing Profitability000001110

Hi @Solution1234 ,

Please follow the steps below.

1. First, make sure your data is properly formatted in Excel.

2. Unpivot the table. The data after inverse pivoting should look like the following:

4.png

3. Import the prepared data into Power BI.

4. In Power BI, you could create relationships to ensure interaction between different multiple-choice questions. Please create a new table and create relationship.

5.png

6.png

5. Now you could create visual charts in Power BI.

1.png2.png

Best regards,

Lucy Chen

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

 

Hi Lucy,

 

Thanks a lot for your detailed reply. It helped bring me on the right track! I'll have to work with relationships and and create additional tables with relationships!

 

Furthermore, for anybody else dealing with problems analysing complex survey data with PowerBI I can recommend the following video, which helped me a lot! (Visualize complex survey data in Power BI)

Hi @Solution1234 ,

I'm glad I was able to help, and thanks for sharing!

Regards,

Lucy Chen

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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