Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Values from different tables

Im working on a project for a company that has factions in different countries, and every country has their own database for the transports they do. The problem is that they use different names for the same companies in their databases, and the only thing that is the same in all databases are the registration numbers that the companies have.

Is there a way to make the regestration numbers define the company name? so all the deliveries with 1 as registration number get the name "company 1". So that i can avoid manually replacing over 180 company names.

2 REPLIES 2
dax
Community Support
Community Support

Hi @Anonymous , 

I am not clear about your requirement, if possible could you please inform me more detailed information(such as your expected output and your sample data)? Then I will help you more correctly.

Please do mask sensitive data before uploading.

Thanks for your understanding and support.
Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

HotChilli
Super User
Super User

You could add a Company Dimension table with the company ids and the name you want and relate that on ID to the other tables (You would extract that from the database that has the correct names)

OR add a column with, for example, 'standard name' in the same table (if you have a 'transactions' fact table).  You would get the company name from a join with the table that has the names you want

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors