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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.

Top Solution Authors