+ Reply to Thread
Results 1 to 7 of 7

Is the following possible within pivot or power pivot?

  1. #1
    Registered User
    Join Date
    11-11-2021
    Location
    portland, or
    MS-Off Ver
    Office 365
    Posts
    3

    Is the following possible within pivot or power pivot?

    In the attached document, I have separate data tables that all connect to each other. Specifically, the number of units of a given product ("SKU") sold over a given period is pulled from different tables:

    1/ whether the specific sku is in a given store chain, where the value is 1,0.
    2/ The number of stores per chain per month. These numbers grow over time.
    3. The number of units sold per store per month.

    Calculating units sold, revenue, or gross profits would be easy to do in a number of vlookups, but I’d like the flexibility so that I could put it in a pivot table, giving me the ability to put in slicers for different skus, store franchises, and time periods. For example:
    1. How many units sold per sku per month?
    2. What’s the revenue per store franchise per quarter?
    3. What’s the gross profit per sku per month?

    Any thoughts on how to accomplish this? I think the calculations would make this difficult within a pivot table, but I wonder if the ability to save calculations in power pivot would allow me to do this there?

    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,562

    Re: Is the following possible within pivot or power pivot?

    Hello 2dA4d8Pm and Welcome to Excel Forum.
    As this has been sitting here for a while with no response I thought that I would offer a formula based proposal.
    For Example 1 the the following seems to work:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note that I made some changes to the other sheets in the workbook.
    If this is acceptable then we can work on the Example 2 formula.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,562

    Re: Is the following possible within pivot or power pivot?

    I believe that I missed the way cell H7 was calculated and that the following placed in cell F7 and then copied over and down yields the correct values:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.

  4. #4
    Registered User
    Join Date
    11-11-2021
    Location
    portland, or
    MS-Off Ver
    Office 365
    Posts
    3

    Re: Is the following possible within pivot or power pivot?

    Thanks so much for this. Really appreciate it.

    I think it confirms my concern....that this wouldn't be doable with a pivot table where I could quickly change the info to pivot on. Does that sound correct?

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,562

    Re: Is the following possible within pivot or power pivot?

    Not making a promise however there might be a possibility of using power pivot if the setup of the data was rearranged. Would that be acceptable?

  6. #6
    Registered User
    Join Date
    11-11-2021
    Location
    portland, or
    MS-Off Ver
    Office 365
    Posts
    3

    Re: Is the following possible within pivot or power pivot?

    Absolutely. Any direction you can offer would be amazing!

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,562

    Re: Is the following possible within pivot or power pivot?

    This gets pretty involved, however here is a brief overview:
    1. Make connections of the Product Mix, SKU Table and Store Velocity tables.
    Note that in the SKU Table connection only the SKU and Gross Profit columns are used in the connection.
    Note that in the SKU Table connection the Wal Mart and Target columns are unpivoted.
    Note that to see the connections you may need to select the Data tab and then select Queries & Connections.
    2. Merged the Product Mix and SKU Table connections
    3. Merged the above connection with the Store Velocity connection
    4. Made a connection of the Store Mix table
    Note that the Wal Mart and Target columns are unpivoted.
    5. Merged the connection tables from steps #3 and #4 and added a multiplication column
    Note the table produced in step #5 is on the Table for Output sheet
    The pivot tables for gross profit per Sku per month and Gross profit per channel per month are on those respective sheets.
    Let us know if you have any questions.

+ 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. Replies: 2
    Last Post: 08-18-2021, 01:14 PM
  2. Replies: 3
    Last Post: 08-10-2020, 11:38 AM
  3. [SOLVED] Power pivot or pivot table for connecting data and creating calculated fields
    By jaryszek in forum Excel Charting & Pivots
    Replies: 9
    Last Post: 02-06-2019, 08:31 AM
  4. Sub-Forum for Excel Power Tools (Power Query, Power Pivot & Power BI)
    By chullan88 in forum Suggestions for Improvement
    Replies: 10
    Last Post: 06-28-2018, 02:25 PM
  5. Replies: 2
    Last Post: 05-14-2017, 01:40 PM
  6. Replies: 4
    Last Post: 06-19-2014, 12:59 PM
  7. Power Pivot with multiple pivot charts using different pivot data
    By Paul-NYS in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-10-2013, 10:18 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