Forum Discussion

Syndicate_Admin's avatar
Syndicate_Admin
Administrator
2 years ago
Solved

LOOKUPVALUE does not find data that does exist

Hello Does anyone know why I only find a line when there are really more coincidences? Measure: Contact Name = LOOKUPVALUE(contactos_sql[Name],Contactos_sql[No_],Sales_Header_sql[Sell-to Co...
  • Ritaf1983's avatar
    2 years ago

    Hi Syndicate_Admin 
    There are reasons for returning blanks when using lookupvalue function:

     

    • No Matching Value:

      • If there is no row in the table that matches the provided search conditions, LOOKUPVALUE will return a blank.
    • Multiple Matching Values:

      • If there are multiple rows that match the search conditions, LOOKUPVALUE will also return a blank to indicate ambiguity.
    • Missing or Blank Values in the Lookup Column:

      • If the column being looked up contains blanks or is missing for the matching rows, LOOKUPVALUE will return a blank.

    For more assistance :

    please share a pbix or some dummy data that keeps the raw data structure with expected results. It should help us clarify your scenario and test the coding formula.

    How to Get Your Question Answered Quickly  

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