+ Reply to Thread
Results 1 to 2 of 2

two formulas with the same field, but one returns a #ref

  1. #1
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    two formulas with the same field, but one returns a #ref

    Hello. I have these two formulas (I think for Powerpivot) The first one works fine, but the second one returns a #ref error for [Measures]. How could one work and not the other? Thanks.

    1) =GETPIVOTDATA("[Measures].[Sum of Trade Cost]",$B$7)/GETPIVOTDATA("[Measures].[Distinct Count of Contract ID2]",$B$7)

    2) =(GETPIVOTDATA("[Measures].[Distinct Count of ClaimID]",$B$7)*56.4)/GETPIVOTDATA("[Measures].[Distinct Count of Contract ID2]",$B$7)

  2. #2
    Registered User
    Join Date
    08-28-2013
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2010, 2013
    Posts
    69

    Re: two formulas with the same field, but one returns a #ref

    It looks like there is an extra open paren at the beginning? =(GETPIVOTDATA for number 2, where it should be like number 1, and only the open paren following the GETPIVOTDATA.

+ 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. Calculated field returns incorrect grand total
    By baascore in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-08-2014, 04:07 AM
  2. Using CountIF formulas and calculating percent average returns #DIV/0!
    By claudiamariep in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-19-2013, 11:10 AM
  3. Limiting size field MS query returns
    By LarryLL in forum Excel General
    Replies: 0
    Last Post: 07-06-2006, 06:52 PM
  4. Logic for Placing Multiple field Returns in a Cell
    By SCHNYDES in forum Excel General
    Replies: 4
    Last Post: 10-21-2005, 08:05 PM
  5. [SOLVED] VB macro using ODC connection returns field type 'CHAR' queries i.
    By sween14 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-18-2005, 10:06 AM

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