# Solutions to "Just KNIME It!" Challenge 04 - Season 2

**URL:** <https://forum.knime.com/t/solutions-to-just-knime-it-challenge-04-season-2/65771>\
**Category:** Just KNIME It!\
**Tags:** justknimeit\
**Created:** [April 19, 2023, 2:00pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-04-season-2/65771 "2023-04-19T14:00:16Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![alinebessa](https://forum-cdn.knime.com/user_avatar/forum.knime.com/alinebessa/32/33306_2.png) [@alinebessa](https://forum.knime.com/u/alinebessa)\
**Post date:** [April 19, 2023, 2:00pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-04-season-2/65771/1 "2023-04-19T14:00:16Z")

</div>

📣 A new _Just KNIME It!_ challenge has just been released! 🥳

This week we have a relatively easy challenge focusing on data preprocessing. A great opportunity for those who are new-ish to KNIME to learn how powerful it can be. And for the veterans… We want to see how creative you can get here! hehe 😅

This challenge was basically proposed by @HansS and @bruno29a, and we’d like to use it as an opportunity to remind you that you too can suggest challenges for us [here](https://forum.knime.com/t/community-just-knime-it-challenges/40506). We’d love to hear it! 😍

[Here](https://www.knime.com/just-knime-it) is the challenge. Let’s use this thread to post our solutions to it, which should be uploaded to your public [KNIME Hub](https://hub.knime.com/) spaces with tag **JKISeason2-4**.

🆘 **Need help with tags?** To add tag JKISeason2-3 to your workflow, go to the description panel on the right in KNIME Analytics Platform, click the pencil to edit it, and you will see the option for adding tags right there. 🙂 Let us know if you have any problems!

 ![Calendar-01 (1)](https://forum-cdn.knime.com/uploads/default/original/3X/e/6/e6a0ecaa8a0fd2c85f3b9948a802d726cb4cb0d1.png)

---

<div class="post-metadata">

**Author:** ![lelloba](https://forum-cdn.knime.com/user_avatar/forum.knime.com/lelloba/32/43992_2.png) [@lelloba](https://forum.knime.com/u/lelloba)\
**Post date:** [April 19, 2023, 3:35pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-04-season-2/65771/2 "2023-04-19T15:35:47Z")

</div>

Hello Knimers,

here’s my take on the challenge:

> **[justknimeit02 - 04 - Raffaello Barri – lelloba](https://hub.knime.com/lelloba/spaces/Public/latest/Just%20Knime%20it!/Season_02/justknimeit02%20-%2004%20-%20Raffaello%20Barri~t3fBomqX2VYEL1-Z)**
>
> Solutions for data science: find workflows, nodes and components, and collaborate in spaces.

I made a small edit on the data, introducing new levels of aggregation.

![image](https://forum-cdn.knime.com/uploads/default/original/3X/8/5/85c189255c2a87e0b451e6f699c198368e933d53.png)

Have a nice evening,  
Raffaello

---

<div class="post-metadata">

**Author:** ![kwatari](https://forum-cdn.knime.com/user_avatar/forum.knime.com/kwatari/32/41003_2.png) [@kwatari](https://forum.knime.com/u/kwatari)\
**Post date:** [April 19, 2023, 4:15pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-04-season-2/65771/3 "2023-04-19T16:15:55Z")

</div>

Hi all, here is my solution but too many nodes…

> **[JKIS2 Challenge 04 Spread Yearly Values Across Months – kwatari](https://hub.knime.com/kwatari/spaces/Public/latest/JKIS2%20Challenge%2004%20Spread%20Yearly%20Values%20Across%20Months~MOP1idSZwmOvjcEm)**
>
> Too many nodes...

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/8/0/80689b6c63ac5142fceee4efd992622a2725045d.png)

---

<div class="post-metadata">

**Author:** ![gonhaddock](https://forum-cdn.knime.com/user_avatar/forum.knime.com/gonhaddock/32/35425_2.png) [@gonhaddock](https://forum.knime.com/u/gonhaddock)\
**Post date:** [April 19, 2023, 10:31pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-04-season-2/65771/4 "2023-04-19T22:31:04Z")

</div>

Hello KNIMErs,  
This is my solution for the @bruno29a and @HansS 's proposed challenge 04. I think (no tested yet) that it can scale for inter year project expenditures.

I’ve also deployed a component, where front user can select the time frame for the desired output table by area.

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/1/f/1f2f025aa7203a371b7d7248dede7fcc5409a04b.png)

> **[Just KNIME It S02 \_ CH04 \_ Spread Yearly Values Across Months – gonhaddock](https://hub.knime.com/gonhaddock/spaces/Just_KNIME_It/latest/Just%20KNIME%20It%20S02%20_%20CH04%20_%20Spread%20Yearly%20Values%20Across%20Months~dA3IxmMDdufpy2jp)**
>
> Your team created a summary of the total amount spent last year on each project. The data looks like the following: Year Area Project exp 2022 area A proj A 12…

I hope all this makes some sense 😅

BR

---

<div class="post-metadata">

**Author:** ![HaveF](https://forum-cdn.knime.com/user_avatar/forum.knime.com/havef/32/1124_2.png) [@HaveF](https://forum.knime.com/u/HaveF)\
**Post date:** [April 20, 2023, 12:46am UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-04-season-2/65771/5 "2023-04-20T00:46:21Z")

</div>

Hi, KNIMEr 🥳 🥳 🥳

Here is mine

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/4/9/499b2fc4438635e7ed09d8a412b49b393b8d6438.png)

Divide area A and area B first, then processed according to different time requirements through the Python node.  
You can see [the python code here](https://havef.fun/s2c04)

> **[C04 – havef](https://hub.knime.com/havef/spaces/Public/latest/Just_KNIME_It/S2/C04~MWcGtYqtzQhl1XbQ)**
>
> Divide area A and area B first, then processed according to different time requirements through the Python node. See the Python code in link.

HaveF

---

<div class="post-metadata">

**Author:** ![HaveF](https://forum-cdn.knime.com/user_avatar/forum.knime.com/havef/32/1124_2.png) [@HaveF](https://forum.knime.com/u/HaveF)\
**Post date:** [April 20, 2023, 1:28am UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-04-season-2/65771/6 "2023-04-20T01:28:00Z")

</div>

Suggestion:

For the natural communication purpose of “Just KNIME It”, the default notify setting(In the Just KNIME it Categories) should be “Watching”

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/7/4/7471186c3024f66e89de42bc3c014f9a22cc8d79.png)

---

<div class="post-metadata">

**Author:** ![rfeigel](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/r/7ea924/32.png) [@rfeigel](https://forum.knime.com/u/rfeigel)\
**Post date:** [April 20, 2023, 2:31am UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-04-season-2/65771/7 "2023-04-20T02:31:39Z")

</div>

Here’s my solution. More brute force than elegance, but it works.

> **[JKISeason2-04 – rfeigel](https://hub.knime.com/rfeigel/spaces/Public/latest/JKISeason2-04~Lf8QpbbKn69-ujfV)**
>
> Solutions for data science: find workflows, nodes and components, and collaborate in spaces.

---

<div class="post-metadata">

**Author:** ![elimisael](https://forum-cdn.knime.com/user_avatar/forum.knime.com/elimisael/32/63413_2.png) [@elimisael](https://forum.knime.com/u/elimisael)\
**Post date:** [April 20, 2023, 6:54am UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-04-season-2/65771/8 "2023-04-20T06:54:37Z")

</div>

Hello, here is my solution, this time is not complicated and with several steps like my previous challenges but is simple and covers the instructions listed in this challenge.

This is the flow, very simple:

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/3/5/3523fb4ec4a937f3b6b296af74b2ae9aaf445f8c.png)

This is the final result:

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/e/e/ee8b7a7e47d5499a611d981253146dc1dde8d7c7.png)

and can see and download in the following URL: [JKISeason2-4 – KNIME Community Hub](https://hub.knime.com/elimisael/spaces/Public/latest/Just%20Knime%20It/Season%2002/JKISeason2-4/JKISeason2-4)

---

<div class="post-metadata">

**Author:** ![elimisael](https://forum-cdn.knime.com/user_avatar/forum.knime.com/elimisael/32/63413_2.png) [@elimisael](https://forum.knime.com/u/elimisael)\
**Post date:** [April 20, 2023, 6:56am UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-04-season-2/65771/9 "2023-04-20T06:56:42Z")

</div>

Very nice and simple, with the use of Python, thanks for teaching us other ways.

---

<div class="post-metadata">

**Author:** ![morpheusTM](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/m/f07891/32.png) [@morpheusTM](https://forum.knime.com/u/morpheusTM)\
**Post date:** [April 20, 2023, 10:37am UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-04-season-2/65771/10 "2023-04-20T10:37:18Z")

</div>

Hi all,

here is my solution:

> **[JKISeason2-4 – morpheustm](https://hub.knime.com/morpheustm/spaces/Public/latest/JKISeason2-4~unGpQsNXrLgtS4VK)**
>
> Solutions for data science: find workflows, nodes and components, and collaborate in spaces.

---

<div class="post-metadata">

**Author:** ![kowisoft](https://forum-cdn.knime.com/user_avatar/forum.knime.com/kowisoft/32/3295_2.png) [@kowisoft](https://forum.knime.com/u/kowisoft)\
**Post date:** [April 20, 2023, 11:30am UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-04-season-2/65771/11 "2023-04-20T11:30:37Z")

</div>

Here is my solution to this challenge:

> **[JKI Season 2 - Challenge 04 - Spread Yearly Values Across Months - kowisoft –...](https://hub.knime.com/kowisoft/spaces/Public/latest/Just%20KNIME%20It/Season%202/JKI%20Season%202%20-%20Challenge%2004%20-%20Spread%20Yearly%20Values%20Across%20Months%20-%20kowisoft~goDyhisrh88dxx4J)**
>
> Solutions for data science: find workflows, nodes and components, and collaborate in spaces.

This was interesting, as I tried to create a component and also make this configurable (aka choose less than 12 months or less than 4 quarters) - great learning from @tobias.koetter and @Martyna at the KNIME Summit on how to make your workflows more flexible 🙂

**Attn** : If someone downloads my workflow, make sure to delete the big yellow annotation and all the nodes in it, as it is only to showcase on the Community Hub what is inside the component.

ps: if you want to discuss the current challenge in German, I host tomorrows DACH study group for it, make sure to sign up here (official KNIME link 😉 ): [Just KNIME It - Lerngruppe - Herausforderung #4, Fri, Apr 21, 2023, 3:00 PM | Meetup](https://www.meetup.com/dach-knime-users/events/292843508/)

---

<div class="post-metadata">

**Author:** ![AnilKS](https://forum-cdn.knime.com/user_avatar/forum.knime.com/anilks/32/52258_2.png) [@AnilKS](https://forum.knime.com/u/AnilKS)\
**Post date:** [April 20, 2023, 5:41pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-04-season-2/65771/12 "2023-04-20T17:41:28Z")

</div>

My Submission for challenge -4 .Tried the joiner node with sets /lists/ concatenate of months / quarter while figured out that sets/ list are not supported in joiner node for matching string column.

> **[Justknimeit -S2C4 – anilks](https://hub.knime.com/anilks/spaces/Just%20Knime%20It%20Challenges/latest/JustKnimeit-S2/JustKnimeit-S2C4~wRaxvZnNWangv_MH)**
>
> JKISeason2-4 Justknimeit -S2C4

 ![flowS2C4](https://forum-cdn.knime.com/uploads/default/original/3X/4/d/4d156cd556c45c146aa4b208aa320653881995f0.png)

Thanks  
Anil

---

<div class="post-metadata">

**Author:** ![MoLa\_Data](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mola_data/32/58742_2.png) [@MoLa\_Data](https://forum.knime.com/u/MoLa_Data)\
**Post date:** [April 20, 2023, 9:18pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-04-season-2/65771/13 "2023-04-20T21:18:41Z")

</div>

📢 RECORDAD que cada viernes charlamos sobre las soluciones propuestas, grupo de ESPAÑA 🇪🇸

> **[Just KNIME It - Grupo de Estudio - Desafío #4, vie, 21 abr 2023, 18:00 |...](https://www.meetup.com/spain-knime-users/events/292844099/)**
>
> La segunda temporada de \[Just KNIME It\](https://www.knime.com/just-knime-it) ya ha empezado. Cada semana se publicará un desafío para ayudarte a mejorar tus competencias en

Here my solution:

> **[JKISeason2-4 Ángel Molina – mola\_data](https://hub.knime.com/mola_data/spaces/Public/latest/JKISeason2-4%20%C3%81ngel%20Molina~ToZ42xiuGPg8IEL-)**
>
> Solutions for data science: find workflows, nodes and components, and collaborate in spaces.

 ![2023-04-20 230949](https://forum-cdn.knime.com/uploads/default/original/3X/c/d/cde8557f3644a568c9d26bd096c7c26fd93ba32b.png)

Thanks!!

---

<div class="post-metadata">

**Author:** ![josedesouza](https://forum-cdn.knime.com/user_avatar/forum.knime.com/josedesouza/32/52377_2.png) [@josedesouza](https://forum.knime.com/u/josedesouza)\
**Post date:** [April 21, 2023, 2:02am UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-04-season-2/65771/14 "2023-04-21T02:02:10Z")

</div>

Found a simple path to this week’s challenge 🙂

> **[JKISeason2-4 Jose De Souza – josedesouza](https://hub.knime.com/josedesouza/spaces/Public/latest/JKISeason2-4%20Spread%20Yearly%20Values%20Across%20Months%20Jose%20De%20Souza~XSqT3j51bwbSH2u7)**
>
> Solutions for data science: find workflows, nodes and components, and collaborate in spaces.

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/e/1/e15f80e958fa702812ffff4a29f0c7e8802e895a.png)

---

<div class="post-metadata">

**Author:** ![HaveF](https://forum-cdn.knime.com/user_avatar/forum.knime.com/havef/32/1124_2.png) [@HaveF](https://forum.knime.com/u/HaveF)\
**Post date:** [April 21, 2023, 4:57am UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-04-season-2/65771/15 "2023-04-21T04:57:02Z")

</div>

@josedesouza haha, I love this solution. It makes me laugh 😁 😁 😁

---

<div class="post-metadata">

**Author:** ![AnilKS](https://forum-cdn.knime.com/user_avatar/forum.knime.com/anilks/32/52258_2.png) [@AnilKS](https://forum.knime.com/u/AnilKS)\
**Post date:** [April 21, 2023, 5:03am UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-04-season-2/65771/16 "2023-04-21T05:03:05Z")

</div>

@josedesouza - Good one while Larger and complex period manipulation may have issue as we are incorporating input table data as reference too here in lookup table.

---

<div class="post-metadata">

**Author:** ![AnilKS](https://forum-cdn.knime.com/user_avatar/forum.knime.com/anilks/32/52258_2.png) [@AnilKS](https://forum.knime.com/u/AnilKS)\
**Post date:** [April 21, 2023, 5:32am UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-04-season-2/65771/17 "2023-04-21T05:32:21Z")

</div>

while working on challenge 4- i was trying to use a output of group by node with values as ( Sets/list/concatenate ) for matching.The joiner table doesnt accept the set/ list column or even if its string output as in concatenate. Adding the workflow for reference and advice for work around /approach  
[Justknimeit -S2C4.knwf](https://forum.knime.com/uploads/short-url/lSUCtLGMfEU8namMoCKGI2ux2z4.knwf) (27.2 KB)

---

<div class="post-metadata">

**Author:** ![tomljh](https://forum-cdn.knime.com/user_avatar/forum.knime.com/tomljh/32/67732_2.png) [@tomljh](https://forum.knime.com/u/tomljh)\
**Post date:** [April 21, 2023, 8:26am UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-04-season-2/65771/18 "2023-04-21T08:26:56Z")

</div>

Hello Knimers,

here’s my take on the challenge:

> **[JKISeasor2-4\_tomljh\_ver1 – tomljh](https://hub.knime.com/tomljh/spaces/Public/latest/JKISeason2/JKISeasor2-4_tomljh_ver1~OS60CExWR68dWtDw)**
>
> Chinese Description 中文描述

---

<div class="post-metadata">

**Author:** ![sryu](https://forum-cdn.knime.com/user_avatar/forum.knime.com/sryu/32/60147_2.png) [@sryu](https://forum.knime.com/u/sryu)\
**Post date:** [April 21, 2023, 12:48pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-04-season-2/65771/19 "2023-04-21T12:48:21Z")

</div>

Hi all,  
here is my solution.

> **[JKISeason2-4\_sryu – sryu](https://hub.knime.com/sryu/spaces/Public/latest/Just%20KNIME%20It%20season2/JKISeason2-4_sryu~bsy06Uq69fs8915A)**
>
> Challenge 04: Spread Yearly Values Across Months Level: Easy Description: Your team created a summary of the total amount spent last year on each project. The …

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/7/c/7c244c4213ba2a0a4e27dda9b69e7a815d56d3ec.png)

---

<div class="post-metadata">

**Author:** ![arddashti](https://forum-cdn.knime.com/user_avatar/forum.knime.com/arddashti/32/34545_2.png) [@arddashti](https://forum.knime.com/u/arddashti)\
**Post date:** [April 21, 2023, 2:23pm UTC](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-04-season-2/65771/20 "2023-04-21T14:23:10Z")

</div>

Hello KNIMErs, Here is my Solutions for “Just KNIME It!” Challenge 04 – Season 2

> **[JKISeason2-4 – arddashti](https://hub.knime.com/arddashti/spaces/Public/latest/JKISeason2-4~6llVVRkfgNVnNHYD)**
>
> Challenge 04: Spread Yearly Values Across Months

 ![Untitled](https://forum-cdn.knime.com/uploads/default/original/3X/5/6/56544f68efa7415043809d7d0c9d66c7759784fd.png)

[Next page](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-04-season-2/65771.md?page=2)
