Search notes:

Power Query M formula language standard library: File.Contents

File.Contents(filename) returns the content of filename as binary.
The following function reads a text file:
let
   readTextFile = (filename) => Text.FromBinary(File.Contents(filename))
in
   readTextFile

See also

The Power Query standard library

Index