I am trying to concatenate country with its rank based on sales in if condition like
IF [TOP 20 COUNTRIES] THEN [COUNTRY]+[RANK] ELSE "OTHERS"
here I am getting error saying can not mix aggregate and non aggregate fields in if condition. then I tried like
IF ATTR( [TOP 20 COUNTRIES] ) THEN ATTR([COUNTRY])+[RANK] ELSE "OTHERS"
then also I am getting error saying Boolean can not aggregate.
Here [TOP 20 COUNTRIES] is SET of Top 20 countries based on SALES
please help me in this