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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
JoergSch
Frequent Visitor

PowerBI API Export to File - Parameters settings for RDL report

Hello,

we have several RDL reports on PowerBI and would like to use the "Export To File in Group" API, to generate the report.

This works fine for parameterless reports.

When we are trying this for reports with parameters witht the option "Get values from a query", we have to put in the value instead of the label.

JoergSch_0-1620827457368.png

E.g. results from the query:

Value = 1, Label = All

Value = 2, Label = None

 

In the API Body we have to put in 

 

"parameterValues":[
         {
            "name":"OrgUnit",
            "value":"1"
         }
      ]

 

Is there a way to put in the Label field value, like

 

"parameterValues":[
         {
            "name":"OrgUnit",
            "value":"All"
         }
      ]

 

Many thanks for your help.

 

Joerg

2 REPLIES 2
Anonymous
Not applicable

Hi @JoergSch ,

Please review the content in the following link and check whether it can export RDL reports with parameters using Power Automate.

Multivalue parameters in #PowerBI paginated report when using #PowerAutomate to export to file

Best Regards

Hi,

the problem is not the multivalue parameter. The problem is that the parameter is filled by a SQL query with a value and a name. The user is only seeing the Label (e.g All, None, ..), but the Value fields behing that are e.g.  1,2,3,..

When we try to generate the report via API, we have to provide the Value information (1,2,3,..) and not the Label information.

The "End-user" wouldn't know what are the values for each Label.

 

Best regards,

 

Joerg

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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