
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to display current,previous,next month without any selection...!!
I want to display current month,previous month,next month and Previous to previous Month.
Eg: SEPT(Previous to Previous)
OCT(Previous Month)
NOV(Current Month)
DEC(Next Month)
Note:Without any Selection,I want the following requirement to display on my chart.
- Tags:
- new_to_qlikview


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try This
Sum({<OrderDate = {">=$(=MonthStart(Today(),-2))<=$(=MonthStart(Today(),+1))"}>}Sales)
Thanks
Chaitanya

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Current Month
=Month(Today())
Previous Month
=Month(AddMonths(Today(),-1))
Previous to Previous Month
=Month(AddMonths(Today(),-2))
Next Month
=Month(AddMonths(Today(),1))

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
not Working


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you post you app ?
please try
Sum({<{$<Month = {$(=Max(Month)-1)}>}>}Sales) for previous month
Anna


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
You can try this expressions:
Current Month
sum({$<Month = {"$(=Month(Today()))"}, Year = {"$(=Year(Today()))"}>} Sales)
Previous Month
sum({$<Month = {"$(=Month(AddMonths(Today(),-1)))"}, Year = {"$(=Year(AddMonths(Today(),-1)))"}>} Sales)
Previous to Previous Month
Sum({$<Month = {"$(=Month(AddMonths(Today(),-2)))"}, Year = {"$(=Year(AddMonths(Today(),-2)))"}>} Sales)
Next Month
sum({$<Month = {"$(=Month(AddMonths(Today(),1)))"}, Year = {"$(=Year(AddMonths(Today(),1)))"}>} Sales)
Hope it helps.
