Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Slicer/Filter help needed

We have a series of projects, split into different operating areas of the Business and each project sits in only one group. We also indicate, on each project, which are under review or not and what s...
  • v-frfei-msft's avatar
    6 years ago

    Hi Anonymous ,

     

    We can create some calculated tables and add them as slicers.

    BA Slicer = VALUES('Table'[Business Area (x10)])
    LC slcier = VALUES('Table'[Lifecycle Stage (x 4)])
    PN slicer = VALUES('Table'[Project Name])
    RS slicer = VALUES('Table'[Review Status (x 2)])

    Atfer that, We can create a measure as below and put it into the  table visual.

    Measure =
    VAR ba =
        VALUES ( 'BA Slicer'[Business Area (x10)] )
    VAR lc =
        VALUES ( 'LC slcier'[Lifecycle Stage (x 4)] )
    VAR res =
        VALUES ( 'RS slicer'[Review Status (x 2)] )
    RETURN
        IF (
            OR (
                MAX ( 'Table'[Project Name] ) = "Freeze Plan",
                MAX ( 'Table'[Business Area (x10)] ) IN ba
                    && MAX ( 'Table'[Lifecycle Stage (x 4)] ) IN lc
                    && MAX ( 'Table'[Review Status (x 2)] ) IN res
            ),
            1,
            BLANK ()
        )