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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
KoBe321
Frequent Visitor

Selection vs Filter

I've got 2 visuals, let's say A and B.

At the moment it's possible to "select" some values in A using SelectionManager, and B will be changed according to that.

 

Then I added Filtering to A, thus I was able to filter B using applyJsonFilter().

However, if I wanted to also "select" a value in A while B was filtered, B crashed.

No error message was shown, but after some googling it was suggested that it's probably some cross-filtering issue.

 

So is it possible at all to filter and select B from A at the same time?

If not, I could probably change the "select" mechanism of A to "filter" B.

But what's the difference between "select" and "filter" from a logical/architectural view? Are they interchargeable?

1 ACCEPTED SOLUTION
dm-p
Super User
Super User

Hi @KoBe321,

Probably the easiest way to think about it is filter = slicer, select = regular chart.

The filter API asks Power BI to hard-filter other visuals in the page, like a slicer would. The selection manager requests Power BI performs interactive operations either internally to your own visual or in confunction with others (such as cross-highlight), which do not explicitly remove data from each visual's data view so that they can show partial data, dim out non highlighted fields etc..

They aren't really interchangable as you'd typically use one over the other. You can technically use both (I personally haven't used them both together; just separately), but in each case you would want to think about what needs to happen from an end-user perspective if you do.

Regards,

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




View solution in original post

2 REPLIES 2
dm-p
Super User
Super User

Hi @KoBe321,

Probably the easiest way to think about it is filter = slicer, select = regular chart.

The filter API asks Power BI to hard-filter other visuals in the page, like a slicer would. The selection manager requests Power BI performs interactive operations either internally to your own visual or in confunction with others (such as cross-highlight), which do not explicitly remove data from each visual's data view so that they can show partial data, dim out non highlighted fields etc..

They aren't really interchangable as you'd typically use one over the other. You can technically use both (I personally haven't used them both together; just separately), but in each case you would want to think about what needs to happen from an end-user perspective if you do.

Regards,

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




KoBe321
Frequent Visitor

Thank you Do you happen to know what causes this?

https://community.powerbi.com/t5/Developer/Filter-disables-SelectionManager/m-p/1759570

Thank you in advance!

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors