04_expressions.txt

04_expressions.txt
// Sum of all counters (see 02_data.txt Bugzilla Table)
// Counter is an auxiliary field which is always 1 for counting how many have been chosen, 
// depends on whether a fingerprint is selected or not
// used in the "Tickets by Severity" and "Tickets by Year" charts
SET vConditionalSum = if(GetSelectedCount(SmartFilter), sum({$<NoiseLevel={'<=$1'}>} Counter), sum(Counter));