For those that are working in SharePoint Lists:
Example: I am trying to filter visibility of column2,3,4 based on the selection of column1.
In column1, don't need to do anything. just know the options are col2,col3,col4.
In column2 in the visible field, you can use this formula:
!IsBlank(Filter(column1.SelectedItems, Value = "col2"))
What this code is doing is:
- (Filter(column1.SelectedItems, Value = "col2) = create a table where the selected items are col2
- !IsBlank = is that table NOT blank (does the table have anything in it?) If so, then show col2. Else hide col2.
You would need to do this for the col3 and col4 as well.
You can also do this in the Required field of the datacard, like i did as well.
Like if this helped you, and have a great day!