Share via

Average based on slicer selection

Anonymous
2022-04-22T21:26:19+00:00

So I am recording data, and using a slicer to show only specific data. But some of that data needs to be averaged based only on the data selected and not all the data. If I have 50 tests of type A and 20 tests of type B, I can use a slicer to show type A or type B, but the average I can't get to work correctly. here are screen shots to help understand

Type A:

And Type B

As you can see, the data on the left does not change, even though I am now looking at different types.

Any idea? I have exhausted my searches.

Just to note, I am showing the correct data in a line chart correctly, but would like the other information not in line chart (as shown here on the left) to be accurate just based on what I selected.

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2022-04-22T23:05:00+00:00

Hi abson365

The video below might help you.

Do let us know if you need more help

Regards

Jeovany

https://youtu.be/0bdhy0ty7Mc

Was this answer helpful?

3 people found this answer helpful.
0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2022-04-25T17:00:20+00:00

    Holy excel batman! At first I didn't think it would work, because it wasn't given the last cell of data, which I needed. Then I realized when I used the slicer, my averages wouldn't change. But adding the subtotal function, it is working exactly like I need! thanks!

    Was this answer helpful?

    0 comments No comments
  2. Ashish Mathur 102K Reputation points Volunteer Moderator
    2022-04-22T23:03:43+00:00

    Hi,

    The kind of interactivity that you want with slicers can be achieved only with Pivot Tables. As and exception, we can use the PowerPivot, write DAX measures and then convert those measures into CUBE functions to get your desired result.

    Was this answer helpful?

    0 comments No comments