2 Replies Latest reply: May 8, 2018 9:06 AM by Mark Ritter RSS

    Setting global filter (in scipt) which affects whole app

    Глеб Аитов

      Hello,

       

      Is there way to set certain filter in script, rather than ammending each formula in the app with set analysis?

       

      I have loaded data for 2 organizations into the app.

       

      Company:

      Beta

      Gamma

       

      I want to SUM (< {Company={'Beta'} }> Sales), but i want to write something in the scipt which will effect the whole application and make possible using SUM (Sales) to return sales for Beta company (w/o set analysis).

       

      I don't want to check all pages of my monster script for the places where I could have used Company field.

      Is it possible with one line in the end of the script?

       

      Cheers!