Forum Discussion

EmanuelParnaiba's avatar
EmanuelParnaiba
Frequent Visitor
1 year ago
Solved

One to Many relationship is created but doesn't work

I have two tables:   dimRoster: contains information about employees, their leaders, and the project they work on (comes from Excel) factCoachDatabase: includes information on coaching sessions (c...
  • andrewsommer's avatar
    1 year ago

    Check for Hidden Non-Printable Characters; may be the root cause. Excel may handle them well, but Power BI (DAX engine) won’t match strings with trailing spaces, non-breaking spaces (CHAR(160)), or Unicode anomalies.

     

    Create a calculated column in both tables that trims and cleans the text:

    CleanedCoachee = TRIM(CLEAN([CoacheeName]))


    Then create a new relationship based on CleanedCoachee. Do not use the original column.

    Please mark this post as a solution if it helps you. Appreciate Kudos.