Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I'm using powerbi-client and ngx-power-bi npm for Angular app. When I use print() function of a report instance, it worked well on Chrome/Firefox.
But on the MS Edge(latest version - Version 90.0.818.46 (Official build) (64-bit)), it worked for the first time only. Means if I click to open an embedded report, a print popup will be opened as expected, but if I close or click to print, after the print popup is closed, I'm no longer can open the print popup again as nothing happened when I click to print the embedded report. Bellow is the code which I'm using.
import {NgxPowerBiService, powerBiServiceFactory} from 'ngx-powerbi';
import {models, Page, Report, VisualDescriptor} from 'powerbi-client';
printReport() {
const report = powerBiServiceFactory().get(this.getCurrentReportElement()) as Report;
if (!!report) {
report.print().then((res) => {
}).catch(response => {
AppNotify.warning(response.detailedMessage);
});
}
}
Will there be any response when you click print again after refreshing the web page?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
8 | |
4 | |
2 | |
2 |
User | Count |
---|---|
4 | |
3 | |
3 | |
3 | |
2 |