PC Review


Reply
Thread Tools Rate Thread

Column in Pivot gets deleted if Null??

 
 
=?Utf-8?B?YWRhbQ==?=
Guest
Posts: n/a
 
      19th Sep 2007
Okay, I could really use some help. I have built a pivot that has two table
fields, two column fields, and several data fields. My table fields are
"Month" and "Region", and my column fields are "Quality" and "Bin". I have
several calculation that feed off of the data within this pivot. My problem
is, when there is not a data point within a specified "Quality" and "Bin",
the pivot deletes the column. This messes up all of my formulas.

I have attempted to use the "Show Items with no data" feature within Field
Settings, but it listed all of my "Bin's" within each "Quality". That is not
how my data is set up. Certain "Bin's" need to be assigned to "Quality"
levels.

Any help on having the pivot recognize a Null and not deleting the column,
would be greatly appreciated.

Thanks
 
Reply With Quote
 
 
 
 
=?Utf-8?B?SmltIFRob21saW5zb24=?=
Guest
Posts: n/a
 
      19th Sep 2007
Pivot tables pre-aggregate data (which is why they are so fast with no need
to calc on the fly) in a heirarchical fashion. It creates a cube database.
The cube has dimensions (fields such as time or account ore geography) and
members in those dimensions (such as June, or Sales or Canada). If a member
does not exist then there will be no values in the cube and therefore nothing
to display. Based on what you have asked the only way to fix the problem will
be to fudge the source data to include some zeros so that there is something
to be aggregated. Without knowing more about your source data I can't comment
further.

The only other option that I can think of is a GetPivotData function that
might fix your referencing problem within the pivot table...
--
HTH...

Jim Thomlinson


"adam" wrote:

> Okay, I could really use some help. I have built a pivot that has two table
> fields, two column fields, and several data fields. My table fields are
> "Month" and "Region", and my column fields are "Quality" and "Bin". I have
> several calculation that feed off of the data within this pivot. My problem
> is, when there is not a data point within a specified "Quality" and "Bin",
> the pivot deletes the column. This messes up all of my formulas.
>
> I have attempted to use the "Show Items with no data" feature within Field
> Settings, but it listed all of my "Bin's" within each "Quality". That is not
> how my data is set up. Certain "Bin's" need to be assigned to "Quality"
> levels.
>
> Any help on having the pivot recognize a Null and not deleting the column,
> would be greatly appreciated.
>
> Thanks

 
Reply With Quote
 
=?Utf-8?B?YWRhbQ==?=
Guest
Posts: n/a
 
      20th Sep 2007
Jim

Thanks for your response. My data has a quality rating of 1-5 (these are my
primary column fields). Each quality rating has a bin assigned to it (these
are my secondary column fields). For example:

Quality 1 (Bin: A-G, H+)
Quality 2 (Bin: A-G, H+)
Quality 3 (Bin: A-D, E+)
Quality 4 (Bin: A-D, E+)
Quality 5 (Bin: A-D, E+)

So as you can see, an "A-D" Bin does not apply to a Quality 1 or 2. When
use my data and do not have a field for Quality 4 (Bin: E+), the Pivot
automatically deletes this column and goes directly to Quality 5 (Bin: A-D).

Is there not some VB code that I can add to keep the format of the Pivot
standardized?

Thanks again.

"Jim Thomlinson" wrote:

> Pivot tables pre-aggregate data (which is why they are so fast with no need
> to calc on the fly) in a heirarchical fashion. It creates a cube database.
> The cube has dimensions (fields such as time or account ore geography) and
> members in those dimensions (such as June, or Sales or Canada). If a member
> does not exist then there will be no values in the cube and therefore nothing
> to display. Based on what you have asked the only way to fix the problem will
> be to fudge the source data to include some zeros so that there is something
> to be aggregated. Without knowing more about your source data I can't comment
> further.
>
> The only other option that I can think of is a GetPivotData function that
> might fix your referencing problem within the pivot table...
> --
> HTH...
>
> Jim Thomlinson
>
>
> "adam" wrote:
>
> > Okay, I could really use some help. I have built a pivot that has two table
> > fields, two column fields, and several data fields. My table fields are
> > "Month" and "Region", and my column fields are "Quality" and "Bin". I have
> > several calculation that feed off of the data within this pivot. My problem
> > is, when there is not a data point within a specified "Quality" and "Bin",
> > the pivot deletes the column. This messes up all of my formulas.
> >
> > I have attempted to use the "Show Items with no data" feature within Field
> > Settings, but it listed all of my "Bin's" within each "Quality". That is not
> > how my data is set up. Certain "Bin's" need to be assigned to "Quality"
> > levels.
> >
> > Any help on having the pivot recognize a Null and not deleting the column,
> > would be greatly appreciated.
> >
> > Thanks

 
Reply With Quote
 
=?Utf-8?B?SmltIFRob21saW5zb24=?=
Guest
Posts: n/a
 
      20th Sep 2007
It is not the the column is deleted. The column does not exist in the cube.
there is no source data so there can not be a representation of it. Your
choices are either to fudge the source data or to use show all...
--
HTH...

Jim Thomlinson


"adam" wrote:

> Jim
>
> Thanks for your response. My data has a quality rating of 1-5 (these are my
> primary column fields). Each quality rating has a bin assigned to it (these
> are my secondary column fields). For example:
>
> Quality 1 (Bin: A-G, H+)
> Quality 2 (Bin: A-G, H+)
> Quality 3 (Bin: A-D, E+)
> Quality 4 (Bin: A-D, E+)
> Quality 5 (Bin: A-D, E+)
>
> So as you can see, an "A-D" Bin does not apply to a Quality 1 or 2. When
> use my data and do not have a field for Quality 4 (Bin: E+), the Pivot
> automatically deletes this column and goes directly to Quality 5 (Bin: A-D).
>
> Is there not some VB code that I can add to keep the format of the Pivot
> standardized?
>
> Thanks again.
>
> "Jim Thomlinson" wrote:
>
> > Pivot tables pre-aggregate data (which is why they are so fast with no need
> > to calc on the fly) in a heirarchical fashion. It creates a cube database.
> > The cube has dimensions (fields such as time or account ore geography) and
> > members in those dimensions (such as June, or Sales or Canada). If a member
> > does not exist then there will be no values in the cube and therefore nothing
> > to display. Based on what you have asked the only way to fix the problem will
> > be to fudge the source data to include some zeros so that there is something
> > to be aggregated. Without knowing more about your source data I can't comment
> > further.
> >
> > The only other option that I can think of is a GetPivotData function that
> > might fix your referencing problem within the pivot table...
> > --
> > HTH...
> >
> > Jim Thomlinson
> >
> >
> > "adam" wrote:
> >
> > > Okay, I could really use some help. I have built a pivot that has two table
> > > fields, two column fields, and several data fields. My table fields are
> > > "Month" and "Region", and my column fields are "Quality" and "Bin". I have
> > > several calculation that feed off of the data within this pivot. My problem
> > > is, when there is not a data point within a specified "Quality" and "Bin",
> > > the pivot deletes the column. This messes up all of my formulas.
> > >
> > > I have attempted to use the "Show Items with no data" feature within Field
> > > Settings, but it listed all of my "Bin's" within each "Quality". That is not
> > > how my data is set up. Certain "Bin's" need to be assigned to "Quality"
> > > levels.
> > >
> > > Any help on having the pivot recognize a Null and not deleting the column,
> > > would be greatly appreciated.
> > >
> > > Thanks

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Keep a column of comments "with" pivot table as pivot tables datachanges, causing rows to be added and deleted. Tim Richardson Microsoft Excel Misc 0 31st Aug 2009 02:53 AM
Linq weirdness (improperly trying Column = Null instead of Column ISNULL) Andy Microsoft C# .NET 0 5th Mar 2008 04:11 PM
Insert query with null column and null value =?Utf-8?B?RXVnZW5l?= Microsoft Access Queries 10 5th Oct 2007 03:41 AM
How do I Excel countif column a =? and column b = null ? =?Utf-8?B?dGlmZg==?= Microsoft Excel Worksheet Functions 1 30th Nov 2005 12:29 PM
Populating column N with a formula if column A is Null or Blank Steve Microsoft Excel Programming 4 28th Sep 2004 01:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:43 AM.