Questions tagged [powerbi-js-api]

10 questions
8
votes
3 answers

How to generate PDF output of powerbi embedded report

I have a powerbi report embedded to my webpage. What I need is to add an "export" button to my page and export the report to the PDF when the button is clicked. How can I achieve this? People online advises using report.print() or window.print(),…
Eray Balkanli
  • 7,752
  • 11
  • 48
  • 82
4
votes
2 answers

Powerbi embedded - Export to pdf with slicers/filters applied

I'm trying to implement the "Export to PDF" functionality for my Power BI reports embedded (https://learn.microsoft.com/en-us/power-bi/developer/embedded/export-to). The process explained in the docs is pretty clear, but I have only one doubt that…
MFF
  • 137
  • 8
1
vote
0 answers

Display public PowerBI report with powerbi.js (without credentials / token)

I'm trying to embed a PowerBI report in my webpage This code works well WHEN the report has been published on Azure. So, providing the good credentials, everything is OK var config = { type: 'report', tokenType:…
user2687153
  • 427
  • 5
  • 24
1
vote
1 answer

PowerBI JS SDK - setFilters() removes all but 1st filter from filters panel

Just recently noticed, that setting filters of PowerBI Embedded by using setFilters() removes all but 1st filter from filters panel. However all the other filters are still returned when used getFilters(). Tested in a few different environments.…
fuji
  • 317
  • 2
  • 19
1
vote
1 answer

Filters (Parameters) for RDL (Paginated) report in PowerBI-JavaScript API

Looks like filters (parameters) are not applied and not fetched for Paginated Reports similar to Sample Reports as shown in demo (https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html#) report.setFilters([filter]);…
Rostislav
  • 45
  • 6
0
votes
1 answer

Generate and mail PDF/PNG powerbi embedded report

I have a powerbi report embedded to my webpage. What I need is to add an "export" button to my page and export the report to the PDF/PNG when the button is clicked send it to my backend, so I can mail it. How can I achieve this? Tried libs that…
candiani
  • 29
  • 7
0
votes
1 answer

Power BI Embedded - Javascript API & Filtering

I have a working app based on the App Owns Data documentation & GitHub sample: https://learn.microsoft.com/en-us/power-bi/developer/embed-sample-for-customers https://github.com/Microsoft/PowerBI-Developer-Samples My issue is with attempting to…
rvn
  • 11
  • 5
0
votes
2 answers

How to embed powerbi report without iframe in website using any javascript library?

I am trying to integrate powerbi report in my website. But the powerbi-client node module servers the report output in iframe. My requirement is to load the powerbi report in a website page without iframe so that our report will not be served from…
0
votes
1 answer

Why powerbi.load method is not working anymore?

I'm embedding powerbi reports on my page via powerbi js embedded (ajax) and I'm having problems with getting pages from powerbi reports. I've already tried the .load method and report.getPages() throws this error: ERROR Error: Uncaught (in promise):…
0
votes
2 answers

How to get titles of the pages of a PowerBI report in JavaScript or C#?

I have a PowerBI report having 5 different pages. The code below helps me to set a desired page as the default page when the web page I embedded the PowerBI report comes up to my screen. var report = powerbi.embed(reportContainer, config);…
Eray Balkanli
  • 7,752
  • 11
  • 48
  • 82