Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
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

Need help with an expression

Hello i've a problem with the expression below, i've refered to the help guide within Qlikview and I believe I am following the correct syntax.

count(if(mid(Move_Out_Date,4,2)='07'and left(Post_Code,4)='SO15'))

1 Solution

Accepted Solutions
deepakk
Valued Contributor III

Re: Need help with an expression

hi,

you need tao dd the field on which you need to count

count(if(mid(Move_Out_Date,4,2)='07'and left(Post_Code,4)='SO15' , FIELDNAME   )  )

Deepak

3 Replies
deepakk
Valued Contributor III

Re: Need help with an expression

hi,

you need tao dd the field on which you need to count

count(if(mid(Move_Out_Date,4,2)='07'and left(Post_Code,4)='SO15' , FIELDNAME   )  )

Deepak

jagannalla
Valued Contributor III

Re: Need help with an expression

I think you are missing column to count

count(if(mid(Move_Out_Date,4,2)='07'and left(Post_Code,4)='SO15'))

=count(if(mid(Move_Out_Date,4,2)='07' and left(Post_Code,4)='SO15' ,ColumnName))

Not applicable

Re: Need help with an expression

Thanks guys, I didnt have a field I wanted to use as count so I added the field '1 as count' in the same table as move out date so the final expression looked like this :- count(if(mid(Move_Out_Date,4,2)='08'and left(Post_Code,4)='SO15','Count'))

Community Browser