Forum Discussion

Martin2024's avatar
Martin2024
New Member
1 year ago
Solved

Read values ​​from filter (Mass Filter Slicer)

Hello everyone,   is it possible to read the values ​​that were entered into the Mass Filter Slicer?     If not, you can somehow read the values ​​that are displayed in the filter icon for...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Thanks for the reply from MFelix , please allow me to provide another insight:

    Hi, Martin2024 
    Thanks for reaching out to the Microsoft fabric community forum.

    Regarding the issue you raised, my solution is as follows:

    1.Firstly, I created the following test data:

    2.Secondly, I created the following calculated table to be used as a Mass Filter Slicer:

    Table = VALUES('data table'[date])

    Please ensure that no relationships are established between the new table and the original table:

    3.Next, I created the following measures:

    Measure = IF(MAX('data table'[date]) IN VALUES('Table'[date]),0,1)

    4.And applied them to the visual objects:

    5.Here's my final result, which I hope meets your requirements.

    Please find the attached pbix relevant to the case.

     

    Best Regards,

    Leroy Lu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.