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: 
udaya_kumar
Specialist
Specialist

Show only the dates till we have data for table in slider

Hi,

I have a field name by name "Month_Name" which has value in database like jan2005,feb2005,..... till dec2020.

but we have currently data till feb2012, so i need to show the values in slider from jan2005.... feb2012.

but it is showing till dec2020. but if we get data for 2013, then the slider should show till 2013.

so how to do this?

i have written a macro which gets date from database till feb2012.

1 Solution

Accepted Solutions
udaya_kumar
Specialist
Specialist
Author

Hi Experts,

i got the answer for this problem

i used below expression in slider

=aggr(only({<MONTH_START_DATE= P(MONTH_START_DATE)>}MONTH_START_DATE),MONTH_START_DATE)

View solution in original post

1 Reply
udaya_kumar
Specialist
Specialist
Author

Hi Experts,

i got the answer for this problem

i used below expression in slider

=aggr(only({<MONTH_START_DATE= P(MONTH_START_DATE)>}MONTH_START_DATE),MONTH_START_DATE)