Use RxJS's group by at inside of Subscribe : <p>I have learned about group by at <a href="https://www.learnrxjs.io/operators/transformation/groupby.html" rel="nofollow noreferrer">https://www.learnrxjs.io/operators/transformation/groupby.html</a></p>

<p>However when I tried to make a group by to the column 'type' only and I don't get the requested result.</p>

<p>What part am I missing in order to make a group by to the column 'type' and then display at component.html?</p>

<p>You get the data of type from the subscribe and you applyy the group by code inside of the subscribe.</p>

<p>Thank you!</p>

<p>Stackblitz = <a href="https://stackblitz.com/edit/angular-twngjm" rel="nofollow noreferrer">https://stackblitz.com/edit/angular-twngjm</a></p>
