+ 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
    Posts
    2,023

    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
    UK
    MS-Off Ver
    2016 primarily
    Posts
    4,121

    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
    Sue, you're shouting at tea

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

    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
    UK
    MS-Off Ver
    2016 primarily
    Posts
    4,121

    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
    Posts
    2,023

    Re: Building simple pivot table

    The second option,

    Best,
    Jacek

  6. #6
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    UK
    MS-Off Ver
    2016 primarily
    Posts
    4,121

    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
    Posts
    2,023

    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
    UK
    MS-Off Ver
    2016 primarily
    Posts
    4,121

    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
    Posts
    2,023

    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
    UK
    MS-Off Ver
    2016 primarily
    Posts
    4,121

    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
    Posts
    2,023

    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)

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