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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
JemmaD
Resolver II
Resolver II

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)

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)

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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