Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello all
Currently I am using the latest version of powerbi-client for javascript to embed reports. Now I have embedded a paginated report using the interface IPaginatedReportLoadConfiguration, because with this interface I can set the parameters of my report from my web to the report like the next code:
const config: IPaginatedReportLoadConfiguration = {
accessToken: token,
tokenType: models.TokenType.Embed,
embedUrl: embedUrl,
type: 'report',
id: id,
parameterValues: [ {name: "myname", value: "value" } ],
settings: {
commands: {
parameterPanel: {
enabled: true,
expanded: true
}
}
}
};
this.powerBIService.embed(element, config);
this is working fine, but I need to know the list of parameters dynamically because my paginated reports can have different amount of parameters. if there's any way to get the list of paginated report parameters ? I haven't found any information in the the sandbox.
Solved! Go to Solution.
Hi @osb1,
After I check on the rest API for paginated report, it seems not include related APIs to get available parameter list from paginated report.
Perhaps you can try to submit an idea for add support with this type of report.
Regards,
Xiaoxin Sheng
Hi @osb1,
After I check on the rest API for paginated report, it seems not include related APIs to get available parameter list from paginated report.
Perhaps you can try to submit an idea for add support with this type of report.
Regards,
Xiaoxin Sheng
thank you!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
3 | |
3 | |
2 | |
2 |