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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Chris_23
Helper II
Helper II

Different refresh scenario under 365 and 2016

Hallo guys,

 

i've built a Excel-report with some query and vba components on Microsoft365. Everything works fine if the user has an 365 license. however, if the user has a 2016 standard license the report doesn't work right.

 

-> While running one query follow error comes up: 5 arguments were passed to a function which expects between 2 and 4
Problem: Insert a Index column: #"Hinzugefügter Index" = Table.AddIndexColumn(#"Entfernte Duplikate", "Index", 1, 1, Int64.Type)

If i deleate ", Int64.Type" the futher steps in the query work, but

 

it seems that the single queries need more time to load, if the user has a 2016 license. In result that the produced outcome in the report is not to use.

 

Any idea how to handle the problem?

 

Kind regards

Chris

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Chris_23 ,

 

Based on my test, there must be 4 parameters for Table.AddIndexColumn() in Excel 2016

= Table.AddIndexColumn(#"Changed Type", "Index", 1, 1)

Eyelyn9_1-1639360849906.png

and 5 parameters in Power BI , the last one is to define column Type which is optional,as the official document said:

Table.AddIndexColumn(table as table, newColumnName as text, optional initialValue as nullable number, optional increment as nullable number, optional columnType as nullable type) as table

 

=Table.AddIndexColumn(#"Changed Type", "Index", 1, 1, Int64.Type)

Eyelyn9_2-1639360950459.png

= Table.AddIndexColumn(#"Changed Type", "Index", 1, 1)

Eyelyn9_3-1639361363338.png

 

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Chris_23 ,

 

Based on my test, there must be 4 parameters for Table.AddIndexColumn() in Excel 2016

= Table.AddIndexColumn(#"Changed Type", "Index", 1, 1)

Eyelyn9_1-1639360849906.png

and 5 parameters in Power BI , the last one is to define column Type which is optional,as the official document said:

Table.AddIndexColumn(table as table, newColumnName as text, optional initialValue as nullable number, optional increment as nullable number, optional columnType as nullable type) as table

 

=Table.AddIndexColumn(#"Changed Type", "Index", 1, 1, Int64.Type)

Eyelyn9_2-1639360950459.png

= Table.AddIndexColumn(#"Changed Type", "Index", 1, 1)

Eyelyn9_3-1639361363338.png

 

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.