Something like this:
Customer | Revenue | Goal | Other Dimensions
1 XXXX 0.4
2 XXXX 0
3 XXXX 0.3
....
For example in other dimension I have Distr_Chanel, territory, etc.
I would like to have an AVG from goal, and it doesn't matter which dimension I add.
The query should do an AVG for the goals assigned to Customers inside the dimension value showed.
E.g
CUSTOMER | Distr_CH | Revenue | GOAL
1 1 XXXX 0.8
2 1 XXXX 0.4
3 2 XXXX 1
the GOAL for DISTR_CH = 1 should be 0.6. Now is showing 1.2