json column formatting - operands different field value from the same item

Iron Contributor

Hey,

is it possible to create a json column formatting depend from a different column value from the same item?

Like

 

{

   "padding": "4px",

   "background-color": {

      "operator": "?",

      "operands": [

         {

            "operator": "<",

            "operands": [

               "@currentField",

               40

            ]

         },

         "#ff0000",

         "#00ff00"

      ]

   }

}

 

But not ‘ "operands": [  "@currentField" ‘ rather ‘ "operands": [  "@otherFieldname" ‘

 

Regards

Stefan

 

 

0 Replies