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

Range Expression in Application

I have some data displayed in an application and one of the fields is Days Delinquent, These days range from 0-100. Does anyone have experience with an expression so that I could select from this field 0-31, 32-61, and 62-100 instead of all the days shown separately?

1 Solution

Accepted Solutions
nagaiank
Specialist III
Specialist III

Add a listbox with the expression

If([Days Delinquent] <= 31,'0-31',if([Days Delinquent] <= 61,'32-61','62-100'))

Hope this helps

View solution in original post

2 Replies
MayilVahanan

Hi,

     Try this,

     In script, Use like this,

     Load * , if([Days Delinquent] >=0 and [Days Delinquent] < 32 , '0-31', if([Days Delinquent] >=32 and [Days Delinquent] < 62, '32-61', '62-100')) as DateRange from tablename;

Hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
nagaiank
Specialist III
Specialist III

Add a listbox with the expression

If([Days Delinquent] <= 31,'0-31',if([Days Delinquent] <= 61,'32-61','62-100'))

Hope this helps