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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
dokat
Post Prodigy
Post Prodigy

Show multiple slicer selection as dynamic text

Hi,

 

I'd like to show slicer selections on the report as dynamic text like below. Is this possible to do in Power BI? I have slicer name, Dairy, Milk, Skim. Appreciate any help

 

US > Dairy > Milk > Skim

1 ACCEPTED SOLUTION
dokat
Post Prodigy
Post Prodigy

Below formula works

 

Title =
"US > DAIRY> "
& (CONCATENATEX (
VALUES ( 'Dairy'[Dairy] ),
'Dairy'[Dairy])
&
" >"
&

CONCATENATEX (
VALUES ( 'Dairy'[Milk] ),
'Dairy'[Milk],
", "

))

View solution in original post

5 REPLIES 5
dokat
Post Prodigy
Post Prodigy

Below formula works

 

Title =
"US > DAIRY> "
& (CONCATENATEX (
VALUES ( 'Dairy'[Dairy] ),
'Dairy'[Dairy])
&
" >"
&

CONCATENATEX (
VALUES ( 'Dairy'[Milk] ),
'Dairy'[Milk],
", "

))

amitchandak
Super User
Super User

@dokat , On why is drag them in one slicer and create Hierarchical slicer.

 

Second use bookmarks. Show hide.

 

Thrid is - unpivot all these columns and you will get these names in rows. Then create two slicers one with a column name, another with values

 

https://radacad.com/pivot-and-unpivot-with-power-bi

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

I tried below formula it works for the first slicer(Dairy) and doesnt show the value in second slicer(Milk) and anytime it is not selected it shows all the values. I want it to show only values when slicer is selected.

 

Title =
"US > STATIONERY > "
& CONCATENATEX (
VALUES ( 'Dairy'[Dairy] ),
'Dairy'[Milk],

", ",
CONCATENATEX (
VALUES ( 'Dairy'[Dairy] ),
'Dairy'[Milk],
))

@dokat ,
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak   Ultimately I want outcome to look like below.

 

US > Dairy > Milk        Dairy and Milk Slicer Selection

or

US > Dairy                    Dairy Slice Selection

or US                             No Slicer Slection

 

I tried below formula it works for the most part however still shows ">" when no slicer is selected and i'd like it to show blank when no slicer is selected

 

Title = "US > Dairy> "
&
SELECTEDVALUE('Dairy'[Dairy],"")
&
" >"
&

SELECTEDVALUE('Dairy'[Milk],"")

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.