Hello there.
I struggle to create a expression and it seems i'm not able to solve by myself. If someone who have a better knowledge about it, maybe can help me.
The expression is this:
if(ListContains([publication rating], AllMusic-0.5, 0), 10,)if(ListContains([publication rating], AllMusic-1, 0), 20,)if(ListContains([publication rating], AllMusic-1.5, 0), 30,)if(ListContains([publication rating], AllMusic-2, 0), 40,)if(ListContains([publication rating], AllMusic-2.5, 0), 50,)if(ListContains([publication rating], AllMusic-3, 0), 60,) if(ListContains([publication rating], AllMusic-3.5, 0), 70,)if(ListContains([publication rating], AllMusic-4, 0), 80,)if(ListContains([publication rating], AllMusic-4.5, 0), 90,)if(ListContains([publication rating], AllMusic-5, 0), 100,)
So the expression instead show me the value i have in that field, when meet the .5 value it show the same value where is none.
Ex of the custom field:
AllMusic-3 value it shows 60
AllMusic-3.5 value it show 60, instead as 70. The problem i think it is in these .5 and dunno how to avoid this issue.
I did try different variants of expression but none work.
Thanks