Skip to main content

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

NEW webinar Dec. 7th: 2023 Outlook, A Pivotal Year for Data Integration SIGN ME UP!
Showing results for 
Search instead for 
Did you mean: 
Contributor III
Contributor III

expression issue with averages



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. 




Labels (2)
2 Replies
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

Creator II
Creator II

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