Removing middle list levels

I try to achieve bottom list but stuck on the top list, there is some way to flatten top list to achieve bottom list?

Hello @l.grabowski1984 and welcome…you could try list map…



Thanks, it works, but unfortunately I realise that in my script I have to achieve something different, I think is more complicated?