You can try to use the GetSelectedCount() function :
- In a bar chart :
if(GetSelectedCount(Customer)>0 and GetSelectedCount(Customer)<10,Sum(Sales))
- In a "A" chart (above or below the bar chart):
if(getselectedcount(Customer)>0 and getselectedcount(Customer)<10, getselectedcount(Customer) & ' customer(s) selected', 'Please select less than 10 customers')
Please see attached file.
Test GetSelectedCount.qvf 160.0 K
This is not possible in Qlik Sens 1.x releases. I am not able to tell if this will be part of Qlik Sense 2.0, which is planned for release in June.
There will be several enhancements in coming Qlik Sense 2.0, my suggestion is to keep an eye on the release details in Technical Bulletin.