+ Reply to Thread
Results 1 to 2 of 2

powerpivot calculation related showing error message

  1. #1
    Registered User
    Join Date
    03-09-2016
    Location
    Europe
    MS-Off Ver
    2010
    Posts
    23

    powerpivot calculation related showing error message

    Hi all,

    I am trying to run a simple calculation in powerpivot "related" in the following table:
    Ariba NW Information

    I would like to use the related formula to have the supplier ID from the table "supplierlist" (in Excel would be a simple vlookup)

    thanks
    Attached Files Attached Files

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

    Re: powerpivot calculation related showing error message

    Your relationship between [supplierlist] and [Ariba NW Information] is the wrong way round - you have the "ONE" side on your fact table, and the "MANY" side on the dimension (lookup) table. This means that the RELATED function is potentially trying to return multiple related values - hence your error:

    pp_rel_incorrect.PNG



    Change this relationship so that the "ONE" side is on the dimension table, and the "MANY" side on your fact table:

    pp_rel_correct.PNG



    Now your calculated column works correctly:

    pp_rel_output.PNG
    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. PowerPivot/PivotTable showing same results after relationship building.
    By saudi_red_neck in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 07-08-2018, 01:52 AM
  2. [SOLVED] PowerPivot error message
    By 1953CAG in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 04-27-2017, 10:27 AM
  3. Replies: 2
    Last Post: 09-29-2016, 10:49 AM
  4. Nested If showing error message
    By Weaselwithagun in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-08-2015, 01:06 PM
  5. I am not able to do calculation on my excel sheet showing #Value! error
    By lovable_guy006 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-01-2014, 12:26 PM
  6. Replies: 1
    Last Post: 03-06-2006, 04:30 AM
  7. [SOLVED] How to print when an error message keeps showing?
    By clueless in forum Excel General
    Replies: 1
    Last Post: 01-30-2006, 01:40 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