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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
FrankvanDorp
Helper I
Helper I

Clicking on cell in table should filter only on that cell, not on the entire row

Consider the two tables below, both based on the same sample data:

FrankvanDorp_0-1676647461736.png

When I click on a cell with "Canada" on the left, Power BI will filter the right table on based on the entire row I select, so not just on Country="Canada", but also on Date="1 september 2013" and Product="Paseo" and so on. It looks like this:

FrankvanDorp_1-1676647545704.png

I want to change this, so that it only filters on the values in the CELL on which I click, not the entire ROW. So clicking on a cell with "Canada" should only filter on Country="Canada" but NOT on Date="1 september 2013", so the table on the right should just return all rows where Country="Canada", and not filter on date. Clicking on a cell with "1 september" should return all rows of the right table with Date="1 september" but include all countries. And so on.

 

How do I do this?

 

5 REPLIES 5
dmf
Frequent Visitor

Hi curious if you found a solution to this?

dmf
Frequent Visitor

Were you able to find a solution? I have the same issue. I want my table 2 to show all instances of a partial textstring in one cell of table 1 when I click anywhere on the row in table 1. 

I think I can use containsstring but don't know how to feed the data to search, I believe I might have to use a delimiter to split the column first isolating the text, then it becomes a simple find all instances of what i clicked.

FrankvanDorp
Helper I
Helper I

I still haven't found a solution to this problem, can anyone help me out?

amitchandak
Super User
Super User

@FrankvanDorp , It need a workaround, refer

Power BI Partial Interactions, Selectively pass filter across visuals - https://youtu.be/SFEKQEic_sk

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Apologies for the late reply.

I think this solution could bring me part of the way, but the problem is that I need to filter out different columns depending on what columns I click, there is no fixed column like Date in your example that always needs to be left out.

When I take your measure Net All Date = CALCULATE([Net], REMOVEFILTERS('Date')), and translate it to my example, I would need to apply REMOVEFILTERS('Date') when clicking on a Country, but I would need to apply REMOVEFILTERS('Country') when clicking on a Date cell.

 

So I would need some measure to apply the REMOVEFILTERS, but not always on the same column, instead it should look to the table, figure out what column is selected, and then apply it to all OTHER filters than the selected column. Is it possible to write a measure that does that?

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!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.