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.
@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.
Like in this tutorial:
@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" ?
@lfrancfort : The exact embed URL I'm using looks like that:
https://app.powerbi.com/reportEmbed?reportId=< your report ID >&groupId=< your group ID >
So no C# code or WebParts oder anything additional
We're excited to announce our first cross-community 'Can You Solve These?' challenge!
Visit our Community Blog for articles, guides, and information created by fellow community members.
Wondering what events you could join or have an event to promote yourself? Check out our Upcoming Events.
We are thrilled to announce we will begin running a monthly webinar series named Power BI Dev Camp.