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

The Fabric community is upgrading! Read all of the details including the timeline and what you can expect. 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
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.

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.