Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8493

Re: Sum and display the values of a field

$
0
0

Hi,

 

You can declare global variables in a formula in header section

 

global numbervar totalABC

global numbervar totalPQR

 

 

 

 

In details section you can add the follwing formula

 

 

global numbervar totalABC

global numbervar totalPQR

 

if {Product Group}="ABC" then

(

totalABC=totalABC+{Qty}

);

 

if {Product Group}="PQR" then

(

totalPQR=totalPQR+{Qty}

);

 

 

 

 

In footer section you can add the formula field

 

totalABC

totalPQR


Viewing all articles
Browse latest Browse all 8493

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>