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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis

Hi ,

Pls help with set Analysis..Sample data & Required Result attached.

Thanks in advance..

Sub2u

Labels (1)
1 Reply
manojkulkarni
Partner - Specialist II
Partner - Specialist II

Use variables to calculate sales between two dates. Start date will be your Month Start of fiscal year and End date will be the last date of selected month. You can use both these variables to get sales between selected period

setst_date=date(monthstart(FirstMonthOfFiscalYear),'YYYY-MM-DD');

seten_date=date(monthend(Max(SelectedMonthYear)),'YYYY-MM-DD');

= sum({<bill_date={">=$(=st_date) <=$(=en_date)"}>}sales)