Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
If you’re new to Qlik Cloud or Qlik Sense, start with this Discussion Board and get up-to-speed quickly.
You can just do as below -
Price-Value as Gain
From ...
Do you need to use 'SUM' in the script, normally we use aggregated functions in the chart measure, if you need aggregation in the script then you would need group by clause as well in the load statement.