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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors