Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

How to do a LOOKUPVALUE with FILTER?

Hello, I have two tables that follow this structure: table1 ID    Dimension   Validation   1 AAA 12334 2 BBB 23434 3 CCC xxx 4 DDD 45652 5 EEE xxx table2 ...
  • v-kkf-msft's avatar
    v-kkf-msft
    5 years ago

    Hi Anonymous ,

    Try the following formula:

    Dimension = 
    CALCULATE(
        MAX(Table1[Dimension]),
        FILTER(
            Table1,
            Table1[Validation] <> "xxx"
            &&Table1[ID]=Table2[ID]
        )
    )

    If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

    Best Regards,
    Winniz

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.