Forum Discussion

pawlowski6132's avatar
2 years ago
Solved

PowerBI Embedded Analytics with vanilla Javascript and HTML?

Is it possible to develop a solution using PowerBI Embedded Analyltics with only vanilla Javascript and HTML. Many of the MSFT tutorials and documentation reference other environments (for Org/User Owns Data) for developing but, before I dig in was hoping to understand the answer to this question.

 

Thank you in advance.

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi pawlowski6132,

    Perhaps you can take a look them power bi embedded client Api, they can embed power bi report contents with common html elements and JavaScript codes and not require any additional platform frame that may affect the original web site usages. (you need iframe element to loading data from power bi, with correspond embed configuration)

    Power BI embedded analytics Client APIs | Microsoft Learn

    Regards,

    Xiaoxin Sheng

3 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    HI pawlowski6132,

    So you mean to directly embed the content to the html site without any other settings? If that is the case, I'd like to suggest you use 'publish to web' feature to embed report contents. You only need to add an iframe on your website and setting the property with generated embed code to load data from source report.

    Publish to web from Power BI - Power BI | Microsoft Learn

    Regards,

    Xiaoxin Sheng

    • pawlowski6132's avatar
      pawlowski6132
      Helper V

      Hi I mean, can I implement PowerBI Embedded Analytics solution using all the available features and functions using static hosting and vanilla javascript and HTML. Do I really need React or any other frameworks orshosting soutions. I want more than to just embed a power bi report in an iframe. thanx

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi pawlowski6132,

        Perhaps you can take a look them power bi embedded client Api, they can embed power bi report contents with common html elements and JavaScript codes and not require any additional platform frame that may affect the original web site usages. (you need iframe element to loading data from power bi, with correspond embed configuration)

        Power BI embedded analytics Client APIs | Microsoft Learn

        Regards,

        Xiaoxin Sheng