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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Creating a table from another table

I need to create a new table based on the actual one (see example):

serialemail
1234name@actualcompany.com
1234name@oldcompany.com
 name@company.com
4321name@actualcompany.com

 

The new one should not have duplicated serial number (we need to keep the ones with email @actualcompany.com ) and remove the ones with blank serial. So, the new table should be:

serialemail
1234name@actualcompany.com
4321name@actualcompany.com
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

In Edit Query mode, filter for actualcompany.com and Non blank Serial.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

In Edit Query mode, filter for actualcompany.com and Non blank Serial.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Yes to what @amitchandak posted. Also, to make a new table right click on the query and select Reference. I presume your data is a bit more complex than your example, so remove duplicates on the serial column (or the serial column and the actual company email).

 

I'm not sure of the context so I have a few questions...

 

  • If you have many companies, how do you know which is the actual company email?
  • Are you using a slowly changing dimension somewhere?
  • Do you need this as a physical table in your database, or do you just need a virtual table for a SUMX in DAX or something? 
Anonymous
Not applicable

@freder1ck follow:

  • If you have many companies, how do you know which is the actual company email? For those with same serial number, I need to keep those with actual email domain.
  • Are you using a slowly changing dimension somewhere? No
  • Do you need this as a physical table in your database, or do you just need a virtual table for a SUMX in DAX or something? After being able to do this clean up, I plan to add a column of Sales Target for each user. Since I´m using SF object, which I can´t change, I believe I´ll have to create a new physical table, with these unique users.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.