Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
nareshthavidishetty
Creator III
Creator III

Issue with set analysis

Hi,

I have used the below set analysis.

=Sum({$<[Month Abbr]=, Year=, [Quarter Name]=, [Calendar Date]={">$(=Date(monthend(max([Calendar Date]),-6)) ,'DD-MMM-YYYY') <=$(=Date(monthend(max([Calendar Date]),-5)) ,'DD-MMM-YYYY'))"}>}[# Open])

Is there anything wrong with the above logic.

Because when i tested in text box I'm getting both the results means with and without set analysis were same.

Thanks..

3 Replies
olivierrobin
Specialist III
Specialist III

hello

if you have the same result with and without set analysis, it means you set analysis filters nothing

Just a question : isn't you formula equals to Calendar date=max(date)-5 ?

nareshthavidishetty
Creator III
Creator III
Author

Yes

olivierrobin
Specialist III
Specialist III

so you can simplify you formula

did you verify that :

you have data corresponding to the selection

the format of the date field is correct

?