web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

got error in SSRS report when deploy

(0) ShareShare
ReportReport
Posted on by 30

Hi All,

i have added one date filed in design and wrote below expression -- 

=First(Fields!GDJ_InvoiceDate.Value, "SalesInvoiceHeaderFooterDS") when deploying then got below error -- 

but got below error --

System.Web.Services.Protocols.SoapException: The Value expression for the text box ‘Textbox27’ refers to the field ‘GDJ_InvoiceDate’. Report item expressions can only refer to fields within the current dataset scope or, if inside an aggregate, the specified dataset scope. Letters in the names of fields must use the correct case.
at Microsoft.ReportingServices.Library.ReportingService2005Impl.CreateReport(String Report, String Parent, Boolean Overwrite, Byte[] Definition, Property[] Properties, Guid batchId, Warning[]& Warnings)
at Microsoft.ReportingServices.WebServer.ReportingService2005.CreateReport(String Report, String Parent, Boolean Overwrite, Byte[] Definition, Property[] Properties, Warning[]& Warnings) C:\Program Files (x86)\MSBuild\Microsoft\DynamicsTools\Microsoft.Dynamics.Framework.Design.Reporting.Modeling.targets 466 6 GDJ_JPN_SalesInvoice

Kindly let me know how to resolve the issue

Please give me more shed on this.

Thanks!

I have the same question (0)
  • Verified answer
    Jolanta Malkowska Profile Picture
    on at

    Hi @rp@n,

    this error indicates that the field you provided in the expression does not exist in the SalesInvoiceHeaderFooterDS dataset - so either you added it to a different temporary table and by doing so it is now in a different dataset, you used a different name for it (are you sure you used the GDJ_ prefix in the field name? and not GDJ alone or GDJ_JPN_? no spelling issue? no letter case mismatch?),... or you have not refreshed the SalesInvoiceHeaderFooterDS dataset. Could you please double check it? This field needs to be present in the fields list of the SalesInvoiceHeaderFooterDS dataset with the exact same name as used in the expression.

  • Blue Wang Profile Picture
    on at

    Hi @rp@n,

    Do you reference multiple data sets in the same data region? What are your specific needs?

    The simple method is that one region corresponds to one data set.

    Please check this if it's helpful: https://stackoverflow.com/questions/45057360/ssrs-error-report-item-expressions-can-only-refer-to-fields-within-the-curren

  • @rp@n Profile Picture
    30 on at

    Thanks Jolanta,

    Now it's done.

  • @rp@n Profile Picture
    30 on at

    Thanks Jolanta,

    Now it's done.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans