Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
vignesh_s
Creator
Creator

Script for Quantities with Intervals

hi everyone,

can any 1 explain the script with example to find the price for number of quantity sold, if quantity have an intervals

for exam, the quantity sold is 5, i have interval like

For Product , 1 to 3 quantities costs 100rs and quantities 4 to 15 costs 110rs

Hence for first 5 quantity sold the total price is 520rs

1 Reply
vignesh_s
Creator
Creator
Author


cont.... of the above

(3*100)+(2*110) = 520)