Hi there
So I have a dataset with a structure in style of:
<code style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; white-space: inherit; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">Fruit Type Organic Sales
Banana 15$
Apple Green Apple Organic 20$
Apple Red Apple Non-Organic 25$
Apple Red Apple Organic 17$
Orange Califonia 8$
Orange Spain 5$
</code>In other words the fruits have different levels of detail. Say I want to see sales for Banana and organic green apples, this would require me to put Fruit, Type and Organic in row labels and Sales in Values. However the problem arises in that Pivot does show 2 rows of blank values for Banana, repeating the value of Sales. I want Pivot to somehow understand that when that blank values mean that the item is not specificed further and it should stop listing values. I have attached a picture to illustrate my point.
http://i62.tinypic.com/ezh6oj.png
Any suggestions are much appreciated!
So I have a dataset with a structure in style of:
<code style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; white-space: inherit; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">Fruit Type Organic Sales
Banana 15$
Apple Green Apple Organic 20$
Apple Red Apple Non-Organic 25$
Apple Red Apple Organic 17$
Orange Califonia 8$
Orange Spain 5$
</code>In other words the fruits have different levels of detail. Say I want to see sales for Banana and organic green apples, this would require me to put Fruit, Type and Organic in row labels and Sales in Values. However the problem arises in that Pivot does show 2 rows of blank values for Banana, repeating the value of Sales. I want Pivot to somehow understand that when that blank values mean that the item is not specificed further and it should stop listing values. I have attached a picture to illustrate my point.
http://i62.tinypic.com/ezh6oj.png
Any suggestions are much appreciated!