Hello,
I have a query that ranks records and I'd like it to say BEST for the highest and WORST for the lowest. If I had a set # of vendors - I could always say that the Rank of 1 = BEST and the Rank of - let's say - 12 was the WORST - but one quarter I may have 12 and the next quarter I may have 13.
Is there a way to write an IIf statement for this?
I thought this would work but it doesn't like it. I am writing it in the same query where they are being ranked (not even sure that is possible)
(IIf([Ranking]=MIN([Ranking]),"BEST",""
)
I have a query that ranks records and I'd like it to say BEST for the highest and WORST for the lowest. If I had a set # of vendors - I could always say that the Rank of 1 = BEST and the Rank of - let's say - 12 was the WORST - but one quarter I may have 12 and the next quarter I may have 13.
Is there a way to write an IIf statement for this?
I thought this would work but it doesn't like it. I am writing it in the same query where they are being ranked (not even sure that is possible)
(IIf([Ranking]=MIN([Ranking]),"BEST",""