Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
NerdFlanders
Helper I
Helper I

Embed Group Reports or Tiles

Hey,

 

I'm working on integrating Reports with Power BI Embedded and the REST API. I already manages to embed MY reports and tiles and i know i can also get groups where i'm in, but how can I embed Reports from a group? Is that possible?

 

Thanks in advance.

7 REPLIES 7
lfrancfort
Frequent Visitor

@NerdFlanders : I have the same issue and read the same page, but I didn't understand what they tell by :

 

    // when using a report in a group, you must provide the groupId on the iFrame SRC

 

Can you give me the line of code where "you provide the groupID on the iframe SRC" ?

 

Thank you,

 

Laurent

@lfrancfort : The exact embed URL I'm using looks like that:

 

https://app.powerbi.com/reportEmbed?reportId=< your report ID >&groupId=< your group ID >

 

actually we managed it to embed any report to SharePoint with pasting simple JavaScript code into the SharePoint site and made this Iframe responsive to the window size.

So no C# code or WebParts oder anything additional

Thank you very much, I didn't understand what they meant by "provide the groupid".

 

Laurent

 

ankitpatira
Community Champion
Community Champion

@NerdFlanders With Power BI Embedded you import pbix file into your azure workspace. So I don't think you need to do anything with group workspaces of power bi service. You simply need pbix file for each report and publish them to your azure workspace unless I've misunderstood you.

No, there are two, let's say versions, of power bi embedded, the one you explained and there is one there you can access reports, dashboards and tiles directly in your workspace with REST API, so you can embed even single tiles on a website. There you also can get your groups, see at Apiary.

I'm wandering why there is a function to get my groups if I can't get any reports from there, or can i?

I found it out by myself:

 

simply add groups/<groupid>/ to you base uri https://api.powerbi.com/beta/myorg/

 

If not you'll only get the reports, dashboards and tiles from your own workspace, but if you organize your reports by topic in different groups its neccessary to get reports from there aswell.

Hello @NerdFlanders

Have you tried to embed group reports using iFrame or JavaScript API?

Like in this tutorial:

https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-integrate-report/

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors