This is how I set up a profit and loss account in QS cloud business (where extensions can' t be used)
I did something similar many years back when starting on my Qlik journey but forgot how I did it. And no longer had access to the App. So came up with this.
And I prepared a word document this time. That I have attached
I'm sure there are improvements that could be made but this worked very well. I used this approach to set up three different Profit and Loss accounts and a balance sheet option.