Forum Discussion

pAAmckelvey's avatar
pAAmckelvey
Frequent Visitor
8 years ago
Solved

Calculating Percentages for line items with data selected by slicer

I'm hoping the community can help me out here.  Searchese have proved fruitless so far.

 

The business has requested that we show total hours by project and also show the percentage of hours each project represents compared to the whole.  However, when a slicer is applied, the total number of hours used for the denominator doesn't seem to change.  Here is an example.

 

 

 

 

 

Here is the data structure.   

 

 

 What we are trying to figure out is how to get the denominator in this equation to be dynamic as slicers are applied so that the data that shows on the screen in the first screenshot displays the correct percentage.

 

 Any assistance that can be provided is greatly appreciated!

 

Patrick

 

 

2 Replies