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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Interfacing headers names

Hi, 

 

I am working on a PBI soucred on a data.csv file which might change in format in the upcomming. Is it possible in Power BI to first merge columns with similar headers ?

 

For instance, in this csv file, a new columns "offres" may appear instead of "offre" as below :

 PBI ask.PNG

 

I would like to set up an interface where I can say : If a header is "offres", "Offre" or "ofre" then merge it with "offre". It would result in : 

PBI ask 2.PNG

 

Is that possible in PBI ?

 

Thanks in advance,

1 ACCEPTED SOLUTION
Tahreem24
Super User
Super User

Hi @Anonymous ,

 

Please follow the below Steps: (Attached screen shot for your reference)

Step 1: Go to Power Query Editor.

Step 2: Go to  Add Column option --> select Custom Column Option --> Enter Name of your Column and expression as "[Offres]+[Offre]+[Ofre]".

Step 3: Hit Ok and you will get your expected out put.

Sum.JPG

Output:

ouput.JPG

 

 

Please give KUDOS to my effort and accept this as a solution!

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

View solution in original post

2 REPLIES 2
Tahreem24
Super User
Super User

Hi @Anonymous ,

 

Please follow the below Steps: (Attached screen shot for your reference)

Step 1: Go to Power Query Editor.

Step 2: Go to  Add Column option --> select Custom Column Option --> Enter Name of your Column and expression as "[Offres]+[Offre]+[Ofre]".

Step 3: Hit Ok and you will get your expected out put.

Sum.JPG

Output:

ouput.JPG

 

 

Please give KUDOS to my effort and accept this as a solution!

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
Anonymous
Not applicable

Thanks for the job done. 

 

But this solution does not work as my colums "offres" & "Offre" don't exist yet. It gives me this error: 

 

PBI ask 3.PNG

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.