Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
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
@Anonymous wrote:
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
@Anonymous
I don't quite get your issue. If you'd like to embed one fixed report, you can hard code the reportid. In other case, you can get the reportids and embed reports according to your bussiness logic. You'll find all reports in one workspace via
var reports = await client.Reports.GetReportsInGroupAsync(GroupId);
Hi, so if I get the reportids can i then loop through and embed them on a web page?
@Anonymous wrote:
Hi, so if I get the reportids can i then loop through and embed them on a web page?
You can surely do that. The reports just have to be in different iframes.
Hi @Anonymous
I solved it creating multiple App Workspace and make the call to them dynamic. In each App Workspace is a report an it is displaying depending an id that I send through my app. Hope it helps you
Regards
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |