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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Users online (9,820)