Forum Discussion
Data refresh is giving unpredictable and incorrect results
- Anonymous2 years ago
I think I've found the solution for the above issue!
As I'm deriving the dimensions from the master table, I was expecting the items, I use to join between the fact table and the dimension, to be the same.
I suspect one of the elements to contain special characters and/or leading/trailing spaces, so I inserted in the power query 2 steps to trim and clean the text strings and it looks like this solved the issue!
I was also doing a similar thing and similar error. I was creating an index col in the dimesion table and then linking the fact and dimesion tables on this index key. Instead, now I am creating a custom column by concatenating the 2 primary keys in both the tables. This custom column is now used to create the relationship between the 2 tables. This solved the issue.