Link to home
Start Free TrialLog in
Avatar of Mehawitchi
Mehawitchi

asked on

PowerPivot in Excel 2013 - Combine vertical total with horizontal average

Hello Experts,

I have a PowerPivot Table in Excel 2013 for reporting TV audience data.

I’m kind of stuck on one report that shows the viewership levels by Channel by hour by Day of Week.

The problem is that I want to show the total of viewership of all hours (Vertical Total) per day, and then have an average of viewership across days.

Please refer to the attached Excel sheet for an exact explanation of what I’m trying to do.

Thanks in advance for your usual support.
Hani
Sample-Pvt-Table.xlsx
Avatar of Phillip Burton
Phillip Burton

Unfortunately, you are trying to combine two things in one PowerPivot Table:

1. You are adding (SUM) together all of the viewers per hour into a heading in the rows.
2. You are then wanting to AVERAGE all the daily figures into a total going across.

I don't think you can do both in the same table. You should do the SUM in the table, and then have a separate column and AVERAGE them in a separate column.
Avatar of Mehawitchi

ASKER

Thank you so much Philip for your reply.

I will give it a try later tonight and get back to you with my comments.

Cheers,
Hani
Avatar of Rory Archibald
Could you post a sample of your actual data - I suspect it is entirely possible with Power Pivot. You need a measure that sums your values (called say HourSum), then you need another measure that uses a formula like:
=AVERAGEX(Values([dayfield]),HourSum)
Very interesting Rory...
I'm preparing the sample data file and will post in a few minutes...

Thank you,
Hani
There you go Rory - Thanks again for giving this a shot
Sample-Marketing-Reports.xlsx
ASKER CERTIFIED SOLUTION
Avatar of Rory Archibald
Rory Archibald
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No worries Rory - I'll give it a try tonight and will get back to you with my comments by tomorrow morning at the latest.

Best,
Thanks Rory - It worked like CHARM!!

Thanks Philip for attempting to help
Glad to help. :)