Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Re : Repeated Expressions

Hi Friends,

I'm designing report in QV.

In my report, i have developed expression.

Most expression have same conditions.

Is there any way to avoid this repeated expression?

This expression is used in single sheet and it should not affect the next sheet in the document.

Thanks in advance.

3 Replies
Not applicable
Author

Have you tried setting the expression as a variable?

Then you could just use $ expansion in the chart.

Not applicable
Author

Hi,

Yes, at present we create variable and use it as expression.

Is there anyway, like adding script and something.

Thanks for the reply.

deepakk
Partner - Specialist III
Partner - Specialist III

There are manu ways to do it..

Eg : We are checking if Customer is Active

Customer Sales Order Count

Sum(If(Customer_Status ='A',Sales)) Count(if(Column(1) > 0, OrderID)

You can use the expression in first column and in the second expression you can check if the COlumn(1) > 0...

Deepak