Hi Peeps,
I need your help to solve this problem. Basically, i need to merge portfolio and stock tables and calculate the current portfolio value for each date, starting from buying date till today's date and invested amount on a separate table (on load script).
The problem here is
1. how to merge and create the invested and current value table
2. how to sum based on "Buy" and "Sell", and aggregate based on the shares type(APPL and BMZ as shown below).
Your help is much appreciated!!!