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: 
didierodayo
Partner - Creator III
Partner - Creator III

expression query

Hi ,

I have the expression below and would like to understand the where condition (date=,). What is the return when there is nothing in front of the equal sign. also could this expression be written differently?

Sum({$<Date=,[ADDRESS]={HOME},STREET={LEVIS}>} If(Movedate=Date,[Rentpay]))

Thanks for your help.

D

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

date = means that the expression should ignore any selection in date field. What's the reason to re-write the expression? is this not working or slow? Are you trying to get rid of the if statement?

View solution in original post

5 Replies
sunny_talwar
MVP
MVP

date = means that the expression should ignore any selection in date field. What's the reason to re-write the expression? is this not working or slow? Are you trying to get rid of the if statement?

didierodayo
Partner - Creator III
Partner - Creator III
Author

Thanks Sunny, Yes the chart is quite slow so I am trying to see if there is a better way of writing the same.

sunny_talwar
MVP
MVP

‌I think you might be looking to remove the if statement. Is movedate and date both fields? Are you able to share a sample to show how the data looks like?

didierodayo
Partner - Creator III
Partner - Creator III
Author

Date and Movedate are not always the same. sorry I don't have a sample data atm. the outcome is on a line chart. Thanks

sunny_talwar
MVP
MVP

Dummy data which is close to how your actual data looks