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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Ho wto display text instead of blanks in bar chart?


Hi,

I have Bar chart which displays count of Pass and count of Fail.

for now I have only Pass data. so, in Fail data instaed of blanks how can I show 'There are no failures' . Please can anyone suggest me.

I tried Error Message caption but it is not workign for this requirement.

Thanks.

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

Change your failed expression as

Count({<Result={'Failed'}>} Distinct Reference)/Count(Distinct(Reference))

View solution in original post

16 Replies
Not applicable
Author

Please find attached.

MK_QSL
MVP
MVP

What you want to achieve?

rustyfishbones
Master II
Master II

Hi Amelia,

You could create a text object, and conditionally show it on the graph based on the Expression

IF(Count({<Result={'Fail'}>} Distinct Reference) = 0,1,0)

See the attached file

2014-03-14_1140.png

Not applicable
Author

Thanks. Actually the attached showing the bars only for Count of Pass because the data exists only for Pass on 12/03/2014. There are no Fail data. Eventhough there is no data I would need to show the bars withe text on top as 'There are no Failures'. Please see attached.

rustyfishbones
Master II
Master II

Hi Amelia,

I don't think that can be done, at least I don't know a way

Regards

Alan

MK_QSL
MVP
MVP

Change your failed expression as

Count({<Result={'Failed'}>} Distinct Reference)/Count(Distinct(Reference))

Not applicable
Author

Thanks. But when I am moving the text object to the chart it is disabling . How can I set this. Moreover I would need to show the bars for Failures also. Is it possible?

Not applicable
Author

Thanks. That's perfect. Is there any way that I can show for the remaining people there are no failures?

MK_QSL
MVP
MVP

like this?