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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Input Data from Calendar and using the same get the data from the SQL tables

How do I get the matching data based on the input passed from the Input Fields. For example if have start and end date as my input how do i filter the records from the main data for the inputted values.

21 Replies
Not applicable
Author

Hi

Since i am not able to open the file is there anyway you can send me the script file.

Thanks for the help.  The screenshot which you sent me is what i am expecting.

Ramesh

MayilVahanan

HI

In script:

Load * Inline

[

ID,Sales,Date

1,1000,10/01/2012

2,1000,10/02/2012

3,500,10/03/2012

4,600,10/04/2012

];

Straight table:

1.Date as Dimension

2.=Sum({<Date = {'>=$(=Date(vStart))<=$(=Date(vEnd))'}>}Sales) as expression

vEndVariable.PNG

vStart.PNG

Hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.