Forum Discussion

yashwant101's avatar
yashwant101
Helper III
1 year ago
Solved

Multiselect with Disconnect Table

Hi all, I have 2 disconnected tables. I am taking data from one of the tables and a slicer (Patient Copay) from another. Now I need to filter grids based on the slicer. To do that I am creating a me...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi yashwant101 

    Please try the following measure:

    Measure = IF(ISFILTERED('Patient Copay Amount'[Patient Copay]),
    SWITCH(
    TRUE(),
     "0-50" IN VALUES('Patient Copay Amount'[Patient Copay]) && [Total Copay]<=30, 1,
     "50-100"IN VALUES('Patient Copay Amount'[Patient Copay])&& [Total Copay]>30 && [Total Copay]<=100, 1,
    "100-150"IN VALUES('Patient Copay Amount'[Patient Copay]) && [Total Copay]>100 && [Total Copay]<=160, 1,
     "150-200"IN VALUES('Patient Copay Amount'[Patient Copay]) && [Total Copay]>160, 1,
    0
    ),1
    )


    Result:

     

     

     

     

     

     

     

     

    Best Regards,

    Jayleny

     

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