Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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 - Contributor III
Partner - Contributor III

Try:

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

View solution in original post

Jan-Hendrik
Partner - Contributor III
Partner - Contributor III

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 - Contributor III
Partner - Contributor III

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 - Contributor III
Partner - Contributor III

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

JanHendrik_0-1691833200396.png