Hi all
I have a table of data, effectively sales and stock by week (several weeks in the table), I'm trying to create a calculation to show sales mix in one column and stock mix in another, with the ability to rollup the sales by category , I would normally use the following calculation..
=sales/(sumif(sales (where week=x)) which would give me a % for a particular week which I could then do the same for stock column to get the stock mix.
However I have tried to perform the calculation in my powerpivot table without success and wondered if the DAX CALCULATE Function would achieve the same results.
Anyone know if this is possible?
Regards
M1donne
I have a table of data, effectively sales and stock by week (several weeks in the table), I'm trying to create a calculation to show sales mix in one column and stock mix in another, with the ability to rollup the sales by category , I would normally use the following calculation..
=sales/(sumif(sales (where week=x)) which would give me a % for a particular week which I could then do the same for stock column to get the stock mix.
However I have tried to perform the calculation in my powerpivot table without success and wondered if the DAX CALCULATE Function would achieve the same results.
Anyone know if this is possible?
Regards
M1donne