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: 
mhmmd_srf
Creator II
Creator II

Set Analysis is not Working Propperly

Hi All,

I have a Date Filter and I want to make my set expression like this.

If we select Year = 2017, Month = March then we will have dates will be 1st March to 10 march.

If i select any date it will show value for till that date.

My expression is below:

Count({<DT={'=<$(v2)'}>}OrderLineDueCount).

But this is not working.

I am attaching my qvw file.

Could you please check and help to resolve.

Thanks,

Sarif

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

Try this

=Count({<DT={'<=$(=$(v2))'}>}OrderLineDueCount)

View solution in original post

3 Replies
Anil_Babu_Samineni
MVP
MVP

65 MG is file size.. WOW

Count({<DT = {'$( '<=' & =Max(DT))'}, Year = {'$(=Max(Year))'}>} OrderLineDueCount)

Or

Count({<DT = {"<= $(=Max(DT))"}, Year = {'$(=Max(Year))'}>} OrderLineDueCount)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
MK_QSL
MVP
MVP

sunny_talwar
MVP
MVP

Try this

=Count({<DT={'<=$(=$(v2))'}>}OrderLineDueCount)