Forum Discussion
CaioSilva
Jan 12, 2021Copper Contributor
[SOLVED] Power Query - Try don't work with Folder.Files
Oi pessoal!
Esta é minha primeira discussão, então eu tenho um problema ao tentar carregar pastas diferentes (no OneDrive) no Power query Excel. Usei a instrução try para corrigir isso, tentando abrir duas pastas diferentes, mas não funcionou. Ela não retorna um registro com os campos [HasError] e [Erro / Valor] para mim.
Desde já, obrigado.
- Guys, i solved this using a following statement:
Source = try Table.Buffer(Folder.Files(AnyPathHere)) otherwise Folder.Files(OtherAnyPathHere)).
Using Table.Buffer the try statement works again.
3 Replies
- CaioSilvaCopper ContributorGuys, i solved this using a following statement:
Source = try Table.Buffer(Folder.Files(AnyPathHere)) otherwise Folder.Files(OtherAnyPathHere)).
Using Table.Buffer the try statement works again.