Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

How do I solve this RDLC custom report layout error? (Rendering output for the report failed)

(1) ShareShare
ReportReport
Posted on by 156
I am attempting to add another Dataset from the same table (specifically Sales Return Order Header) so that I can add a set of fields onto a Sales Return Order custom report layout.
 
Unfortunately, the result was that I receive this error when I preview the Sales Return Order's print preview over on Business Central:
Rendering output for the report failed and the following error occurred: The Value expression for the text box ‘Textbox3’ has a scope parameter that is not valid for an aggregate function. The scope parameter must be set to a string constant that is equal to either the name of a containing group, the name of a containing data region, or the name of a dataset.
 
I am getting the impression from Copilot and other resources saying that the syntax is not correct or I have to configure something (unclear of what, how and where exactly) to add this SalesReturnOrder to this particular RDLC report.
When I use the tool Microsoft Power Bi report builder to reinsert this field onto the custom report layout (specifically the header portion of the layout), I still receive the rendering output error mentioned above (in italics).
 
On my attempt of a solution, I put this into Textbox3:
=First(Fields!Sell_to_Customer_Name.Value, "SalesReturnOrder")
Here is a screenshot to show how I inserted and came up the above into the RLDC report using Microsoft Power Bi report builder program: (Textbox3 is selected)
 
 
 
 
Looking back, as I recently updated the Microsoft Power Bi builder program, I was able to discover that I can right click Data Sources folder on the left and select "Get Data" to reach the Business Central data source:
(I was able to successfully add the Sales Return Order table to the Data Sources folder)
 
Was someone able to achieve something similar with what I was trying to do and can assist with what I can do differently to resolve this issue?
 
Your help is much appreciated.
  • Joseph.Candava Profile Picture
    156 on at
    How do I solve this RDLC custom report layout error? (Rendering output for the report failed)
    @Khushbu Rajvi, the Sell_to_Customer_Name field does not exist in the DataSet_Result list.
     
    The reason I have to use the "Get Data" feature in Power Bi Builder is to introduce this particular field into the RDLC file from Business Central.
     
    This is the output for selecting DataSet_Result and using =Fields!Sell_to_Customer_Name.Value .

    It is explaining the Sell_To_Customer_Name field is not found when it examined the DataSet_Result list for this RDLC file when it was initially exported from Business Central's Custom Report Layout page.
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    17,486 Super User 2025 Season 1 on at
    How do I solve this RDLC custom report layout error? (Rendering output for the report failed)
    Joseph, select the data item as shown in the screenshot and try again.
    If it still doesn’t work, use this formula: =Fields!Sell_to_Customer_Name.Value
    Let me know the output.
  • Joseph.Candava Profile Picture
    156 on at
    How do I solve this RDLC custom report layout error? (Rendering output for the report failed)
    I created a new table and set the new SalesReturnOrder dataset.

    When I trialled this in Business Central, I get another Rendering output error. Any alternative solutions?
  • Joseph.Candava Profile Picture
    156 on at
    How do I solve this RDLC custom report layout error? (Rendering output for the report failed)
    When I select a table and look at the properties panel to the right of the screen, I have located the dropdown to select which "DataSetName".
    Is there a way to do something like this to a textbox?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans