Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
Not applicable

Aggr function set analysis VS if

Hi there,

Can anyone explain whats the difference between these 2 expressions:

1) sum({<Confirmed={'1'}>}aggr((($(vTimeSheetTime)+$(vApprovedTime)+$(vForecast))*[Project Day Rate]),ProjectCode,ConsultingMonth,Product,Sector))


2) sum(aggr(if(Confirmed=1,(($(vTimeSheetTime)+$(vApprovedTime)+$(vForecast))*[Project Day Rate])),ProjectCode,ConsultingMonth,Product,Sector))

It seems my report does work only with the 2) expression even though i don't have any confirmed codes at all.

If I use the first expression I just get the total of the current selection and qlikview seems to ignore set analysis.

Kind Regards,

Tags (3)
Community Browser