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
Manuccia81
Regular Visitor

How to trasnform the data in a column: from email address to name and surname?

Requester column power bi.PNG

Is it possible to create a ne column starting from the existing (requester) keeping only the name and removing the @skf.com?

1 ACCEPTED SOLUTION
Pragati11
Super User
Super User

HI @Manuccia81 ,

 

You can achieve this easily in Power Query Editor. Follow the steps:

  1. Duplicate the existing column.
  2. Replace "@skf.com" with spaces in your new column. You will end up with just firstname.lastname.
  3. Replace "." between the firstname and lastname with a single space character. You will end up with values like "firstname lastname" in your new column.
  4. For replacing you need to right click on your new column and a new window will appear, where you can follow Steps 2 and 3 in a order.

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

6 REPLIES 6
Pragati11
Super User
Super User

HI @Manuccia81 ,

 

You can achieve this easily in Power Query Editor. Follow the steps:

  1. Duplicate the existing column.
  2. Replace "@skf.com" with spaces in your new column. You will end up with just firstname.lastname.
  3. Replace "." between the firstname and lastname with a single space character. You will end up with values like "firstname lastname" in your new column.
  4. For replacing you need to right click on your new column and a new window will appear, where you can follow Steps 2 and 3 in a order.

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

But is it possible so in automatic way? I have more than 400 rows and the data source of my power BI is a online database.

Hi @Manuccia81 ,

 

There is not a direct/automatic way to get this transformation. And 400 rows seems to be a small dataset to me. Are you connecting the database in Power BI in DirectQuery mode?

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Now all work fine thank for your preocedure. Have a great day

Hi @Manuccia81 ,

 

You have accepted wrong response as a solution. Always make sure to accept the right one as a solution. This just help others on the forum looking for the similar query.

I am marking the right response as a solution to this thread.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Thank you. 😉😊

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.