+ Reply to Thread
Results 1 to 3 of 3

Power Pivot: Filtering 2 fact tables based on Lookup table

  1. #1
    Registered User
    Join Date
    11-20-2013
    Location
    Norway
    MS-Off Ver
    Excel 2007
    Posts
    13

    Power Pivot: Filtering 2 fact tables based on Lookup table

    I have 2 fact tables which I would like to filter simultaneously, based on a common column (in this case a Company name)

    Let's say Fact Table 1 contains market data (e.g. how many jobs have been performed by ALL suppliers for a given company), whereas fact table 2 contains my own data (e.g. how many jobs have I performed for a given company), and I want to track how my activity has been compared to the total market.

    One issue is that users have entered data manually (as opposed to using drop down menus), meaning the data contains typos.
    One company called "ABC 123" can be entered as "ABC 123", "ABC123", "ABC-123" or even "ABC 1234" etc.

    Market Data.PNGMarket Data.PNG
    My data.PNG

    I added all possible company names in one table and added the "correct" company name next to it.

    Based on this table, I have created a query where I removed the first column and removed duplicates, so I have a list of correct and unique companies.
    Unique data.PNG
    Then I created the following relationships:

    Relationships.PNG

    I then created a pivot table off Facts Table 1, and added the "Company Name New" from the "Unique Companies" query to the filter.
    When I then selected a company in the filter, the data does not get filtered.


    Anyone knows what I am doing wrong?
    Attached Images Attached Images

  2. #2
    Registered User
    Join Date
    11-20-2013
    Location
    Norway
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Power Pivot: Filtering 2 fact tables based on Lookup table

    PS, here is what the pivot looks like:
    Attachment 653273

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

    Re: Power Pivot: Filtering 2 fact tables based on Lookup table

    Not to say that I have a solution, rather to inform that selecting the attachment to post #2 yields: "Invalid Attachment specified. If you followed a valid link, please notify the administrator".
    To upload a file follow the directions in the banner at the top of the page that begins: "Willem2904 Fast answers need clear examples. Post a small Excel sheet..."
    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.

+ 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. Power Pivot - Filtering flowing down from separate table
    By Jonny757 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-18-2018, 02:44 PM
  2. Replies: 6
    Last Post: 02-17-2017, 08:31 AM
  3. Replies: 0
    Last Post: 07-29-2015, 09:41 PM
  4. Power Pivot - Lookup based on Last Closest Date/Time
    By ELeGault in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-17-2015, 06:48 AM
  5. [SOLVED] Filtering Data Pivot Table is Based On - Impact on Pivot Table
    By bbg22 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-17-2013, 06:34 AM
  6. Filtering a pivot tableS based on the value of a cell
    By itsef in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-28-2013, 11:34 AM
  7. Pivot tables share source data "after the fact"
    By Don S in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-23-2005, 12:06 PM

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