Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Need help !!!!!!!!

Hi All ,

I have QVW doc i calculated variance buy using actual(A) and  Target(T)

Finally I got some value Now i want to calculate count

how may 0 are there in my variance i want calculate in  any object

as well <0 how may are there like that

please see the attachments

Labels (1)
1 Solution

Accepted Solutions
maxgro
MVP
MVP

try with

=count(if (aggr(CAS_Date_Value1-CAS_Date_Value2, CAD_Activity_ID, CAM_ID)>0, CAM_ID) )

instead of

=if(vVarience >0,count(vVarience))

View solution in original post

1 Reply
maxgro
MVP
MVP

try with

=count(if (aggr(CAS_Date_Value1-CAS_Date_Value2, CAD_Activity_ID, CAM_ID)>0, CAM_ID) )

instead of

=if(vVarience >0,count(vVarience))