+ Reply to Thread
Results 1 to 4 of 4

GETPIVOTDATA from Data model Pivot Table

  1. #1
    Registered User
    Join Date
    11-13-2006
    Posts
    9

    GETPIVOTDATA from Data model Pivot Table

    Hi,

    I am looking to pull data from a Data model Pivot table as per attached screenshot. using the below formula

    =GETPIVOTDATA("Order n°",$A$3,"Month",G$5,"Rec. Plant",$F6)

    I understand that the formula does not work the same as with a normal Pivot table, so any help would be greatly appreciated.

    Thanks,
    Chris B


    ecel.jpg

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: GETPIVOTDATA from Data model Pivot Table

    Use CUBE functions instead.

    If you select any range belonging to pivot table. You can go to Ribbon tool -> Pivot Tools -> OLAP Tools.

    You can convert the pivot table to CUBE function(s) and it does not require Pivot Table to be present.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Registered User
    Join Date
    11-13-2006
    Posts
    9

    Re: GETPIVOTDATA from Data model Pivot Table

    Hi,

    Thanks for the reply!
    When I convert to Cube functions as above, will the data then not update if I change the raw data?
    Thanks.

  4. #4
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: GETPIVOTDATA from Data model Pivot Table

    It will update with raw data when data connections are refreshed.

    CUBE function retrieve value directly from Data Model.

    EDIT: Oh, keep in mind, you'll need to extend formula range before hand (using IFERROR() to show blank when data isn't present).
    Last edited by CK76; 05-29-2019 at 11:50 AM.

+ 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. [SOLVED] GETPIVOTDATA Problem (Data Model)
    By troilii in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 03-23-2021, 01:01 AM
  2. Pivot Table and Data Model
    By olga6542 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 07-17-2018, 02:43 PM
  3. For each pivot item in pivot table - for data model
    By dancing-shadow in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-23-2017, 02:45 PM
  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] GetPivotData but with data model
    By rodich in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-04-2016, 06:04 AM
  6. [SOLVED] GETPIVOTDATA or Formula to get the Data from Pivot Table
    By toci in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-25-2016, 10:04 PM
  7. I need to get data from Pivot Table via getpivotdata formula
    By joeycrak in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-24-2013, 05:14 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