+ Reply to Thread
Results 1 to 11 of 11

Building simple pivot table

  1. #1
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,940

    Building simple pivot table

    Hi,

    i have simple formula in table like here:

    Screenshot_15.png

    I would like to build pivot table which will be calculating (Disk Size + Disk Capacity) for row 1, (Disk Size + Disk Capacity) for row 2, and multiply by Servers value = 2. And have total for each Item.
    So whole formula is (Disk Size + Disk Capacity) + (Disk Size + Disk Capacity) * Servers Value.

    How can i do this using pivot table?

    Best,
    Jacek
    Attached Files Attached Files

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent SAC
    Posts
    8,885

    Re: Building simple pivot table

    You can't use a value that isn't part of the source data. You'll need to put the servers value into a table, load both into the data model and then create calculated fields/measures in Power Pivot.
    Rory

  3. #3
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,940

    Re: Building simple pivot table

    hi rorya,

    thank you. Maybe PQ has possibility to build something like that?

    Can you provide example for my attachment?

    Best,
    Jacek

  4. #4
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent SAC
    Posts
    8,885

    Re: Building simple pivot table

    Which formula do you actually want? The one you show doesn't actually match your description, so do you want this:

    (Disk Size + Disk Capacity) + (Disk Size + Disk Capacity) * Servers Value.

    or this:

    ((Disk Size + Disk Capacity) + (Disk Size + Disk Capacity)) * Servers Value.

  5. #5
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,940

    Re: Building simple pivot table

    The second option,

    Best,
    Jacek

  6. #6
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent SAC
    Posts
    8,885

    Re: Building simple pivot table

    Last edited by rorya; 01-28-2019 at 12:32 PM.

  7. #7
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,940

    Re: Building simple pivot table

    very difficult for me,
    still example would be needed.

    Please help,
    Jacek
    Last edited by jaryszek; 01-29-2019 at 09:03 AM.

  8. #8
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent SAC
    Posts
    8,885

    Re: Building simple pivot table

    How far did you get, and what problems did you face?

  9. #9
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,940

    Re: Building simple pivot table

    You added link with adding parameter.
    How this can help me?

    I need create calculated fileds somehow.

  10. #10
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent SAC
    Posts
    8,885

    Re: Building simple pivot table

    Your server numbers needs to be a parameter as it is not part of the data table that you want to use it in.

  11. #11
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,940

    Re: Building simple pivot table

    Hi rorya,

    sorry for my late answer. Thank you for your help and support!
    I changed my model and workaround this parameter value:
    1. I grouped data by sum
    2. And as the last step multiply by column paramater.

    Best,
    Jacek

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need help building out a pivot table for the attached data
    By AhMelody in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-05-2016, 04:07 PM
  2. [SOLVED] Syntax Errors when building pivot table.
    By nironto in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-30-2015, 04:17 AM
  3. building a stats. from pivot table
    By ciapul12 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 01-10-2014, 08:11 AM
  4. Help with building a pivot table
    By AllanNWSPP in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 01-15-2013, 02:29 PM
  5. building a pivot table to see total cost
    By sjhill60 in forum Excel General
    Replies: 1
    Last Post: 10-20-2011, 01:46 AM
  6. Building Pivot table from Access data
    By Newbie in forum Excel General
    Replies: 1
    Last Post: 07-31-2006, 07:28 AM
  7. Building a Pivot Table where column headings will change
    By matpj in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-10-2005, 04:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1