Forum Discussion
One to Many relationship is created but doesn't work
- 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.
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.
- EmanuelParnaiba1 year agoFrequent Visitor
The "CLEAN" function doesn't seem to exist in DAX, but I was able to achieve the same result on Power Query using these options:
This solved the problem, thank you so much Andrew! o/