Create 3 different Images with 1 Flow using flow-variables

Dear community!

I am beginner in KNIME. I am trying ti create a flow.

The aim is to print 3 images [Node: Image Writer (Port)] with 1 flow. There are 3 groups in the data. For each group 1 image should be printed.

The Data looks like this:

Group 1; Month 1;Amount
Group 1; Month 1;Amount
Group 2; Month 1;Amount
Group 2; Month 2;Amount
Group 3; Month 1;Amount
Group 3; Month 2;Amount

For each group i would like to print 1 bar-chart (png). The name of the written Image should contain the name of the group.

Any suggestions how this could work? I tried it with Row Filter/Group Loop Start/Table Row to Variable/String to Path/Image Writer… But I found no solution.

Is this even possible or do i have to create a string configuration-node and run the flow for each group manually?

I would be grateful for help.

Greetings
Jakob

Hello @JakobJosef,

Welcome to the Forum!

You can achieve this using Image Writer (Table) node, along with group loop and Image to table node. Below is an example showing how to achieve this. I used Constant value column to pass the group name and then use it as the image name.

2024-07-31_20h17_21

Hope this helps.

Best,
Keerthan

1 Like

Dear @k10shetty1 ,
thank you so much. Combination of Group Loop and Image to Table was exactly what i was looking for. Thank you for your support - even with video <3!
Greetings
Jakob

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.