Forum Discussion

martijnkuiper's avatar
martijnkuiper
Frequent Visitor
1 year ago
Solved

Power BI REST API ExportTo MHTML leads to a base64 encoded file

I am using a Python Notebook to export Paginated Reports to an HTML file. Now it works fine for CSV files, I get clear and readable CSV back, the same goes for IMAGE with the format set to PNG. But w...
  • lbendlin's avatar
    lbendlin
    1 year ago

    Ok, plan B.  Use Power Query to decode the Base64 data.  Text.FromBinary(Binary.FromText(payload),Encoding.Base64)