AnsweredAssumed Answered

An expression to calculate rank

Question asked by FoodStandardsScotland on Mar 23, 2018
Latest reply on Mar 23, 2018 by xander_bakker



I am bit new to the expression engine in to modifiy the pop ups in ArcGIS online. I would like to write an expression that calculcates the rank of a country based on the amount it exports of a specific product.

To do this I believe I need:

  1. Count all the countries that are exporting (>0)
  2. Sort countries from Largest exported to Smallest
  3. Work out where the specific country is on the High to Low scale.


Thanks in advance for your help