+ Reply to Thread
Results 1 to 4 of 4

Creating a Pivot Table from Two Data Sets

  1. #1
    Registered User
    Join Date
    07-22-2020
    Location
    Manila
    MS-Off Ver
    Office 365
    Posts
    3

    Creating a Pivot Table from Two Data Sets

    Good day.

    I'm working on a report that uses information from two data sets, both of which are tabs in my Excel workbook. The first tab is called Failures and it lists the names of the employee name, the failures they received, and the dates when these were evaluated.

    SQS_01.png

    The second tab contains the evaluation dates and scores received from those evaluations.

    SQS_02.png

    The report I'm interested at looking at is the failure percentage of the individual. So say, one person had 4 evaluations for the month and had 2 failures, thus the failure rate is 2/4 or 50%. I tried adding the data from the two tabs to the data model, but when I try to connect the data using the employee names I get a message that the selected columns contain duplicate values.

    SQS_03.png

    Without having to use formulas, is it possible to use pivot tables for this purpose?

    The file is uploaded; names were generated using a name generator.
    Attached Files Attached Files
    Last edited by 4ever7; 07-23-2020 at 02:18 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: Creating a Pivot Table from Two Data Sets

    Hi 4ever7,
    Welcome to the forum.
    Please note it is much better to attach a sample file (without confidential info) rather than screenshots. It is much easier for members to help you and test possible solutions on your sample data. Please refer to the yellow banner at the top.

    Without the actual data.... maybe try:
    When you have setup the pivot table on the top ribbon under PivotTable Tools > Fields, Items & Sets in the dropdown, select Calculate Field. Here you can do simple calculations and insert the new field into your pivot table.
    If your Question is answered; please mark it SOLVED. If you are happy with a member's solution, say 'Thanks' and click the 'Star' to Add Reputation.

  3. #3
    Registered User
    Join Date
    07-22-2020
    Location
    Manila
    MS-Off Ver
    Office 365
    Posts
    3

    Re: Creating a Pivot Table from Two Data Sets

    Quote Originally Posted by ORoos View Post
    Hi 4ever7,
    Welcome to the forum.
    Please note it is much better to attach a sample file (without confidential info) rather than screenshots. It is much easier for members to help you and test possible solutions on your sample data. Please refer to the yellow banner at the top.

    Without the actual data.... maybe try:
    When you have setup the pivot table on the top ribbon under PivotTable Tools > Fields, Items & Sets in the dropdown, select Calculate Field. Here you can do simple calculations and insert the new field into your pivot table.
    Hi there, thanks for replying to my inquiry. I have uploaded the file as requested. The pivot table to be made is in the Summary tab. I have used COUNTIF for now, but it will be very challenging if this report is to be sustained using COUNTIF or COUNTIFS because the report is done monthly, and further features such as count of failure types per month, history of failures per agent, etc, will be provided to the recipients on a monthly basis.

  4. #4
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: Creating a Pivot Table from Two Data Sets

    To link data in Pivot tables you need one list with unique values. So you would need a list with the employee names, then you could link the Evaluations data and the Failures data together....working out a percentage from one to the other will still be a challenge.
    How about if you combine the 2 tables. Would this be possible? Keep your Evaluations table and add 2 columns; Pass/Fail, Failure Type.
    With all in one table, a Pivot table will be easy and you can sort and group as required, including future grouping by month etc.

+ 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. Pivot Table combining two data sets
    By 63falcondude in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 10-24-2019, 03:40 PM
  2. Problem with Pivot table drawing two sets of data
    By faodavid in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-03-2018, 08:20 AM
  3. Connecting slicers from different data sets using table format (not by creating pivot)
    By karthikgmk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-17-2016, 01:37 PM
  4. Connecting slicers from different data sets using table format (not by creating pivot)
    By karthikgmk in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-17-2016, 12:36 PM
  5. [SOLVED] Pivot table creating two sets of category for one group
    By glaskow4 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 12-26-2014, 05:28 PM
  6. Pivot table to compare two data sets
    By Mashhead in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 12-19-2014, 07:56 AM
  7. TrimMean of Pivot Table data sets
    By olagaton in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 09-04-2013, 09:10 AM

Tags for this Thread

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