Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Background: Trying to fill-in ID values from a table [approx 11k rows] with another table [approx 11k rows] using LOOKUPVALUE(). Upon checking the results I noticed there were roughly half missing values (that I knew existed). I created the relationship between the two tables (1-1) and rechecked: still missing matches. When I looked at the exact count of the matches, it was 5,999 - very peculiar. It looks like DAX has a limit on LOOKUPVALUE() for a table - which is disturbing. I was able to switch over to using the RELATED() function since I had a relationship between the two tables.
Comments?
I had the same issue, big table (2 million rows), lookup value on 3 columns just didnt seem to be working. Tested it other way ( i.e. table 1 looking up table 2 rather than other way around) and lookup was able to pull values.
Going to try creating a unique ID column, creating a relationship and using the related funciton instead.
Edit: Made the relationship based on a unique col, and a related function did work, but interestingly the relationship also made the lookupvalue work. Lesson to learn? make a unique col and make a relationship?
This basically makes lookupvalue uesless though!!!
Hi djohnson:
I was also working with that formula but for a different goal.
Seeing what you say I think that creating a relationship and Related formula should be enough to match both tables and get what you want.
If you cannot use Relate for a problem with the relationship and the Cross filter direction maybe you can use "USERELATIONSHIP" sometimes it helps to calculate something when it is not fully connected in both sides.
Good luck!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
47 | |
26 | |
19 | |
15 | |
10 |
User | Count |
---|---|
57 | |
50 | |
44 | |
21 | |
19 |