ToddMolino
4 hours agoQrew Cadet
Formula Query for Ranking
I'm creating competition between Agents by creating a leaderboard, however my formula query is giving me an issue. The ranking is based on the AFLAC Submitted Premium Last Week column, (FID 677). Image attached. Essentially, the highest dollar amount would land in spot 1 and continue with next highest in spot 2 etc.
Here's what I have thus far:
var text SUBLIFE = "{677.GT.'" & [AFLAC Submitted Premium Last Week] & "'}AND{23.EX.'1'";
Size(GetRecords($SUBLIFE)) + 1
Any help would be greatly appreciated!
The attached report is sorted lowest to highest by Rank.