Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!

"Unexpected Token" error for License Monitoring app when capacity license limit is reached

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Andreas_Giesbrecht

"Unexpected Token" error for License Monitoring app when capacity license limit is reached

Last Update:

Aug 2, 2021 8:31:03 AM

Updated By:

Andreas_Giesbrecht

Created date:

Aug 2, 2021 6:57:01 AM

You might face the following reload error message with the Qlik Sense license monitoring app if users have reached the limit of the capacity license:

Error: Unexpected token: '&', expected one of: '(', ',', ')', 'Yellow', 'ZTestw_z', 'OPERATOR_PLUS', 'OPERATOR_MINUS', ...
Execution Failed
Execution finished.

 

Environment

  • All Qlik Sense Enterprise on-premise versions

 

Resolution

 

The following workaround seems to solve the issue, just use the following code:

Let vs_analyzer_capacity_run_out_days = if(IsNull(vs_analyzer_capacity_per_day),0,If(vs_analyzer_capacity_per_day=0,99,Floor(vs_analyzer_capacity_Allocated/vs_analyzer_capacity_per_day)));

 Instead of:

 Let vs_analyzer_capacity_run_out_days = If(vs_analyzer_capacity_per_day=0,99,Floor(vs_analyzer_capacity_Allocated/vs_analyzer_capacity_per_day));

Labels (2)
Version history
Last update:
‎2021-08-02 08:31 AM
Updated by: