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

The 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.

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.