I need to calculate qty total for all year and devide that by current stock how can I do that in mdx?