The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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!