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: 
rsdhavle
Creator III
Creator III

values in a list box in different format

HI,

In a list box of application for current year i want to show value as '2014 April YTD' and other values i need to show only year so the values in a list box will values in a different format like '2014 April YTD', 2013, 2012, 2011, 2010....and so on. Is it possible if yes how to do that?

1 Solution

Accepted Solutions
tresesco
MVP
MVP

List box expression: =If(YearField=Year(today()), MonthName(today())&' YTD' , YearField)

Update: PFA

View solution in original post

4 Replies
tresesco
MVP
MVP

List box expression: =If(YearField=Year(today()), MonthName(today())&' YTD' , YearField)

Update: PFA

amit_saini
Master III
Master III

Hi Rohan,

Try this:

pick( WildMatch(Year,'*2014*','*2013*','*2012*'),'2014 April YTD','2013','2012')


Thanks,

AS

Not applicable

If i get your question right, try this List Box Exp..

if(Year=Year(today()),Year(today())&' April YTD', Year)

Regards,

Prabhu

ashfaq_haseeb
Champion III
Champion III

Hi,

you can try something similar.

Regards

ASHFAQ