Forum Discussion

CaioSilva's avatar
CaioSilva
Copper Contributor
Jan 12, 2021
Solved

[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 ...
  • CaioSilva's avatar
    Jan 14, 2021
    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.