Discussion Board for collaboration related to QlikView App Development.
Please help me out for the following requirement.
Thanks and Regards,
would just use a transparent text box and getselectedcount, where you include a 'show if' condition.
If(getselectedcount(year)<>1 AND getselectedcount(month)<>1)
As text you just write "Please select exactly one year & one month value."
Through the conditional show the text box only appears if the user has NOT selected one year and one month
Or you can simply do it in the chart under General tab. Under Calculated conditions write "not isnull (year) and not isnull (month)". Replace year and month with the names in your application.
Then under Error messages - still under General tab - you tell the user what to do. Go to the last one - Calculated condition unfulfilled - and write "Please select at least one year and month".
Use this condition in the Chart Properties->General->Calculation Condition
=if((Len(GetFieldSelections(Year))=0) OR (Len(GetFieldSelections(Month))=0), 0,1)
and change the Error message of "Calculation of condition unfulfilled" standard message as you wish.
Please see attached - two examples. One where it is possible to select only one value and one where it is possible to select more than one. It depends on your purpose which one you will choose.
Where you have inserted this message "Please select one client" and "Please select at least one client". I am still not clear!
If you right click on the table, choose properties and go under the general tab, then you see a button under the chart types that is called "Error messages". Click on that one and you see 6 standard messages. Click on the last one "Calculated condition fulfilled". In my application you will see the text "Please select .... " under Custom message. In your own application Custom message will be empty so just type whatever text you want the user to see.