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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It 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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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