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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Prithika
Contributor III
Contributor III

EXPRESSION

 

HELLO

Capturedwqq.PNG

I have the following dataset . i have to write an expression to show the state value if the status is 'present' and date is 9-aug-2023. can someone help me.

Labels (1)
2 Solutions

Accepted Solutions
Jan-Hendrik
Partner - Creator
Partner - Creator

Try:

sum( {< Status = {"=lower(Status) = 'present'"}, Date = {"=Date(Date,'YYYY/MM/DD') = '2023/08/09'"} >} state)

View solution in original post

Jan-Hendrik
Partner - Creator
Partner - Creator

Change the field name [Date] for the Date() function to the field name [Sheet1-1.Date]

JanHendrik_0-1691833200396.png

 

View solution in original post

3 Replies
Jan-Hendrik
Partner - Creator
Partner - Creator

Try:

sum( {< Status = {"=lower(Status) = 'present'"}, Date = {"=Date(Date,'YYYY/MM/DD') = '2023/08/09'"} >} state)

Prithika
Contributor III
Contributor III
Author

Capturetyukir.PNG

did i made some mistakes its not showing any changes

field name of Status is status

field name of Date is Sheet1-1.Date

field name of state is state

Jan-Hendrik
Partner - Creator
Partner - Creator

Change the field name [Date] for the Date() function to the field name [Sheet1-1.Date]

JanHendrik_0-1691833200396.png