How to stop (blank) appearing in a powerpivot 2013 Pivottable

masplin

Active Member
Joined
May 10, 2010
Messages
413
When I product a pivot out of PP 2013 and arrange in tabular form I get (blank() in every cell where there is no data i.e. in the data model the field is blank. I tried the layout setting "fro empty fields show", but even if i put zzz nothing changes. I even changed the formula in PP to be sure the cell really is a blank. there must be a way to make this return a blank as look rubbish?

Thanks

Mike
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
ah good idea. Of course you wonder why the "show empty cells" as function doesn't actually do anything!!!

Thanks for tip
 
Upvote 0
Unless i am crazy...

By default Excel will hide any rows where ALL columns are blank. If you have a column that has data... the row is going to show.

Is that what is happening? (You are want to hide a row... where just 1 column is blank?)
 
Upvote 0
[No its where you say put 4 items in the rows and do a tabular layout. If on one row 3 fields have data and one is empty it puts (blank) in the empty field. Say like an address with Addr1,addr2,addr3, postocde. Addr 3 is blank so looks rubbish and you cant then cut and paste to use elsewhere

Mike
 
Upvote 0
In your source data use the following code for Text/label cells
Code:
Sub Blank_to_Zero()
    Dim r As Range
    Application.ScreenUpdating = False
    Application.Calculation = xlManual
    For Each r In Selection
        If r.Value = "" Then r.Value = " "
    Next r
    Application.Calculation = xlAutomatic
    Application.ScreenUpdating = True 'Not necesary since Screen updating automatically restores at end of Macro
End Sub
For cells that should have a numeric value
Change If r.Value = "" Then r.Value = " "
to: If r.Value = "" Then r.Value = 0
 
Upvote 0
Unless i am crazy...

By default Excel will hide any rows where ALL columns are blank. If you have a column that has data... the row is going to show.

Is that what is happening? (You are want to hide a row... where just 1 column is blank?)

Hi Scott, do you know how I could accomplish exactly what you describe -hiding a row if it does not have data for one of the particular columns/fields?
 
Upvote 0
I had this problem (When creating a pivot from power pivot, any blank cells are shown as (Blank) rather than just being empty or 0). After much playing around I found that in powerpivot, when you create the pivot table with the Pivot table button, create it as a "Flattened Pivot table". Seemed to work for me :)
 
Upvote 0
I had this problem (When creating a pivot from power pivot, any blank cells are shown as (Blank) rather than just being empty or 0). After much playing around I found that in powerpivot, when you create the pivot table with the Pivot table button, create it as a "Flattened Pivot table". Seemed to work for me :)
Also.... Change the power pivot column "data types" and "formats" to be Whole Number or Decimal Number before you create the Flattened Pivot Table
 
Upvote 0

Forum statistics

Threads
1,223,355
Messages
6,171,610
Members
452,411
Latest member
sprichwort

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