Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

#Error problem in Print Documents

(0) ShareShare
ReportReport
Posted on by 1,893

 Hello Experts all,

I am trying to add the total qty in rdlc..but in output always showing the # Error. My expression is below with print layout. please suggest me to resolve it.

8712.uu.png

*This post is locked for comments

  • Suggested answer
    asouiak Profile Picture
    97 on at
    RE: #Error problem in Print Documents

    hi 

    i have the same of this problem but in fields value not SUM function excatlley am working into report ID 38 ( Blance By period ) the canit be as decimal or integer when export to excel #error code is preview i tested a lots of function and no working can help me

    thank you 

  • manish.yadav Profile Picture
    1,893 on at
    RE: #Error problem in Print Documents

    Through this, query resolved. Actually,  I have added the unit of measurement and qty in same data fields.

    FORMAT("Transfer Shipment Line".Quantity)+'  '+"Transfer Shipment Line"."Unit of Measure"

    That's a  reason, the error was coming.

    thank you very much for your support.

    Now query is resolved.

  • manish.yadav Profile Picture
    1,893 on at
    RE: #Error problem in Print Documents

    Still getting the no result, showing all 0 

    04316.uu.png

  • Verified answer
    Suresh Kulla Profile Picture
    47,789 on at
    RE: #Error problem in Print Documents

    Hello,

    Please convert your Qty_Nos  to integer. Try like this Sum(CInt(Fields!Qty_Nos.Value)

  • Verified answer
    Binesh Profile Picture
    7,885 on at
    RE: #Error problem in Print Documents

    Hello,

    write something like:

    =SUM(IIF(IsNumeric(Fields!Qty_Nos.Value), Fields!Qty_Nos.Value, 0))

    Note: This error mostly came, if value is not in correct format that are acceptable by field or divide by zero.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans