Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
abhijith28
Creator II
Creator II

Error handling in qlik sense

Hi,

someone please help me with the solution,

I have KPI object: sum({dates<dates={'=max(dates)'}>}sales),</dates={'=max(dates)'}>

where the sales values are null for many dates.

Suppose if i select the dates filter, the KPI object displays: "Data visualization fails to render".

Instead i have to display data not available

 

Labels (1)
1 Solution

Accepted Solutions
Gysbert_Wassenaar

Perhaps this expression will do:

If(sum({dates<dates={'=max(dates)'}>}sales), sum({dates<dates={'=max(dates)'}>}sales), 'No data available')


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar

Perhaps this expression will do:

If(sum({dates<dates={'=max(dates)'}>}sales), sum({dates<dates={'=max(dates)'}>}sales), 'No data available')


talk is cheap, supply exceeds demand
abhijith28
Creator II
Creator II
Author

Thank you so much, it is working fine.

But there is one issue,  i have two measures in single KPI differentiated by two dates with red n green color accordingly.

Based the > and < (red n green) color are dynamic.

If the above solution is implemented the current color red or green will be applied. I need single color to be displayed when the data is null.

Is it possible to implement it in Data Handling