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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Analyst240
Contributor III
Contributor III

expression issue with averages

Hello,

 

I am having issues with a expression

Currently my expression is the following: 

=if(ReleaseDate >= date(08/08/2019,'MM/DD/YYYY'),sum(MissingCounts),'n/a')

The goal is to find the average MissingCounts of the past two weeks of data. 

When I run the report I am getting a  '-' for an answer. I believe this is a miscalculation issue. Something like dates and numerical value being compared with no defined answer.  All included data for the report has data so I am seeing > 0 for all included data used in MissingCounts. 

 

Thanks

 

Labels (1)
2 Replies
gmenoutis
Partner - Creator II
Partner - Creator II

Try using date# instead of date, since you want to convert the text to date and not the other way around

bharathadde
Creator II
Creator II

=sum({<ReleaseDate {'>=08/08/2019'} >}MissingCounts)