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 have spent several days trying to find a simple example of using powerbi-client in a pure javascript module. No .NET no C# no "look at the docs created from the code"
All I want is something like...
import * as pbiClient from "powerbi-client"
// list available reports
let reports = pbiClient.service.getReports(url, config);
// show a report in a given iframe
let report = pbiClient.Report(required, properties, ...)
// Detect events in the report...
report.addHandler(function)
I have not been able to find anything. I am repeatedly sent to examples written in Visual Studio and C# or sent to the docs generated from typescript or "demos" that dont help.
I can eventually derive how to do it reading the tsdoc for the code with trial and error and guess work ... but thats time consuming and painful.
Does anyone know of any simple examples I can use for reference?
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 |
---|---|
11 | |
6 | |
4 | |
2 | |
2 |
User | Count |
---|---|
4 | |
3 | |
3 | |
3 | |
3 |