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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
vanderson009
Creator III
Creator III

ListBox

Hi guys,

I have 12 Month of Data, I have list box which shows 12 Month.

but i want only show lates 6 month, for that what expression should i use.

- Thanks in advance,

Villyee

1 Solution

Accepted Solutions
VishalWaghole
Specialist II
Specialist II

Try this,

=IF(Date > AddMonths(MonthStart(Today()),-6), Month)

View solution in original post

2 Replies
its_anandrjs
Champion III
Champion III

The last 6 months expressions is

In load script

Ex:-

Load

tempdate,

IF(YourDateField> AddMonths(MonthStart(Today()),-5), Month) as Last6Months

From Location;

Or in front end write in any list box

IF(YourDateField > AddMonths(MonthStart(Today()),-5), Month)

VishalWaghole
Specialist II
Specialist II

Try this,

=IF(Date > AddMonths(MonthStart(Today()),-6), Month)