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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Mercovito
Frequent Visitor

Show Filter Context value

Hello All

 

Is it possible to get "filter context" value? For example, when I click on a slice with the value "USA" of a Pie Chart, the visuals will be filtered according to "Active". Here our Filter Context Value is "USA".


Is there any tool, power, DAX expression etc.. which shows the current Filter Context value?

 

Great thx in advance !

1 ACCEPTED SOLUTION
serpiva64
Super User
Super User

Hi,

you can use something like this

serpiva64_0-1699116217853.png

SelectedValue = SELECTEDVALUE('Table'[Column1], "More then one Product selected")

or 

AllSelected = CONCATENATEX(ALLSELECTED('Table'[Column1]), 'Table'[Column1], ", ")

 

If this post is useful to help you to solve your issue consider giving the post a thumbs up 

 and accepting it as a solution !

View solution in original post

2 REPLIES 2
Mercovito
Frequent Visitor

@serpiva64 Many thanks, you really expand my knowledge.

serpiva64
Super User
Super User

Hi,

you can use something like this

serpiva64_0-1699116217853.png

SelectedValue = SELECTEDVALUE('Table'[Column1], "More then one Product selected")

or 

AllSelected = CONCATENATEX(ALLSELECTED('Table'[Column1]), 'Table'[Column1], ", ")

 

If this post is useful to help you to solve your issue consider giving the post a thumbs up 

 and accepting it as a solution !

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.