Forum Discussion
Slicer changing total
- 8 years ago
Hi,
so I found solution by myself. I had to make Column with TOTAL SUM in every single row.
*Product[C-WHTotalValueBuyPrice] ↓
In other column I made SUM only for single product.
Then in meassure I had to calculate witch part in percent is SUM from single product from TOTAL SUM.
M-BuyPriceWarehouse= sum(Product[C-WHValueBuyPrice])/AVERAGE(Product[C-WHTotalValueBuyPrice])
So When Product cost in Warehouse is 10 and TOTAL SUM of Warehouse stock cost is 100, I will get "0,1" = 10 %
Then I have to calculate opposit value = 90%, witch is second part in Pie chart.
M-OppositeValue = (
AVERAGE(Product[C-WHTotalValueBuyPrice])/AVERAGE(Product[C-WHTotalValueBuyPrice])-[M-BuyPriceWerahuse])
)Then I can theese two meassures add to pie chart
Hi,
so I found solution by myself. I had to make Column with TOTAL SUM in every single row.
*Product[C-WHTotalValueBuyPrice] ↓
In other column I made SUM only for single product.
Then in meassure I had to calculate witch part in percent is SUM from single product from TOTAL SUM.
M-BuyPriceWarehouse= sum(Product[C-WHValueBuyPrice])/AVERAGE(Product[C-WHTotalValueBuyPrice])
So When Product cost in Warehouse is 10 and TOTAL SUM of Warehouse stock cost is 100, I will get "0,1" = 10 %
Then I have to calculate opposit value = 90%, witch is second part in Pie chart.
M-OppositeValue = (
AVERAGE(Product[C-WHTotalValueBuyPrice])/AVERAGE(Product[C-WHTotalValueBuyPrice])-[M-BuyPriceWerahuse])
)
Then I can theese two meassures add to pie chart
- v-jiascu-msft8 years agoMicrosoft Employee