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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors