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: 
Not applicable

Set Analysis

Hi ,

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

Thanks in advance..

Sub2u

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)