0 Replies Latest reply on Nov 5, 2019 4:34 PM by Padam Tripathi

    Tableau dashboard export to excel with dashboard image on 1st sheet

    Padam Tripathi

      Hi,

       

      I am using below mentioned code to export the tableau dashboard to excel but i can get the data but image part is not getting into 1st sheet of excel. Sheet is created but there is no image. I'm using the chrome, if anyone of you use the similar code to export to excel with dashboard image on 1st sheet, please help me.

       

      base1 = myBase64.split('data:image/png;base64,')[1];

       

      wb.SheetNames.push(sheetName1);

      wb.Sheets[sheetName1] = XLSX.utils.json_to_sheet(ExcelData);

       

      saveAs(new Blob([s2ab(wbout)], {

                                                              type: "application/octet-stream"

                                                          }), fname1);