Skip to main content
Announcements
Do More with Qlik - Qlik Cloud Analytics Recap and Getting Started, June 19: REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Condition: "Variable1" is less than "Variable2 +2"

Hi,

I would like to set up a "Count"-formular, that counts "ACDCaller" in case that "ACDDuration" is less than "ACDQueueTime" + 2.

I have tried the following, however it doesn't work:

Count(
     {
       <
ACDDuration = {"<$ACDQueueTime"}+{'2'}>
     }
    
ACDCaller
     )

Can you help me with this formular?

I thank you very much for your help!

Max

6 Replies
swuehl
MVP
MVP

Try

Count(
     {
       <
ACDDuration = {"<$(ACDQueueTime)+2"}>
     }
    
ACDCaller
     )

sivarajs
Specialist II
Specialist II

Count({<$(ACDDuration)={"=<($(ACDQueueTime)+2)"}>}ACDCaller)

Not applicable
Author

Unfortunately, this didn't work...

Not applicable
Author

Unfortunately, this didn't work...

swuehl
MVP
MVP

I assumed ACDQueueTime is a QV variable, but maybe it's another field in the same table as ACDDuration?

Then try like this:

Count(
     {
       <
ACDDuration = {"=ACDDuration<ACDQueueTime+2"}>
     }
    
ACDCaller
     )

Not applicable
Author

Sorry about that. ACDQueueTime, ACDDuration and ACDCaller are all fields of one single table.