+ Reply to Thread
Results 1 to 2 of 2

Getting # REF Error in get pivot data formula for data model pivot

  1. #1
    Registered User
    Join Date
    03-06-2019
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    79

    Getting # REF Error in get pivot data formula for data model pivot

    Hi Friends

    I am Getting # REF Error in get pivot data formula for data model pivot. Please Help

    =GETPIVOTDATA("[Measures].[Distinct Count of po_number]",$A$3,"[Range].[Company]",M4,"[Range].[purchaser_name]",L5)

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Getting # REF Error in get pivot data formula for data model pivot

    This is what you want

    =GETPIVOTDATA("[Measures].[Distinct Count of po_number]",$A$3,"[Range].[Company]","[Range].[Company].&["&M$4&"]","[Range].[purchaser_name]","[Range].[purchaser_name].&["&$L5&"]")

    the values in the cells are part of the expression, not separate parameters.

+ 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. Replies: 3
    Last Post: 07-12-2019, 06:17 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. Power Pivot Data Model Error
    By MarkZang in forum Excel General
    Replies: 0
    Last Post: 01-31-2018, 11:51 AM
  4. 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
  5. Add this data to the Data Model addition needed to current pivot table code
    By SarahPintal in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-02-2017, 06:52 PM
  6. 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
  7. Selecting Column Data in Pivot Table (from Data model)
    By derickz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-14-2016, 11:35 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