Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

Matching Error When Relating Tables in Power Query in Power BI

Error: When relating tables by ID and index in Power BI, a matching error occurs, causing data with different indexes to match while data with the same indexes fail to match. Inquiry: How can ...
  • Akash_Varuna's avatar
    1 year ago

    Hi Anonymous It might be due to mismatched data types or inconsistencies in the columns used for the relationship.
    Could you please try these for solving

    1. Match Data Types: Ensure both columns (ID and Index) have the same data type in Power Query.

    2. Trim and Clean Data: Remove extra spaces using "Trim" or Text.Trim().

    3. Check for Duplicates: Remove duplicates in both tables if necessary.

    4. Recreate Index: Ensure index columns are correctly aligned and unique.
      After these please recreate and test the relationship in Power BI.