I am trying to re-use a formula which is used in multiple places in dashboard. I am trying to create a variable which is common across all the places like
sum({<payment={'cash'}>}sales) and create it as a variable vsales = sum({<payment={'cash'}>}sales),
Now I want to add a condition like country='IND' for one chart and country='usa' for other chart, but the calculation is same.