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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Xilitor01
Helper III
Helper III

Dynamic text based on multiple filters

Hello,

 

I have a Headline Text where I want to showcase what filters have been applied.

 

What I have:

Xilitor01_0-1664880000911.png

 

What I am looking for (or something similar)

It shoul filter the headline text so it easy to see what filters have been made to the data.

Xilitor01_1-1664880098101.png

 

 

The data/example is just sample data. On my actual page I have more than 10 different slicers, which is why I am looking for a solution to easily get an overview of what has been selected.

 

I hope someone can help 🙂

 

1 ACCEPTED SOLUTION
BIHelper
Frequent Visitor

Hi @Xilitor01 ,

You need to create this measure to get dynamic text.

Selection = Var City=CONCATENATE("City: ",SELECTEDVALUE(Sheet2[city ]))
Var Channel= CONCATENATE("Sales Channel: ",SELECTEDVALUE(Sheet2[sales Channel]))
return
CONCATENATE(CONCATENATE(City,", "),Channel)
 
 
This is the output came for my data
BIHelper_0-1664887873161.png

Thank You!
Mark this as solution if it satisfyies your requirement.

 

View solution in original post

3 REPLIES 3
BIHelper
Frequent Visitor

Hi @Xilitor01 ,

You need to create this measure to get dynamic text.

Selection = Var City=CONCATENATE("City: ",SELECTEDVALUE(Sheet2[city ]))
Var Channel= CONCATENATE("Sales Channel: ",SELECTEDVALUE(Sheet2[sales Channel]))
return
CONCATENATE(CONCATENATE(City,", "),Channel)
 
 
This is the output came for my data
BIHelper_0-1664887873161.png

Thank You!
Mark this as solution if it satisfyies your requirement.

 

amitchandak
Super User
Super User

@Xilitor01 ,

 

You have to create a measure like

= "Country " & concatenatex(Table, Table[Country], " ," ) & "Postal Code" & concatenatex(Table, Table[Postal Code], " ," )

 

add others as per need

 

Concatenatex: https://www.youtube.com/watch?v=du2HSEzng2E&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=43

Thanks for your reply!

 

Becauwe we'd have more than 10 filters it will not create a good overview of the selected slicers as it will always show Country, Postal Code, etc.

 

Is it not possible only to show the Slicers which have been selected?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.