Forum Discussion

badger123's avatar
badger123
Icon for Resolver I rankResolver I
7 years ago
Solved

Tables and slicers

Hello folks,   I have been thinking about how to slice my data for a number of different charts and have come up stuck on how to include and exclude data my report.   phrase tags french wi...
  • TeigeGao's avatar
    7 years ago

    Hi badger123 ,

    We can use the following method:

    First we can create two calculated table using the following DAX query:

    tags = VALUES(Table1[tags])
    phrase = SUMMARIZE(Table1,Table1[phrase],"tag",CONCATENATEX(Table1,Table1[tags],","))

    Then we can create a measure like below:

    Measure = var a = CONCATENATEX(ALLSELECTED(tags[tags]),tags[tags],",")
    return IF(MIN(phrase[tag]) = a,1,0)

    After that we can add this measure as filter:

    The result will like below:

    Best Regards,

    Teige