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

See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap

Reply
mkaffo
New Member

Dynamically Add titles to columns

Hi,

 

I am looking to dynamically add titles to column headers, specified by user. 

 

I have a data sheet (excel) where there are several columns titled, class level 1-10. This is imported into Power BI and I have several graphs/reports based from this. This data sheet will be updated for different users and the class levels will need to be specified.

 

I want to be able to update these following creating tables/reports as if I rename before creating reports it will be unable to find referenced 'class level'. Any help would be much appreciated. I understand similar queries have been asked but I have not been able to find a response. 

 

Thanks, 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @mkaffo,

 

AFAK, power query not support auto update column names.
Original table structure will cached in power query steps, if you modify original source, power bi will return error for it can't find the specific columns.

 

In my opinion, I'd like to suggest you create specific table to store column names, them you can follow below MarcelBeug's solution to dynamic generate column name.

Dynamic column name from its value

 

Regards,

Xiaoxin Sheng

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

HI @mkaffo,

 

AFAK, power query not support auto update column names.
Original table structure will cached in power query steps, if you modify original source, power bi will return error for it can't find the specific columns.

 

In my opinion, I'd like to suggest you create specific table to store column names, them you can follow below MarcelBeug's solution to dynamic generate column name.

Dynamic column name from its value

 

Regards,

Xiaoxin Sheng

 

mkaffo
New Member

Hi,

 

I am looking to dynamically add titles to column headers, specified by user. 

 

I have a data sheet (excel) where there are several columns titled, 'class level 1, 2, ..., 10'. This is imported into Power BI and I have several graphs/reports based from this. This data sheet will be updated by different users and the class levels will need to be specified.

 

I want to be able to update these following creating tables/reports as if I rename before creating reports it will be unable to find referenced 'class level'. Any help would be much appreciated. I understand similar queries have been asked but I have not been able to find a response. 

 

Thanks, 

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

Check out the May 2025 Power BI update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.