+ Reply to Thread
Results 1 to 4 of 4

Power Pivot - filter in the data model does not apply itself into the pivot table

  1. #1
    Registered User
    Join Date
    08-01-2017
    Location
    Ljubljana, Slovenia
    MS-Off Ver
    2016 / office365
    Posts
    43

    Power Pivot - filter in the data model does not apply itself into the pivot table

    Hi,

    Have a data sheet connected in the power pivot. When I manage the data (Power Pivot - Manage) I filtered the data by 2 columns and I want only specific attributes to be shown and calculated in the pivot table.

    I have saved and refreshed but the data in the pivot table is still pulled in 100%, compleately disregarding the filter.

    How can I get the filter to work?

    Thanks for the help!
    Andraz

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,288

    Re: Power Pivot - filter in the data model does not apply itself into the pivot table

    We may need to see the workbook for this.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    08-01-2017
    Location
    Ljubljana, Slovenia
    MS-Off Ver
    2016 / office365
    Posts
    43

    Re: Power Pivot - filter in the data model does not apply itself into the pivot table

    HI the dummy data is the attachment.

    Andraz
    Attached Files Attached Files

  4. #4
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Power Pivot - filter in the data model does not apply itself into the pivot table

    The filters you're applying in the PowerPivot window only affect what is displayed, in the Power Pivot window. They don't affect what data is returned to the Data Model.

    Quote Originally Posted by Microsoft
    From https://support.office.com/en-us/art...a-f4c823b96b5e

    Filters that reduce the amount of imported data are applied only during import operations. You can’t add filters after the data is already imported and then refresh to get smaller rowsets.

    Filters that control which data is displayed in Excel or in Power Pivot are easily applied at any time. Notice that filtering an existing dataset doesn’t change the data that’s in the workbook—just the data that’s displayed. So if file size is a concern, filtering the data as you import results in a smaller workbook.
    In your example case, instead of loading your data directly into PowerPivot from the table, use PowerQuery to apply the filters you want, and then Load To Data Model:

    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

+ 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. How To Apply Data Filter On Pivot Table Columns!
    By Rajeshkumar R in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-28-2018, 07:51 AM
  2. Power Pivot Data Model Error
    By MarkZang in forum Excel General
    Replies: 0
    Last Post: 01-31-2018, 11:51 AM
  3. VBA filter Pivot Table basen on Data Model
    By zico8 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-04-2017, 04:31 AM
  4. Creating a Pivot Table from Power Pivot Data Model?
    By nobodyukno in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-17-2017, 12:02 PM
  5. [SOLVED] Power Pivot and Data Model theory
    By BDD2015 in forum Excel General
    Replies: 9
    Last Post: 11-04-2016, 09:45 PM
  6. power pivot table - Data model
    By pccamara in forum Excel General
    Replies: 2
    Last Post: 04-18-2016, 11:20 AM
  7. Replies: 0
    Last Post: 02-25-2016, 10:22 PM

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