cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Global Renaming of Column Headers to show the Table (data source) name

Hi, new power BI user here.

 

I've got a bunch of tables that have very similar data in them that I'm looking at together.  So I have a bunch of columns with the same header name. When I start pulling fields into visualizations, the source of the data thus gets confused. Is there a way to globally rename all of the column headers so that instead of fields being named:

 

Column 1, Column 1, Column 1, ...

 

I can see Column headers named as:

 

Table 1 Column 1, Table 2 Column 1, Table 3 Column 1, ...

 

Thanks!

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Impactful Individual
Impactful Individual

Re: Global Renaming of Column Headers to show the Table (data source) name

Yes.  The manual way would be to go to the data view and right-click each column header and select "Rename".  The quicker, and more efficient way is to do it via your data input query.

View solution in original post

Highlighted
Impactful Individual
Impactful Individual

Re: Global Renaming of Column Headers to show the Table (data source) name

You might want to view this YouTube video on how to do this: Add prefix to headers in Power Query #1: Cleaning Data with M

View solution in original post

3 REPLIES 3
Highlighted
Impactful Individual
Impactful Individual

Re: Global Renaming of Column Headers to show the Table (data source) name

Yes.  The manual way would be to go to the data view and right-click each column header and select "Rename".  The quicker, and more efficient way is to do it via your data input query.

View solution in original post

Highlighted
Impactful Individual
Impactful Individual

Re: Global Renaming of Column Headers to show the Table (data source) name

You might want to view this YouTube video on how to do this: Add prefix to headers in Power Query #1: Cleaning Data with M

View solution in original post

Highlighted
New Member

Re: Global Renaming of Column Headers to show the Table (data source) name

Thanks! super helpful.

Helpful resources

Announcements
Meet the 2020 Season 2 Power BI Super Users!

Meet the 2020 Season 2 Power BI Super Users!

Find out who's part of the program this season, and welcome the new Super Users.

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

July 2020 Community Highlights

July 2020 Community Highlights

Learn about the exciting things that happened in July.

Featured Data Story of The Month

Featured Data Story of The Month

All Data Stories Gallery contributions are reviewed for each month. We select a contribution and feature the community member the following month.

Power BI Dev Camp - Developing with .NET Core

Power BI Dev Camp - Developing with .NET Core

Learn how to develop custom web applications for Power BI using .NET Core 3.1 and .NET 5.

Top Solution Authors
Top Kudoed Authors