It's amazing how asking questions gets the mind over obstacles.
I solved this. Not sure if it's the best way and I don't fully understand it but here it is :
let
Query2 = let
Source = Xml.Tables(Web.Contents(etc..))
in
Source,
output = Csv.Document(Query2{0}[output]),
RowAsHeader = Table.PromoteHeaders(output),
NewTable = Table.TransformColumnTypes(
RowAsHeader,
{
{"Column Name", type text},
{"Column2 name", type text},
etc..
}
)
in
NewTable
I think I'm going to have lots of fun learning M.