Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
9 years ago
Solved

Search a string based on a filter

Hi All,   I am trying out following scenario to search on a string based on a filter.   So i have a slicer which contains the name of the materials. Once i select one material i need to search th...
  • v-haibl-msft's avatar
    9 years ago

    Anonymous

     

    Did you create ISITEM as a calculated column? You need to create it as measure with following formula and drag it into table visual as below.

     

    ISITEM = 
    IF (
        ISERROR ( SEARCH ( [ITEM], CALCULATE ( MAX ( RULES_TAB[RULES] ) ) ) ),
        0,
        1
    )

     

    Best Regards,
    Herbert