Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
osb1
Helper I
Helper I

Get Paginated Report Parameter names, values or definition that are Embedded in a Web site

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.

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

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.

Microsoft Power BI ideas

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

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.

Microsoft Power BI ideas

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

thank you!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.