Hi, I'm new to Wix code. I have set up a collection which stores expenses in a column called 'Amount'. All I want to do is display the sum of all the those expenses in the 'Amount' column and display the result in a text field at the top of the page (I don't want to store the sum back into the collection).
I assume I have to create a hook to sum the data but i can't seem to find any specific examples that would do this and I am unsure how then to display the result in a text field.
Any help woud be greatly appreciated, thanks.