So I have a DW with a table with some pre-aggregated scores (not my choice) and the counts of animals separated by breed and a date.
To calculate the average score across breeds, I need to the following calculation:
The problem is that when the cube rolls up for a specific date, it is not aggregating at the leaf level, so I need some thing like this:
Any ideas? Thank you!