Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 217577

Dynamic Column Calculation Based on Multiple Slicers

$
0
0

I have a table of sales opportunities, and I want to create a column which displays the ratio of the opportunity's value compared to all active opportunities. I was able to accomplish this with the following column:

 

RATIO = Data[Amount] / CALCULATE(SUM(Data[Amount]),ALL(Data))

 

But my next step is to have this ratio be dependent on four slicers I have added: Quarter, Territory, Product Family, Opportunity Stage. When a user selects the 1st Quarter, EMEA Territory, ABC Product Family, Validated Opportunity Status, I want this column to adjust the denominator of the above calucation to only include opportunities which meet these criteria.

 

Can anyone shed any light on how I could do this? I am new to Power BI, and the filtering functions have not been very intuitive to me. Thank you for any help you can provide.


Viewing all articles
Browse latest Browse all 217577

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>