Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 18111

how to synchronize slices when using PowerBIClient.Reports.ExportToFile to export PDF

$
0
0

Hi there -

I have a generic question about using PowerBIClient.Reports to export a report to PDF.    We are using Embedded for Customer model to provide a group of users to access the report.  The questions  is how to synchronize the slices users selected from the web page with the Power BI service when calling ExportToFile fuction.  For example, User A selected Midwest, and User B selected Northeast as they are seeing from each individual browsers, when calling ExportToFile, we are expecting to get two different PDFs reflecting different slice selections.  How this can be done?   My initial understanding is that an access token pregenerentated for each user would guarrantee this, but I found that ExportToFile function does not take any pregenerated token, which means the PDF expored are based on the same report saved in workspace, i.e. all users would get the same PDF no mater how the slices are selected

Thank you very much for any help one this.embedded.PNG


Viewing all articles
Browse latest Browse all 18111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>