Question2
Read the sales.csv dataset.
- Using the Rule Engine node, create a new column “currency” with value “USD” for the orders
from the USA, and “EUR” for the orders from Germany.
- Using the Rule Engine node, create a new column “conversion” with value 1 if currency is
“EUR”, and 0.88 if currency is “USD” (we refer to the exchange rate of Nov-04-2018).
- Using the Math Formula node, calculate values in a new column named “amount-in-EUR” by
multiplying the value in column “amount” by the value in column “conversion”.
The product names are of type “prod_1”. Using the String Manipulation node, change the product names to “1”, “2”, and so on.
To use this workflow in KNIME, download it from the below URL and open it in KNIME:
Download WorkflowDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.