Qlik Community

New to Qlik Sense

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

Announcements
Support Case Portal has moved to Qlik Community! Read the FAQs to start exploring Support resources.
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 (2)
2 Replies
gmenoutis
Partner
Partner

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)