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: 
Not applicable

Error Message to Display when something is selected out of Range

Hi All,

My application has Year, Month and Quarter list box to select values. Lets say a user clicks on the Current Year and picks Q1 and accidentally chose December. I need to restrict this and display a message that the selection is incorrect. How can this be done?

What happens now is the application goes back to 2013 dec. But I lose other Key selections that drives the application.

Thanks,

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

If User has selected Q1, December would not be available for selection at all if you have proper data model...

Any way, you can have one trick...

All your list box, you can create by writing an expression

AGGR(Year,Year)

AGGR(Quarter, Quarter)

AGGR(Month,Month)

Try them and let us know if this will work for you or not...

View solution in original post

3 Replies
MK_QSL
MVP
MVP

If User has selected Q1, December would not be available for selection at all if you have proper data model...

Any way, you can have one trick...

All your list box, you can create by writing an expression

AGGR(Year,Year)

AGGR(Quarter, Quarter)

AGGR(Month,Month)

Try them and let us know if this will work for you or not...

Not applicable
Author


Hi,

In chart general tab Write a condition whatever you want and click on error message

and write user defined error message to provide to the user.

Not applicable
Author

Thank u Manish that works