Forum Discussion

megskilton's avatar
megskilton
Frequent Visitor
9 years ago
Solved

Creating table visualisations showing inverse filtering results

I'm wanting to have 3 different slicers and two visualisation tables, the first two slicers will normally filter two tables containing the same data then the third filter will result in one table sho...
  • Anonymous's avatar
    Anonymous
    9 years ago

    Hi megskilton,

     

    >>the third filter will result in one table showing the filtered selection and the other showing results not in the filtered selection (Without including the filtered selection.) 

     

    I can use measure to get the filtered records and the inverted result, but I haven't find a way to enable the measure as the source of slicer.

     

    filter value:

    VALUES(Table[ColumnName])

     

    inverted filtered value:

    EXCEPT(ALL(Table[ColumnName]), VALUES(Table[ColumnName]))

     

    Measure use to display these value:

    filtered =
    var temp= CONCATENATEX(VALUES(Sheet2[Amount]),[Amount]&",")
    return
    if(LEN(temp)>0,LEFT(temp,LEN(temp)-1),temp)

     

    inverted filtered =
    var temp= CONCATENATEX(EXCEPT(ALL(Sheet2[Amount]), VALUES(Sheet2[Amount])),[Amount]&",")
    return
    if(LEN(temp)>0,LEFT(temp,LEN(temp)-1),temp)

     

     

    Regards,

    Xiaoxin Sheng