Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
OTwist
Contributor
Contributor

How to show no result when selection is invalid in embedded sheet

Hello, I am a new developper in QlikSense.

This is my first post, I hope I am not out of line, but please, if so, do let me know 🙂

 

So, I am developping a dashboard on QlikSense to be displayed as an embedded item in Salesforce. The goal is to show the sales of a customer. For this purpose, we pass the customer number as a selection to the Dashboard. From time to time, the customer exists in Salesforce but has no data in my dashboard. Which is completely normal.

 

However, in this case, the dashboard display the whole sales instead of none as there is "no selection".

 

Can this be avoided ? any tips welcome !

 

Labels (1)
  • SaaS

1 Solution

Accepted Solutions
Digvijay_Singh

I may have misunderstood, but looks like you only want to show measure value if there is a selection in the customer number, probably you would try to add a check in your measure - 

if (getselectecount(Customer_Number) >0, Sum(Sales), 'No Selecttions')

Not sure if that would work as intended but you may try something like this.

View solution in original post

2 Replies
Digvijay_Singh

I may have misunderstood, but looks like you only want to show measure value if there is a selection in the customer number, probably you would try to add a check in your measure - 

if (getselectecount(Customer_Number) >0, Sum(Sales), 'No Selecttions')

Not sure if that would work as intended but you may try something like this.

OTwist
Contributor
Contributor
Author

Thanks, that did help indeed !