Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Use Slicer data in a smart narrative

I'm creating a report that my team members can export to PowerPoint and send to their stakeholders.  the first page of the report has multiple slicers that impact all pages.  This is so my team can s...
  • Pragati11's avatar
    4 years ago

    HI Anonymous ,

     

    You can try creating a measure using the values concatenated from all the slicer selections. Then display this measure as a footer on your report.

    Something like below:

    (I have displayed the footer on a multi-card visual as this will always be a single value based on the selections from the slicers)

    The measure that I have used is:

    Conditional Title = 
    VAR prodName = VALUES('Supermarket Sales'[Product line])
    VAR occur = COUNTROWS(ALL('Supermarket Sales'[Product line])) = COUNTROWS(prodName)
    RETURN
    IF(
        occur, "Summary of Products",
        CONCATENATE("Summary of Product Line: ",
            CONCATENATEX(
                prodName,
                'Supermarket Sales'[Product line], 
                ", "
            )
        )
    )

    Currently, it takes into account selection from a single slicer, but this can be modified as per requirement to show selections from multiple slicers.