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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
DebbieE
Community Champion
Community Champion

Using Export to file for paginated reports in Logic Apps Not Working

I have a paginated report (which connects to a power BI data set)

And it has two parameters. month and Area

 

I have a SQL table of the two parameters to use in a Logic App

March 22     Area1

March23      Area 1

March 22     Area 2

 

I want to be able to automate the creation of a power point slide set and add into a Sharepoint folder.

 

I have this

LogicApp.png

So I get the list of parameter sets (In this case there are 3

i add a foreach and then add in Export to File for Paginated Reports

I tell it where to go for the report. Add the parameters

But then it just sits doing nothing. For about 15 minutes

LogicAppStuck.png

And then fails ActionFailed. An Action failed. No dependent actions succeedeed

 

Having a look. I can see Parameter values

[
  {
    "name": "Area 1",
    "value": "Feb 2023"
  }
]
 
And the outputs is StatusCode 400
 
"error": {
    "code": "Invalid_Report_Parameters",
    "message": "RootActivityId(30e6c67c-cbc5-4978-bb6a-ea8da7b388ea): One of the supplied report parameter names does not exist.",
    "details": []
 
So The report parameters arent right. I think its because I havent hooked up the SQL results to the actual parameters in the Paginated report but Im not sure how. 
 

Is it possible that I havent done something really obvious here? I just cant get this working (Im in Logic Apps NOT Power Automate but its basically the same thing in Azure)

1 ACCEPTED SOLUTION
DebbieE
Community Champion
Community Champion

Well as soon as i posted this I spotted the error in Parameters. i hadnt set the name and value correctly

i needed to set name to the name of the parameter in report builder

View solution in original post

2 REPLIES 2
DragosBI
New Member

Hi @DebbieE  did it finally worked? I try to do same, a paginated report to be distributed based on parameters. It worked without parameters, then trying with parameters, nothing worked anymore. Strange that took out everything, went as at the beggining and still doenst work anymore. No error, just doing nothing for 10 minutes.

DebbieE
Community Champion
Community Champion

Well as soon as i posted this I spotted the error in Parameters. i hadnt set the name and value correctly

i needed to set name to the name of the parameter in report builder

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors