
Contributor III
2021-03-10
08:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sum for the period
Hi, experts
Need to sum money for period where [date of sales] between [date 0f sales]-6 months and [date of sales]+ 7 days
how i can write this condition in table
- Tags:
- date
846 Views
3 Replies


MVP
2021-03-10
08:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is an impossible situation: [date of sales] can never be [date of sales] minus 6 months - it is by definition [date of sales]..?

Contributor III
2021-03-10
08:38 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok , how then to set the period ?
Is using filter to set this period good idea ?
824 Views


MVP
2021-03-10
09:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use a separate field to filter this, yes. I'm not sure why you wouldn't simply ask the user to select the range they want, but if they select a single date and you want the range specific above, you can do this in set analysis. See this thread for example syntax: https://community.qlik.com/t5/QlikView-App-Dev/Date-range-in-set-analysis/m-p/965088
789 Views
