I have a measure calculating the running balance of invoices, see this question DAX model invoice running balance. Now I would like to be able to average the running balance filtered by the query context.
Ie Id like somehow to return a table using DateDim with a calculated invoice balance per day and average over that table using the selected period in the query context. I've tried some solutions but really haven't found a smart way to do it.