My dataset looks like
0012 Apple
0012 Multi
0012 Orange
0012 Banana
0014 Apple
0014 Multi
0014 Orange
0025 Multi
0021 Multi
0032 Apple
0032 Multi
0032 Orange
0032 Banana
0034 Apple
0034 Multi
0035 Apple
In tableau I have the follwing view
and what I try to achieve is a column that only marks "yes" for the stores that has only one single row, and the value for the row is "Multi". So In my data, only store 0021
and 0025
should have "yes". All other rows should have "Null". So when I filter I should only see the yellow rows in the picture above.
I have tried with the following calculations but it doesn't give me the expected result.
Calculation1 = { FIXED [Store]: MAX([Product]) = "Multi"}
and
Calculation2 = IF [Product] = "Multi" THEN "Yes" END
Any ideas how I can achieve this?