Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
shiveshsingh
Master
Master

No data to display

Hi all

When we don't have any data which meets expression condition in chart, we get "No data to display".

Can we export this message to any variable?

Any leads?

Thanks

Shivesh

4 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

HI,

You can create a variable which has same expression condition which you have given on chart and then set the text which you want if condition is not fulfill and use that variable wherever you want.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
shiveshsingh
Master
Master
Author

Thanks for your response,

i couldn't understand this statemen..

then set the text which you want if condition is not fulfill and use that variable wherever you want.

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Let us assume that you have condition as below.

Getselectedcount(Field)=1

Then your variable should have like below expression.

If(Getselectedcount(Field)<>1,'Condition Not matched','Condition Matched');

Hope its clear.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
shiveshsingh
Master
Master
Author

Hi Kaushik

Here i don't want to use expression as i am having lots of expression in the chart.

Can we have some other way for this?

Thanks