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

Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
george456
Creator
Creator

Conditions nPrinting and Variables

Dear Community

I have set up a Variable as below in qliksense

if(Sum( {<DateText={'$(=Date(Today(1)-1))'}>} Sales_Value_Excl)=Sum( {<DateText={'$(=Date(Today(1)-2))'}>} Sales_Value_Excl),0,1)

 

My question is relating to Nprinting.  

When setting up the rules does Nprinting look at the 0 & 1 in the above syntax or does it only looks at the part of =,  I tried the rule but the result was no report generated although the condition was 1 

I hope I am clear in my description

 

Thanks

Labels (2)
1 Solution

Accepted Solutions
Ruggero_Piccoli
Support
Support

Hi,

Could it be due to the lack of the = sign at the beginning of the variable definition? Refer to https://help.qlik.com/en-US/sense/February2021/Subsystems/Hub/Content/Sense_Hub/Variables/use-variab...

Could you add some details about how you created and used the condition? For example screenshots. 

Check also the logs and the task executions page. They should show you details about the results of the condition. 

Thanks

Best Regards,

Ruggero



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.

View solution in original post

2 Replies
Ruggero_Piccoli
Support
Support

Hi,

Could it be due to the lack of the = sign at the beginning of the variable definition? Refer to https://help.qlik.com/en-US/sense/February2021/Subsystems/Hub/Content/Sense_Hub/Variables/use-variab...

Could you add some details about how you created and used the condition? For example screenshots. 

Check also the logs and the task executions page. They should show you details about the results of the condition. 

Thanks

Best Regards,

Ruggero



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
george456
Creator
Creator
Author

Hi

 

Point taken on the = sign. Corrected as suggested and condition is now functional and behaving as excepted

Regards