+ Reply to Thread
Results 1 to 6 of 6

My getpivotdata (powerpivot) uses scientific numbers in the reference!?

  1. #1
    Registered User
    Join Date
    11-03-2014
    Location
    Copenhagen, Denmark
    MS-Off Ver
    2013
    Posts
    18

    My getpivotdata (powerpivot) uses scientific numbers in the reference!?

    Hi there

    I'm using a simple getpivotdata function in Powerpivot where I am refering to a paticular week - in this example Week 12

    Excel suggests the following reference:
    =GETPIVOTDATA("[Measures].[bias%]";'Data til Dashboard (2)'!$B$8;"[Data].[Uge]";"[Data].[Uge].&[1.2E1]";"[Data].[Afdeling]";"[Data].[Afdeling].&[Foodservice]")

    I want to change the [1.2E1] with a reference to a cell where I have keyed '12' - but that doesn't Work - It does Work if I write '1.2E1' but that messes up a lot of other references that I have...

    Does anyone have any ideas as how to avoid the getpivotdata function to use Scientific numbers and use 'normal' numbers instead?

    BR

    Jesper

  2. #2
    Registered User
    Join Date
    01-21-2014
    Location
    Tempe, AZ
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: My getpivotdata (powerpivot) uses scientific numbers in the reference!?

    I'm having the same issues today - Did you ever receive a reply to this inquiry?

  3. #3
    Registered User
    Join Date
    11-03-2014
    Location
    Copenhagen, Denmark
    MS-Off Ver
    2013
    Posts
    18

    Re: My getpivotdata (powerpivot) uses scientific numbers in the reference!?

    Unfortunately not... I had to live with the 1.2E1 bit and make workarounds with the other references...

  4. #4
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: My getpivotdata (powerpivot) uses scientific numbers in the reference!?

    Go to Pivottable Tools -> Analyze -> See on the ribbon in left corner (PivotTableName), under this there is an option drop down-> Drag it and uncheck Generate GetPivotData and now it will not happen again.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  5. #5
    Registered User
    Join Date
    11-03-2014
    Location
    Copenhagen, Denmark
    MS-Off Ver
    2013
    Posts
    18

    Re: My getpivotdata (powerpivot) uses scientific numbers in the reference!?

    Hi Ankur

    Thanks for that. I would categorize that solution as a work-around as it doesn't precisely address the specific problem with the Scientific numbers...

    But thanks for the input!

  6. #6
    Registered User
    Join Date
    04-14-2020
    Location
    Memphis
    MS-Off Ver
    2016
    Posts
    2

    Re: My getpivotdata (powerpivot) uses scientific numbers in the reference!?

    I ran into this issue of scientific notation today and was able able to solve it. The source of my data was a Power Query. The numbers getting converted to scientific notation in the GETPIVOTDATA formula were formatted as decimal numbers in Power Query. In my case, the numbers referred to "number of weeks" so I did not need them to have decimals. I changed the data type in the Power Query editor from "Decimal Number" to "Whole Number". After I refreshed the pivot table, the GETPIVOTDATA formula was no longer using scientific notation.

    I realize each situation is different, so my general suggestion if you experience this issue is to test different formats in your source data.

+ 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. Macro to Update PowerPivot Using Cell Reference
    By thatsbadass_com in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-28-2014, 03:30 PM
  2. Excel Tracking In Scientific Notation Numbers
    By Fredbugatti in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-23-2014, 01:14 AM
  3. [SOLVED] Supress Scientific Numbers??
    By Sam in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 08-11-2005, 04:05 PM
  4. [SOLVED] csv converting numbers to scientific format
    By JR in forum Excel General
    Replies: 7
    Last Post: 06-15-2005, 08:05 PM
  5. [SOLVED] Long numbers show up as Scientific Notation
    By berryware421243 in forum Excel General
    Replies: 5
    Last Post: 02-08-2005, 12:06 AM

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