Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Day or Date range in Set analysis Expression

Dear Friends

I have an expression like below:

=sum( {<  NEW_AGENT_NAME={'*'},NEW_ENTITY_CODE={'CPM078361*'},BILL_TYPE={'SELL'}>}      sales)

I need to add a Day range to this in set analysis like from the 1st of a month to a particular date which is decided by value another column.

Example:   Value in other column is 16 then it should show sales from 1st of the month to 16th.   I have Day, DayMonth and Date field available as attached screenshot.   

How can I use these fields in set analysis.

Regards

Chintan

Labels (1)
1 Reply
MK_QSL
MVP
MVP

=sum( {< Date = {">=$(=MonthStart(Max(Date)))<=$(=Max(Date))"},  NEW_AGENT_NAME={'*'},NEW_ENTITY_CODE={'CPM078361*'},BILL_TYPE={'SELL'}>}      sales)