Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 17907

Embedding multiple reports in the MVC Example Code

$
0
0

Hi everyone,

 

I'm going round in circles while trying to embed multiple reports into a Power BI Embedded solution, I hope someone can help. 

 

I've downloaded the example "App Owns Data" Visual Studio MVC application and have managed to get it working with the "default" first dashboard or report in a group but now I'd like to be able to control which report is displayed.  It looks like I need to control the value of the "reportId" within the HomeController.cs code file and I can manually manipulate this value by simple assigning it a hard-coded value, I can then embed any report in the group.

 

My issue comes from how to actually pass a reportid into the HomeController.cs file so I can control which report is actually displayed.  Has anyone been able to do this?

 

Thanks


Viewing all articles
Browse latest Browse all 17907

Trending Articles