I am a newbie to FAW so seeking for help here.
I am trying to display the weighted average price for products but have no idea how to achieve it.
In the below table, I would like to aggregate invoiced qty and $/uom by month, and $/uom is showing weighted average price.
For example, in Mar-23 New Zealand's invoice qty should be 234+37+498+2899=3668 and weighted average $ should be (234x369)+(37x371.05)+(498x371.05)+(2899x371.05)/(234+37+498+2899)=370.92
So, under Mar-23 for New Zealand, it shows 3668 as quantity and 370.92 as price.
Any advice is appreciated. Thank you.