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: 
brunobertels
Master
Master

use case to compare value to goal value and applicate rate of incentive and final part of incentive

Hi Expert 

i have a use case in wich a need to elaborate an incentive app. 

let's say i have 10 mesure. For each of those mesure i nedd to compare the result against the goal and a find the nearest step so that i can applicate a % of incentive and in final multiply this % of incentive by the final part of incentive. 

See below an example with 2 mesures : 

 

mesuresObjectifstep% of incentivePart of final incentive
calls handled/calls received90%81%50%20%
calls handled/calls received90%85,5%70%20%
calls handled/calls received90%90%100%20%
réitération rate80%80%50%10%
réitération rate80%81%70%10%
réitération rate80%82%100%10%

 

For example with the mesure calls handled / calls received : if the result is 84% then i need to pick % of incentive (50%) and multiply by the final part of incentive (here 20%) So i get 50% of 20% = 10 %. 

so in my mesure i would like to be able to pick corresponding value ( step , % of incentive and final part ) automatically rather than write for each mesure one manually comlexe mesure : 

for example : 

actually : 
if(
num(sum(TRAITES)/sum(PRESENTES),'00,000')>'0,90','$(=sum(1*0.2))',
if(
num(sum(TRAITES)/sum(PRESENTES),'00,000')>'0,855','$(=sum(0.7*0.2))',
if(
num(sum(TRAITES)/sum(PRESENTES),'00,000')>'0,81','$(=sum(0.5*0.2))',null())
))

 

Can i replace >0,90 , >0.855, >0.81 by a mesure or variable and the corresponding multiplication $(=sum(1*0.2)), $(=sum(0.7*0.2)) etc 

 

Not sure to be clear and sorry in advance for my approximative english 

Regards 

0 Replies