I have a problem with the “Show If” expression in a reference view.
I have two tables (Type 1 and Type 2) an a join table.
Type 1 contains people and Type 2 their transportation mode.
In the join table these in the third table.
For both types I have a simple overview and detail view. The detail view shows the related data from the join table.
The goal is to show the name of the current type first. So when looking at Alice I want to have Alice as title and Auto as subtitle. When looking at Auto I want the reverse. As you can see below this is not the case. Both views have the “Join Type 1” view.
“Join Type 1” is a copy of the default inline view but with card mode and some configuration. There is also “Join Type 2” which shows the Type 2 name first as described earlier.
I expected the “Show if” expression would allow me to configure when the views are shown. However I don’t get it to work. I have set “Join Type 1” to “false” but it still shows in both cases. Could it be that I’m using the “Show If” field wrong?
When I know how I should use this “Show if” field I’d like to use the following formula to get the desired behaviour:
CONTEXT(“View”) = “Type 1_Detail”
thanks in advance,