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: 
Not applicable

Disable all cell formatting

I'm using cell formatting to show erroneous data in a chart. This is done by adjusting background colour and text colour in every expression; for example like this for background colour:

=if( (TaskGoLiveDate < TaskCreatedDate) ,red(),)

Now I'd like to add a toggle button to show/disable this formatting. The only way I can think of is to create a variable like vShowFormatting and then add an IF-statement to only show the formatting if the variable is set to a certain value. I can then create a button that toggles this value.

However, I have formatting for a lot of different expressions. So it would take a lot of time to edit each expression one by one. Is there any other way to achieve cell formatting on/off?

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Gustav

Using a variable like you are planning sounds sensible, and yup editing loads of expressions can be right pain.  But can be made less painful by, in the QV Desktop :

  • Settings
  • Expression Overview

This shows all expressions in one go and allows you to do Find/Replace across all of them.

I would strongly suggest you take a backup copy of qvw first, as using this, especially for the first time, it is possible to destroy things.

Best regards,     Bill

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Gustav

Using a variable like you are planning sounds sensible, and yup editing loads of expressions can be right pain.  But can be made less painful by, in the QV Desktop :

  • Settings
  • Expression Overview

This shows all expressions in one go and allows you to do Find/Replace across all of them.

I would strongly suggest you take a backup copy of qvw first, as using this, especially for the first time, it is possible to destroy things.

Best regards,     Bill

Not applicable
Author

Thanks Bill, I'll just have to do it that way then. Thanks for the tip on the expression editor!