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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.