Forum Discussion
LOOKUP Problem
Hello,
I have a problem in lookup, it gets me missing datas in local function.
I can't define if the issue is in my data model or in my function.
Function :
Thanks
Anonymous Try using MAXX(FILTER(...),...) instead of LOOKUPVALUE. I have had weird results with LOOKUPVALUE due to things like DAX being case insensitive. Thus, "Category" and "category" are the same thing to DAX and this can cause LOOKUPVALUE to fail because more than one row is returned. MAXX(FILTER(...),...) has no such issue.
1 Reply
- Greg_DecklerCommunity Champion
Anonymous Try using MAXX(FILTER(...),...) instead of LOOKUPVALUE. I have had weird results with LOOKUPVALUE due to things like DAX being case insensitive. Thus, "Category" and "category" are the same thing to DAX and this can cause LOOKUPVALUE to fail because more than one row is returned. MAXX(FILTER(...),...) has no such issue.