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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

set analysis

HI,

in my dashboard  year and month listboxes are there.

when i clicked any year and month then appear  sales of that year,above all months of that selected month

EX:

i selected 2014,march output is sales of mar,apr,may........dec in 2014

i selected 2013,march output is sales of mar,apr,may........dec in 2013

Labels (1)
1 Solution

Accepted Solutions
sushil353
Master II
Master II

Hi,

Try like:

Sum({<Year= {'$(=Max(Year))'},Month = {">= $(=Max(Month))"}>}Sales)

HTH

Sushil

View solution in original post

3 Replies
sushil353
Master II
Master II

Hi,

Try like:

Sum({<Year= {'$(=Max(Year))'},Month = {">= $(=Max(Month))"}>}Sales)

HTH

Sushil

kiranmanoharrode
Creator III
Creator III

Hi Anil,

Try Below Expression:

=Sum({<DateField={"$(>=Max(DateField))"},YearField=,MonthField=>}Sales)

Regards,
Kiran

jagan
Partner - Champion III
Partner - Champion III

Hi,

Try like this, If you have a date field

sum({<MonthDimension=, DateDimensionName={'>=$(Date(Max(DateDimensionName)))<=$(=YearEnd(Max(DateDimensionName)))'}>}Sales)


Hope this helps you.


Regards,

Jagan.