Forum Discussion

Edward's avatar
Edward
Microsoft Employee
10 years ago

Can Power BI Embedded support rendering via MVC PartialViews?

I am following the sample on GitHub for Embedding a Power BI report. The sample solution also includes the utility that creates the workspace on Azure. The sample runs just fine.

 

I am now trying to integrate my own report into my UI. I am having some trouble making it work.

I would like to render it by PartialView.

If i try to render as a View i encounter issues (mostly related to my MVC design).

 

Question:

Are Partial Views supported by Power BI Embedded?

 

Thanks.

1 Reply

  • Edward's avatar
    Edward
    Microsoft Employee

    FYI, I am trying to render this using a View (just like the sample), but i dont see anything rendered.

    The only thing rendered is a div element with some attributes related to power bi and the report that im trying to render (i.e. there is nothing rendered that is visible in the browser).

     

    Note that i can see my rendered report when i use my web.config settings in the sample project.

     

    The sample code im referring to is this:

    https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-get-started-sample/