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

Replace Text in Column for all same Values in different Column

Hello,

 

I recently started using power bi and am now facing the following problem:

I import and combine several .xlsx from a folder. One column has IDs for the items in the list, where as a different column has the names. Now in the name column there are some names in english, some in german, and some just have a "-". 

Example shown below but the names are more complicated:

Unique IDIDName
11Banane
21Banana
32Apfel
42Apple
52-
63Tomate
73Tomate
84Cucumber
94Cucumber
104-
114Gurke
124Gurke

 

I would like all IDs to have only one name -> 1:1, currently its 1:n and n is either 1, 2 or 3.

I don't care if its the english or the german name that will be "kept", as long as it ends up being one ID with one name and the name is not the "-". Example shown below:

Unique IDIDName
11Banana
21Banana
32Apple
42Apple
52Apple
63Tomate
73Tomate
84Cucumber
94Cucumber
104Cucumber
114Cucumber
124Cucumber

 

 

Thanks for your help!

EDIT: Added unique ID column in table.

2 REPLIES 2
Anonymous
Not applicable

@Anonymous 

 

Can you upload a screenshot of how your tables are connected?

 

Kind regards,

Tobias

Anonymous
Not applicable

They are all the same, except split by month because they are too big to handle in a single file.

They all have the exact same columns etc., if thats what you mean.

 

EDIT: If it helps there is a unique ID column, which gives all the rows have a unique ID, and there are many more additional columns but they should not be relevant I think.

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.