In my application i'm trying to take an average from a calculated value (relative number of orders in the week). For this i'm trying to use the following expression:
Which will aggregate the percentage of orders in the week by the store and take the average from this values. But it's not working, could somebody help me?
On the attachment i've made and example of what i need (The average of the percentage from each day of the week on each week of the month of both stores). Doing it by hand it shold be showing 63% (fisrt store, monday of the first week) + 55% (Second store, monday, first week) /2 = 59%.