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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.