Relationship May be Needed

bartmanekul

Board Regular
Joined
Apr 3, 2017
Messages
58
Office Version
  1. 365
Platform
  1. Windows
Hi,

I've done an awful lot of reading and whatnot over the past week, and cannot solve this problem.

I'm trying to do something I thought simple: Get a simple list of special prices for product, by customer account number.

This isn't massive quantities, around 8000 products and around 3000 accounts.

Currently, I'm trying to do a pivot table which SHOULD be able to do this. However, I get the 'Relationship May be Needed' message even though they are correctly linked. Research shows this is likely due to them being an integer, so somehow breaks the link even though when I check it's still there and correct. Of course, as it's Sage I can't change the data source.

A workaround says to create a calculated field, and use the 'REFERENCE' term.

But I can't do this, because it won't let me add a calculated field.

I can't add a calculated field because I can't detick 'add to data model'.

I can't detick add to data model because of the data source (OLAP)

AAARRRRRRRRGGGGGGGGHHH.

What I want is pretty simple, is there any workaround for this? Note that it needs to be able to be refreshed often so needs to be a working fix, not a single one if that makes sense.

I'm using Sage 200, office 365.

Visual of what I want:
Item codeCustomer 1Customer 2Customer 3Customer 4
Item 15.993.583.898.14
Item 24.884.995.224.77
Item 33.213.543.683.10
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
In Power Pivot a calculated field is a measure. Can you not right click the table in the field list and add a new measure? (I'm assuming you have Power Pivot loaded?)
 
Upvote 0
Thanks for the reply, sadly it still sees it as a broken link (I've gone into relationships and tried to make it, but it already exists). I'm absolutely stuck on what seems to be something so simple.
 
Upvote 0
Can you post a file somewhere (onedrive / dropbox etc) for me to have a look at?
 
Upvote 0
Of course, I'm grateful for any help. What exactly would you want to look at, as I can't desensitise the source due to the quantity? Just an example of what's needed?
 
Upvote 0
I'd need something that replicates your actual error. Only a few lines of data in each table, suitably anonymised, as long as it still shows the same issue as the real data set.
 
Upvote 0
Unfortunately this isn't replicable without a connection to a data source.

The problem is, when a field as integer is added as a value, it simply doesn't see it - it says there's no link even when there is, and all results come back as the same one.

This is a frustrating bit of excel which doesn't seem fixable - I'm trying other methods but even the pivot function of SQL isn't an option with many columns.
 
Upvote 0

Forum statistics

Threads
1,223,803
Messages
6,174,684
Members
452,577
Latest member
Filipzgela

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top