Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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.