The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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!
User | Count |
---|---|
5 | |
3 | |
3 | |
2 | |
1 |
User | Count |
---|---|
11 | |
7 | |
5 | |
5 | |
4 |