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: 
bhaminiparmar
Contributor II
Contributor II

Set Analysis Senario

Hello Everyone,
this is a Set Analysis scenario-based question
can anyone answer this question?


I have two tables that are not linked so if I make a selection eg. Today's date is 13th so if I filter out the data then it should get the date on a selection basis. (Set analysis scenario)

1 Reply
JandreKillianRIC
Partner Ambassador
Partner Ambassador

HI @bhaminiparmar 

If you only select one date you can use something like this

 

Sum({<Table1Date = {"$(=Table2Date)"}>} Sales)

 

If you are selecting more than one date (More like a range) it would be something like this 

 

Sum({<Table1Date = {">=$(=Min(Table2Date))<=$(=Max(Table2Date))"}>} Sales)

 

For this it will select the date in Table1 based on the selection of Table2. 

 

Regards - Jandre

Mark the solution as accepted that solved your problem and if you found it useful, press the like button! Check out my YouTube Channel | Follow me on LinkedIn