I have a Qlik Sense app, where a user selected a time period to investigate. They have a choice of which date to use - so it might be the date the quote was received, it was issued, or it was agreed - using an extension to chose one of the three options, which are stored as a data island in the data model. I am using a date picker to select the range of dates, and they are stored as a variables.
Then I want to use set analysis to calculate the number of quotes issued in the period selected split by Region, and display in a pie chart. Before I added the complication of the choice of dates, the Set Analysis I used was: