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

Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.

Reply
JemmaD
Helper V
Helper V

Create dynamic measure which tells a user what field they filtered on, and what items they filtered

So I have a table called 'Brokers' and this table has three columns with three heirarchies of Broker name: 
Global Broker Name
Parent Broker Name
Broker Name.

I want a slicer which says if table 'Brokers' is filtered, show the column they filtered on, and the concatenated values they filtered on.

I could do this using three separate measures but I wanted to do it in one measure if possible. 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@JemmaD , You can use isfiltered and check like

example

measure =  "Global Broker Name : " &  if(isfiltered(Table[Global Broker Name]) , Concatenatex(Table, Table[Global Broker Name]), ", ")  & unichar (10) &

"Parent  Broker Name : " &  if(isfiltered(Table[Parent Broker Name]) , Concatenatex(Table, Table[Parent Broker Name]), ", ")  & unichar (10) &

"Broker Name : " &  if(isfiltered(Table[Broker Name]) , Concatenatex(Table, Table[Broker Name]), ", ")  & unichar (10)

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@JemmaD , You can use isfiltered and check like

example

measure =  "Global Broker Name : " &  if(isfiltered(Table[Global Broker Name]) , Concatenatex(Table, Table[Global Broker Name]), ", ")  & unichar (10) &

"Parent  Broker Name : " &  if(isfiltered(Table[Parent Broker Name]) , Concatenatex(Table, Table[Parent Broker Name]), ", ")  & unichar (10) &

"Broker Name : " &  if(isfiltered(Table[Broker Name]) , Concatenatex(Table, Table[Broker Name]), ", ")  & unichar (10)

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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