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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Kudoed Authors