slicer with conditions - if value selected, select related values:
I have 2 tables
table 1 - list of all codes
code id, code text
table 2 with patient details
patientname, admissiondate, discharge date, codeid,codetext
(3rd table / new requirement)
3rd table contains 4 columns
in slicer when u select a code from table 3
it needs to filter that code and filter other external cause codes as shown in table 3
for example, if you select j96.0 it needs to select j96.0 and other external codes x41,x42,y11 and y12
in another scenario if i26.0 is selected then just select all records related to code i26.0 only( no associated codes to select)