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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
rathnam_qv
Creator
Creator

Set Analysis

Hi all,

i have Quaters data..

in the Month Listbox if i select May, it should give may and April Data as well

how can i achieve that

Urgent Please...

Can any one help me...

Thanks in Advance

Smiley

4 Replies
Not applicable

Add new column to your table

sum({$<Month={$=(Max(Month)-1)}>} Sales)

narender123
Specialist
Specialist

=sum({<Month={">= $(=MaxString(Month)-1)"}>} Amount)

Thanks

Narender

er_mohit
Master II
Master II

Try this

sum({$<Date = {">=$(=MonthStart(Max(Date),-1))<=$(=MonthEnd(Max(Date)))"},Year=,Month=>}Sale)

mikecrengland
Creator III
Creator III

You might try something like:

=sum({<Month *= >} Total <Quarter> SalesAmount)