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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
PanBrodacz
New Member

Renaming columns in data source causing #REF! error in formulas with structured reference

1. I have a table with data from other file and formulas with structured reference to that table.

001.PNG

 

2. When I rename column in file with data source it causing #REF! error in formula with structured reference in output file.

002.PNG

 

3. PowerQuery not include any column names.

003.PNG

 

Is there any way to avoid breaking that structured reference in formula?

3 REPLIES 3
PanBrodacz
New Member

Thank you for your answers but I prefer version with column name. Is there any solution in that way?

KT_Bsmart2gethe
Impactful Individual
Impactful Individual

Hi @PanBrodacz ,

 

Here is a bit old fashion method:

 

  1. Cell E1, reference to Cell A1;
  2. Cell E2 add formula: Indirect("List1["&E1&"]")

Regards

KT

AKNiang
Frequent Visitor

You can avoid referencing the column name in the formula.

 

Reference instead the column A.

 

=List1(A:A)

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.