+ Reply to Thread
Results 1 to 8 of 8

how link tables and get data using pivot

  1. #1
    Registered User
    Join Date
    12-15-2024
    Location
    india
    MS-Off Ver
    2021
    Posts
    4

    Post how link tables and get data using pivot

    I have a workbook with three sheets - Result, Winners and Party.
    I want to link Result and Winners to get a list of Winners using pivot table,.
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,673

    Re: how link tables and get data using pivot

    It appears that you have already linked the tables. What do you wish your pivot table to look like. You have lots of data and not sure what you wish to show. Mock up a small sample and reload your workbook. We can only guess as to what you want. No crystal balls or Clairvoyance here.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    12-15-2024
    Location
    india
    MS-Off Ver
    2021
    Posts
    4

    Re: how link tables and get data using pivot

    I am trying to get winner CANDIDATE NAMES from CAN CODE like given below sample...

    CAN CODE CANDIDATE NAME
    AC1AC1 ADV. K. C. PADAVI
    AC2AC1 Rajesh Udesing Padvi
    Attachment 884928Attachment 884928Attachment 884928Attachment 884928

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,821

    Re: how link tables and get data using pivot

    Hello dnyankardore1 and Welcome to Excel Forum.
    Selecting any of the links to attachment 884928 in post #3 results in the following error message: "Invalid Attachment specified. If you followed a valid link, please notify the administrator".
    That said, here is a proposal that returns the results given in post #3.
    1. Load the Results and Winners tables into the data model as was done in the original file
    2. In the data model produce a connection between the Can Code fields of the two tables
    3. In the data model add the following measure to the Result table Name:=CONCATENATEX(Result,[CANDIDATE NAME],",")
    4. Produce a pivot table dragging the Can Code field from the Winners table into the Rows area and the Name field from the Result table into the Values area
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    12-15-2024
    Location
    india
    MS-Off Ver
    2021
    Posts
    4

    Re: how link tables and get data using pivot

    thank you... you have given me the required result but i am not able to understand or execute step no. 3...
    can you please elaborate..

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,673

    Re: how link tables and get data using pivot

    Right Click on the Table and Create a Measure
    Attached Images Attached Images

  7. #7
    Registered User
    Join Date
    12-15-2024
    Location
    india
    MS-Off Ver
    2021
    Posts
    4

    Re: how link tables and get data using pivot

    thank you for the explanation

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,821

    Re: how link tables and get data using pivot

    In older versions of Excel you may need to do the following to open the dialog box.
    1. Select the Power Pivot tab on the ribbon
    2. Select the Measures icon in the calculation pane
    3. Select New Measure
    Note that measures can also be added in the data model window as modeled in the file attached to my previous post (select manage data model and the result tab to see the selected cell below the CANDIDATE NAME column.)
    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. Link Pivot tables
    By danielneivaamorim in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-22-2017, 11:45 AM
  2. Replies: 7
    Last Post: 04-07-2016, 09:31 AM
  3. Replies: 4
    Last Post: 08-28-2014, 06:45 PM
  4. Link Datepicker to all Pivot Tables
    By weeeee0713 in forum Excel General
    Replies: 1
    Last Post: 08-04-2014, 10:06 AM
  5. is it possible to link together sliders from different pivot tables
    By lmendizabal in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 10-21-2012, 08:24 AM
  6. Link Pivot Tables
    By Pete in forum Excel General
    Replies: 1
    Last Post: 07-05-2006, 03:40 PM
  7. [SOLVED] Pivot Tables lost link
    By Marcos in forum Excel General
    Replies: 0
    Last Post: 05-25-2006, 10:20 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