Forum Discussion
Loop within a loop
- 2 years ago
=Table.FromRecords(List.TransformMany(Table.ToRecords(GetAllFolders(),each Table.ToRecords(GetAllQueuensinFolder([FolderName])),(x,y)=>x&y))
=Table.FromRecords(List.TransformMany(Table.ToRecords(GetAllFolders(),each Table.ToRecords(GetAllQueuensinFolder([FolderName])),(x,y)=>x&y))
- Anonymous2 years agoNot applicable
Thanks for your help.
I pasted your function in Power BI like so:And clicked "Invoke" and got this error:
Any ideas? Thanks again.
EDIT:
I think I wasn't putting the function in the editor correctly. I entered it like this now, and I still got the same error as above.
Thanks so much for your help. I am just learning this language.
- wdx223_Daniel2 years ago
Community Champion
my code just a example, you need complete it in your real circumstance.
GetAllFolders() and GetAllQueuensinFolder() may have some arguements to fill.