Forum Discussion
Problem with LOOKUPVALUE not returning all values
Hi,
I did that with intent.
What I want to show is that if you look at the guids [Kunde ID] in the quote table they are four times the same.
But the lookupvalue returns only two times a value from the Kunde[id] column (which is of course the same as the Angebot[Kunde ID] value.
I would expect to have four times a return value?
Why are two others empty?
They have the same value?
I agree that to the named eye they look identical, but sometimes data consist of hidden values, but lets try another formula
CALCULATE( VALUES ( Kunde[ID] ); FILTER ( Kunde; Kunde[ID] = Angebot[Kunde ID] ) )
- ChrisO10 years ago
Advocate I
Still the same.
The Kunde[ID] column is unique.
- sdjensen10 years ago
Solution Sage
ChrisO - Do you have a relationship from Angebot[Kunde ID] and Kunde[ID]? Did you make any transformation to any of the 2 columns since loading them from your source - change type etc. ?
- ChrisO10 years ago
Advocate I
I just startet to strip down my datamodel to give you the file.
During that process I deleted all relationships in the model.
Now my missing values popped up.
I don´t really understand what was wrong but now I know that something in model was wrong.
Thank you for your help guys!
- Eric_Zhang10 years ago
Microsoft Employee
Are there any invisible characters in that column? For example a leading line breaker, you can't find it just by looking. How many distinct values does it show when Kunde ID is selected?