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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
lekkerbek
Helper IV
Helper IV

Create dimtable based on two data sources

Hi,

 

I have 2 different data sources:

1) contains, amongst other things, employee name and turnover

2) contains employee name (but written differently)) and wage costs and a cost centre

 

I would like to create a dim table based on data source 1, because this adds newest employees first and therefore I know I have all the employees. It happens that wage costs are added later in the process and is therefore never the first to be complete.

 

Basiscally I need:

 

Employee name general

Employee name according to datasource 1

Employee name according to datasource 2

Cost centre number

 

That way I can communicate between the two fact tables.

 

I thought of copying datasource 1 as a dimtable and eliminating all columns except the employees name as a starting point. New data automatically adds new employees. After that adding columns, but that can't be a manual input I think?

 

Does anybody have a suggestion on how to combine these two to a dim table? 

 

1 ACCEPTED SOLUTION
mohammedadnant
Impactful Individual
Impactful Individual

Hi @lekkerbek ,

 

Yes, as you said, you can append the 2 tables and then remove duplicate and remove other columns.

by this way you are creating a new table and this table will be master table, then make relationship of that 2 table with this new table.

 

Thanks & Regards,

Mohammed Adnan

www.youtube.com/taik18

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

Thanks & Regards,
Mohammed Adnan
Learn Power BI: https://www.youtube.com/c/taik18

View solution in original post

2 REPLIES 2
mohammedadnant
Impactful Individual
Impactful Individual

Hi @lekkerbek ,

 

Yes, as you said, you can append the 2 tables and then remove duplicate and remove other columns.

by this way you are creating a new table and this table will be master table, then make relationship of that 2 table with this new table.

 

Thanks & Regards,

Mohammed Adnan

www.youtube.com/taik18

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

Thanks & Regards,
Mohammed Adnan
Learn Power BI: https://www.youtube.com/c/taik18

Thanks! I got it to work.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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