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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Table.Buffer

Hi, colleagues,

I have a problem evidently with indexing:

 

MistyRose_0-1641370209513.png

 

The initial code in the Advanced query is:

 #"Added Index" = Table.AddIndexColumn(#"Renamed Columns6", "Index", 1, 1, Int64.Type),

 

How to fix it, I tried:

#"Added Index" = Table.Buffer (Table.AddIndexColumn(#"Renamed Columns6", "Index", 1, 1, Int64.Type)),

 

Then it refreshed and showed error in this line:

#"Duplicated Column" = Table.DuplicateColumn(Source, "DepositClass", "DepositClass - Copy"),

 

But it is correct.

May be you have an idea how to fix it?

Thanks

1 REPLY 1
MFelix
Super User
Super User

Hi @Anonymous ,

 

Without the full code is difficult to give you what is happening in full however from the code you present I cannot determine that the error comes from the buffer since the Duplicated step is refering to the Source step and the Index step is referecing the Renamed Columns step.

 

I believe that if the error was related with this step the errors would come on steps that relate with the Index step or are after taht step being related with it.

 

Can you share full code? If it has sensitive information share it trough private message


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português





Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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