Forum Discussion

dokat's avatar
dokat
Post Prodigy
4 years ago
Solved

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

  • Below formula works

     

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

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

    ))

5 Replies

    • dokat's avatar
      dokat
      Post Prodigy

      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],
      ))
      • amitchandak's avatar
        amitchandak
        Super User

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

  • dokat's avatar
    dokat
    Post Prodigy

    Below formula works

     

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

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

    ))