Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

#Error problem in Print Documents

Posted on by 1,835

 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
    asouiak 95 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
    manish.yadav 1,835 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
    manish.yadav 1,835 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
    Suresh Kulla 43,745 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
    Binesh 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans