Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Filter out values of dropdown based on another column

We have tracking frequency namely Daily, Weekly, Monthly, Quarterly which we have shown in dropdown using field parameter. The dropdown should show frequencies which are equal to or greater than the...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi Anonymous ,

     

    I suggest you to create an unrelated table for slicer.

    Lowest frequency = 
    DATATABLE(
        "Parameter",STRING,
        "Order",INTEGER,
        {{"Daily",0},
        {"Weekly",1},
        {"Monthly",2},
        {"Quarterly",3}
    }
    )

    Then create a measure.

    Measure = 
    VAR _SELECT = SELECTEDVALUE('Lowest frequency'[Order])
    RETURN
    IF(MAX(Parameter[Parameter Order])>=_SELECT,1,0)

    Add this measure into parameter field slicer and set it to show items when value =1.

    Best Regards,
    Rico Zhou

     

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