• Creating a Spacer Column in a PowerPivot PivotTable

    Mike Alexander has a great blog post on how to Add Column Spacing In A PivotTable. We can also accomplish the same thing through a PowerPivot solution, but using DAX. And in this case, DAX is even easier to use that the old method, taking one less step!

    To start, go to the PowerPivot tab and choose:
    • 2010: New Measure
    • 2013+: Calculated Field --> New Calculated Field

    The 2013 user interface is shown below:

    As you can see, I called it "Spacer", and the formula is simply =BLANK()

    From there it gets added to the PivotTable and already shows up as blank values.

    At that point, I just went to one of the fields on the worksheet that said "Spacer", and entered 5 spaces into the cell. (Unfortunately, you can't name the measure/calculated field with a only spaces in the setup, or we wouldn't even have to do that!) Why 5? Well, it controls the width of the column when it's refreshed!

    End result (with the blank column selected so you can see it):
    This article was originally published in blog: Creating a Spacer Column in a PowerPivot PivotTable started by Ken Puls


    I'm afraid that you must be logged in to comment or leave a testimonial. I wish it could be otherwise, but I'm trying to keep my site spam free for everyone's benefit. If you don't yet have an account it's completely free to sign up, and a very quick process. Simply click here to Register. Not only can you post a comment here, but it gives you full access to posts questions in our forum as well!


    If you already have an account, and just haven't logged in yet, what are you waiting for? Login Now!

  • MVP Logo
  • Recent Forum Posts

    Bob Phillips

    IF Formula

    Yeah, you specify "" for false condition, e.g.


    Bob Phillips Today, 12:58 AM Go to last post

    Worksheet named from cell

    this is truly incredible! In an ideal worls I'd like to use data validation to populate the names that show in column A...

    AndyDuncombe Yesterday, 08:58 PM Go to last post

    IF Formula

    Iím looking for help with a formula that will only do calculation based on if there is data in a cell. Example: ColumnA is an enrollment date but is...

    Jodie Yesterday, 08:11 PM Go to last post
    Bob Phillips

    Worksheet named from cell

    I have made that change. I named the sheets as ddd d mmm as it takes less space, is just as clear, and means you see more roster sheets at one time. Each...

    Bob Phillips Yesterday, 08:05 PM Go to last post

    Worksheet named from cell

    Which I'd like to rename as Sunday 2 Jan + sunday 9 Jan etc or whatever variant will fit. I think this would call from the app settings sheet data in...

    AndyDuncombe Yesterday, 06:27 PM Go to last post