Assign discount percentage
The Furniture company is launching an exciting sales campaign with fantastic discounts for bulk buyers! Here's the deal:
- A whopping 10% discount when you buy more than 40 items.
- Enjoy a solid 8% discount for purchases between 25 and 40 items.
- Get a neat 5% discount for buying less than 25 items.
They need your help to add a new column called Discount%
and fill it with the appropriate discount percentage based on the quantity of items purchased.
If you lost any progress, browse your Local space
, click on the data-transformation-in-knime
folder, and load the 1_3_assign_discount
workflow.
This exercise is part of the course
Data Transformation in KNIME
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
