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
ctaulbee
New Member

Unique Dashboard per User in Embedded?

Does anyone know of a way to have a Dashboard on an embedded app that's unique for each user that signs on, they can pin visuals to it, etc, but it doesn't impact the Dashboard of anyone else on the platform?

 

Thanks

2 REPLIES 2
Anonymous
Not applicable

This looks like something I'm looking for as well.

I would like to present each dashboard with an embedded report (simulating the Pin to a dashboard functionality from a Report) which I think the Clone Tile could accomplish.
However, for each dashboard, I would like to programmatically Filter the report (based on what customers can see in their dashboard.)

I was able to filter a report alone, but not when it is attached to a dashboard .. Is there a way to accomplish this filtering?

MattCalderwood
Responsive Resident
Responsive Resident

Hi @ctaulbee 

If you are looking to enable the ability for users to create dashboards within your embedded application - then I dont think that is currently possible. You can create reports via embedding, but not dashboards: https://github.com/Microsoft/PowerBI-JavaScript/wiki/Create%5CEdit-Report-in-Embed-View

 

If you are creating dashboards within the Power BI Service, and want users who login to your app to each have a different dashboard, then this is "possible"... but it would be up to your application to load the appropriate dashboard depending on the user accessing it. You can retrieve a list of dashboards in your workspaces via the REST API: https://docs.microsoft.com/en-us/rest/api/power-bi/dashboards/getdashboardsingroup

One possible workaround for your scenario to enable end-user (in app) dashboard creation (I have not tried this at all btw)....

The REST API does look like it will allow you to create dashboards via an API call.
https://docs.microsoft.com/en-us/rest/api/power-bi/dashboards/adddashboardingroup

Which you could call - giving it a unique name or something that ties it back to the user.


Then use the 'Clone Tile' function - to copy tiles from a source dashboard -> to the one you have just created.
https://docs.microsoft.com/en-us/rest/api/power-bi/dashboards/clonetileingroup

As mentioned, I have not tested these endpoints myself... but you might be able to build user-specific customized dashboards this way. It might take quite a bit of code though.

Hope this helps,
Matt

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.