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
Yonko
Helper I
Helper I

Need to filter dashboard and save as image in automatic mode

Hi there, today I came here with the next problem.

I have a dashboard with a visual which shows data for users. There is also a filter for users, so you can select different users and visual will show different data.

And now comes the problem - our Client wants to implement the next functionality: user in Telegram should paste their name to the bot and then it somehow should be transfered to PBI and be filtered by it (usernames will be the same as in filter), and after it filtered visual should be transfered back to the user (image or PDF will also works). So it's like to open the dashboard, filter user, make a screenshot or save as PDF and send it back to user - but because there will be lots of users it'll be tedious and Client wants to automate it.

There is a function to filter dashboard by URL, so if username could be inserted in a link the dashboard will be correct, and then the Client just need to save it as PDF and sent back to user - but I don't know how automate saving. Another option would be just give the link back to user, but because they aren't from company they won't have access. And we can't apply these link manipulations with the public URL.
So, if anyone have some ideas how to make this functionality I'll be very grateful.

Have a nice day anyway.

1 ACCEPTED SOLUTION
ribisht17
Super User
Super User
2 REPLIES 2
ribisht17
Super User
Super User

lbendlin
Super User
Super User

I have a dashboard with a visual 

What you have is a report.  A dashboard is something different.

 

Theoretically you could have an API call that would request an export of your filtered report as a PNG or PDF. However that will be very slow as the render request will be put in the queue, and then it may or may not be worked on straight away, so your API caller will need to poll the service to ask "are you done yet" repeatedly, and once complete would have to fetch the resulting file.  

 

So yes, this can be automated but the user experience will be horrible.

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