# Thread: Calculate with rows filter Thanks: 0 Likes: 0

1. ## Calculate with rows filter

Hi All,
Very new to Power tools . i have been experimenting on this issue which i can deal in Sumifs.

How can I show in Pivot table that Mark has 30 total, Ricky 15 Total, Peter 18 Total and Gino has 5?
 10 ID01 Mark 15 ID02 Ricky 20 ID01 Mark 10 ID03 Peter 5 ID04 Gino 8 ID03 Peter

Much thanks

2. ## Re: Calculate with rows filter

It depends on your table structure. If all 3 columns above are in the same table, just drags the ID and Name to rows of the pivot, drags the first column to values, and change he pivot table layout to what you need

3. ## Re: Calculate with rows filter

Hi Matt, thank you for responding to my issue and sorry for late reply as i was on leave from office. I can only access the file to explain further from office. I have a unique ID Table ("IDNumber")on another workbook, I can get the total value of all the respective people from Column A thru this formula:calculate(Sum(Page1[Working Hrs]), ALLEXCEPT(Page1, IDnumber[Number]).but I would like to have a measure or calculated column to get total for each IDNumber. this formula is not working:=calculate(Sum(Page1[Working Hrs), ALLEXCEPT( IDnumber, IDnumber[Number])). I have the relationship setup for between these tables too. much thanks.

4. ## Re: Calculate with rows filter

Does that make a difference? IF they are joined in your model, you can pull the name and the hours into your pivot, and it will total for you, no need for that measure as far as I can see.

5. ## Re: Calculate with rows filter

yes, I have been confused with reiterated results. but I see already. thanks