Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Call a function in a List of tables

Hello, 

 

I have a complex subject

 

I have a table (A) like this : 

Index

1
2
3
4
5

In this table I call a function in add custom column like this : Myfunction([Index])

 

I have a new query that is a list and with many tables with the aspect of table (A) 

 

List 

[Table] 
[Table]
[Table] 

Each table have the column Index 

 

How to call the function in the list of table without expand the list ?

 

Thank you in advance

  • Hello Anonymous - 

    You can invoke a table function on a list of tables like this:

    List.Transform ( ListOfTables, each Myfunction(_[Index]) )

1 Reply

  • Hello Anonymous - 

    You can invoke a table function on a list of tables like this:

    List.Transform ( ListOfTables, each Myfunction(_[Index]) )