Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)
Suggested answer

Format number in ssrs report

(0) ShareShare
ReportReport
Posted on by 1,835

Dear Experts,

I am facing problem to set the comma in invoice value figure. for foreign customer.

What expression I need to use. My current expression is =Format(Fields!round_amt_to_customer.Value,"##,##,##,###.00")

EX. - USD 1,64,81,937.92 I want to write like this 

USD 16,481,937.92

*This post is locked for comments

  • manish.yadav Profile Picture
    manish.yadav 1,835 on at
    RE: Format number in ssrs report

    Thank you for your reply sir.

    Through the below link, I have resolved the query from my own.

    blogs.msdn.microsoft.com/.../how-to-change-thousandsdecimals-separators-in-rdl-reports

    The link is very helpful.

    Please close this thread.

  • Suggested answer
    Muratvzr Profile Picture
    Muratvzr 743 on at
    RE: Format number in ssrs report

    Helle please first look at the report language different languages has different cultures so it's not applying sometimes and the best way to make field format is text box number properties if n2 is not working than go to custom and write #,##0.00 something like that 

    ReportLanguage.PNG

  • manish.yadav Profile Picture
    manish.yadav 1,835 on at
    RE: Format number in ssrs report

    Yes, Textbox91 is the control of this report and it is available in body section and I am using in footer section.

    7534.test01.png

  • Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Format number in ssrs report

    It seems that Textbox91 is not a control in your RDLC. Is it correct the name of your control that you want to reference (where you've set the decimal fields)?

  • manish.yadav Profile Picture
    manish.yadav 1,835 on at
    RE: Format number in ssrs report

    I am doing the same from your suggested link. When I try to save the report, I am getting the error messages, my expressions are below:

    =ReportItems.Textbox91.Value

    0513.test01.png

  • Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Format number in ssrs report

    In Headers and Footers in RDL Layout we cannot just add fields from the dataset. Instead, we must add the field to the Body of the report (but hide it), and then use the ReportItems! collection in the header to refer to the field in the Body.

    Check here how to use ReportItems! :

    msdn.microsoft.com/.../bb934329.aspx

  • manish.yadav Profile Picture
    manish.yadav 1,835 on at
    RE: Format number in ssrs report

    Dear Stefano,

    Through google, I have got a link. I have implemented in my report code. But it is working only in body section. Invoice total amount is showing in footer section.

    If you understand the given link, please give me tips, how can I implement in report footer.

    blogs.msdn.microsoft.com/.../how-to-change-thousandsdecimals-separators-in-rdl-reports

    I am waiting for your positive response.

  • Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Format number in ssrs report

    The previously described settings + settings the Language property of the textbox correctly should work...

  • manish.yadav Profile Picture
    manish.yadav 1,835 on at
    RE: Format number in ssrs report

    I have already done it. But there is no effect.

    After each 100 separator should come.

    Like 85808580

    Output  should be

    85,808,580

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Format number in ssrs report

    Hi ,Please select textbox then right click - then go to text box property- select number- tick the  check box (regional formatting & 1000 separate ).

    As per below Screenshot,set your requirement .

    4135.screenshot.png

    Please let me know ,If it help you.

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans