Prevent blank columns

nikkollai

New Member
Joined
Sep 10, 2014
Messages
49
Hello,

My data does not have a year column, so i am using YEAR() function to pull years from full date column in the same table. =YEAR([DATE]) . It iterates well and i have not blanks in powerpivot.
But when i am breaking my model by years in excel for some reason i am getting additional blank column
Does anybody know what could cause this and how can i get rid of it?

[TABLE="width: 500"]
<tbody>[TR]
[TD]2012
[/TD]
[TD]2013
[/TD]
[TD]2014
[/TD]
[TD]2015
[/TD]
[TD](blank)
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

Tks, Nick
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Hi, is your raw data a table or just an array?
if within PT you may opt NOT to display blanks.
 
Upvote 0
Hi,
I am getting the extra column (with blank) in PT when i transfer the data from powerpivot into PT excel.
I think i should be creating an extra table for calendar and linking everything together but it really bothers me why i cannot figure out the reason for that extra column.
By the way how do you OPT out not to show blanks in PT?
N -
 
Upvote 0
Hi,
I am getting the extra column (with blank) in PT when i transfer the data from powerpivot into PT excel.
I think i should be creating an extra table for calendar and linking everything together but it really bothers me why i cannot figure out the reason for that extra column.
By the way how do you OPT out not to show blanks in PT?
N -
if your data is in Column Labels, click on the small arrow in the PT near the word "Column Labels" and deselect (blanks).
 
Upvote 0
You should be able to see which rows are returning blank. In PP, on this table where you added the YEAR() calc column... drop it down, select only the BLANK(), and see what's up?
 
Upvote 0

Forum statistics

Threads
1,226,693
Messages
6,192,463
Members
453,725
Latest member
cvsdatreas

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