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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
xyz1
Creator III
Creator III

?

.

1 Solution

Accepted Solutions
Anonymous
Not applicable

Try this,

IF("Schedule Variance">='0%', ' Ahead Of Schedule',IF("Schedule Variance"<'-10%', 'BehindSchedule','On Schedule'

          )) as Schedule_Classification

View solution in original post

3 Replies
Anonymous
Not applicable

Try this,

IF("Schedule Variance">='0%', ' Ahead Of Schedule',IF("Schedule Variance"<'-10%', 'BehindSchedule','On Schedule'

          )) as Schedule_Classification

Anil_Babu_Samineni

Normally percentage calculate in Decimal like 10$ - 0.1 and so on. I assume, In your case it has like below

IF("Schedule Variance">=0.0, ' Ahead Of Schedule', IF("Schedule Variance"=1, 'On Schedule',  IF("Schedule Variance"< (-0.1), 'BehindSchelule'))) as Schedule_Classification

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable

Try this...

IF("Schedule Variance">='0%', ' Ahead Of Schedule',

IF("Schedule Variance"<='-10%' and "Schedule Variance" <'0%','On Schedule',

IF("Schedule Variance"<'-10%', 'BehindSchelule')

          )) as Schedule_Classification