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: 
pgarcia75
Contributor III
Contributor III

Need Help for overall analysis

Hi all

I have created a chart with an expression :

count({1<Open_Incident={">$(=MonthStart(AddMonths(now(2),-1)))"},Open_Incident={"<$(=MonthEnd(AddMonths(now(2),-1)))"},GH={GH09},Site={HTD,CCH,BRC}>}[Domaine_Incident])

I want to select a range of dates. I thought the default mode of selection was AND between conditions.

The selection of [Open_Incident] does not work. Only the second term is active.

How can I do?

thank you

Labels (1)
1 Solution

Accepted Solutions
danielrozental
Master II
Master II

You need to write it like this

count({1<Open_Incident={">$(=MonthStart(AddMonths(now(2),-1)))<$(=MonthEnd(AddMonths(now(2),-1)))"},GH={GH09},Site={HTD,CCH,BRC}>}[Domaine_Incident])

View solution in original post

2 Replies
danielrozental
Master II
Master II

You need to write it like this

count({1<Open_Incident={">$(=MonthStart(AddMonths(now(2),-1)))<$(=MonthEnd(AddMonths(now(2),-1)))"},GH={GH09},Site={HTD,CCH,BRC}>}[Domaine_Incident])

pgarcia75
Contributor III
Contributor III
Author

Hi

It's working

Thanks for all

P