Problem linking Tables with blank cells using Power Pivot

Course

Board Regular
Joined
Aug 7, 2014
Messages
144
Im using Power Pivot to link tables within my workbook.

The tables have blank cells.

My problem is if I input 0 into the blank cells that affects my results when I use the Average Function in the Pivot Table and if I use text to fill the blank cells such as na the Pivot Table does not allow me to group Values.

Is there any way around this problem.

Thanks
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Hello

As the tables have blank cells, I'd expect the Average would ignore them so there shouldn't be any problem. IIRC that is how Nulls are treated.

If not, try specifically excluding them with clause : WHERE fieldname Is Not Null

Though that may not do exactly what you want. I can't say without further understanding of the data inputs & required outputs.

If that doesn't work, please explain exactly what is being done including some sample input & outputs.

regards
 
Upvote 0
Ya, this should all be a "non-problem". Just leave the blank cells as blank, and AVERAGE() will ignore it (not treat it as zero).
 
Upvote 0
Thanks for your rpely,

the problem is then that I can average values but if i leave the cells in the source data blank I cant group them in the pivot table
 
Upvote 0
Not super sure I am getting what you are saying, but ... I suspect it is that, by default, if all measures in a row of a pivot table return blank, Excel will filter out the row.

You can change that. On the Pivot Table Options, on the Display tab, there is a "Show Items With No Data on Rows" that you can turn on.
 
Upvote 0
i created a pivot table from a Table. the table has some blank cells.

because of this i cant group some headings unless i return to the table and fill in the blank cells with zeros.

if i fill in the blank cells with zeros the average functions dont give accurate results in the pivot table.

its a catch 22 situation
 
Upvote 0
Can you give us a link to your workbook or some sample data, there is clearly something I am not getting here...
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,487
Members
448,967
Latest member
visheshkotha

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top