Showing results for 
Search instead for 
Did you mean: 
New Member

Strategies for messy data and building relationships

I have a bigger model going from multiple systems where I am trying to filter by "company". The problem is that company is different in each system.For example, one will be "Jim's Sporting Goods" and on another table it will be "J Sporting Goods".  I would like to create a dimension table to be able to slice the multiple fact tables without creating virtual relationships. I guess the functionality I am looking for would be like a lookup formula. 


Does anyone have any strategies for creating this dimension table in the model or do I have to use virtual relationships? 

Super User
Super User

Hi @condale777 ,


Believe that the best option in this case is to have a table with the ID of each company, and add that field on your tables then you can make a relationship by the ID instead of the name or creating virtual relationships.


If you compile all the names into a excel file, a sharepoint list,  a table somewhere then you can do the merge by name and get that data into each table directly, only maintaning a single spot for the renames.


Miguel Félix

Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português

Helpful resources

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors