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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors