Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello,
I have a formula that always worked but (i think) since the last update of powerbi returns an error
It's basically a rather simple formula
Solved! Go to Solution.
My apologies
Actually i wanted to write this formula.
Lookupvalue returns error when 2 or more different values get a match
This is just an alternate way of doing lookup
Plaats = CONCATENATEX ( CALCULATETABLE ( VALUES ( Adressen[plaats] ), FILTER ( Adressen, [Adres] = EFOS[Adres] ) ), Adressen[plaats], ", " )
Try this alternative
Plaats = CONCATENATEX ( FILTER ( Adressen, [Adres] = EFOS[Adres] ), Adressen[plaats], ", " )
Thank you for responding but that new formula doesnt return the correct value because sometimes it returns 1, 2 or even 3 values
I believe it should be a lookupvalue because i need the value from another table to be placed in another table
My apologies
Actually i wanted to write this formula.
Lookupvalue returns error when 2 or more different values get a match
This is just an alternate way of doing lookup
Plaats = CONCATENATEX ( CALCULATETABLE ( VALUES ( Adressen[plaats] ), FILTER ( Adressen, [Adres] = EFOS[Adres] ) ), Adressen[plaats], ", " )
@Zubair_Muhammad but it still doesn't work like it should.
Now sometimes it returns BLANK values or a value with a ; in it for example '; Zeeland'.
I just need 1 value because all adresses are in the table 'Adressen' so its impossible to return a BLANK value or 2 values
Again the formula 'Lookupvalue' worked in this rapport for the last 6 months and now all of a sudden it doesn not work anymore.
Hi @RvdHeijden,
If that formula returns a value like '; Zeeland', it means that the column Adressen[Adres] has duplicates. Please refer to the snapshot below to check it easily.
If it isn't the cause, please provide a sample that can show the issue. Please mask the sensitive parts first.
Best Regards,
Dale