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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Formatting Currency field in SSRS Fetchxml report

(0) ShareShare
ReportReport
Posted on by

I have a currency field "totalamount" which is set to Currency precision 4 places at CRM level. While displaying this field in my Fetch xml report, I want to show only 2 decimal places.

I am using this expression inside the textbox: [Fields!totalamount.value]. It now displays as â‚¬â€Ž800.0000

I tried all the below options so far, but none of them are working..

1.  Format (Fields!totalamount.Value,"C")

2.  Textbox properties, set currency format to 2 decimal places.

 

Please help!

 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi,

    Try the below

    =Format(Fields!totalamount.Value,"F2")

    =Format(Fields!totalamount.Value,"#,##0.##")

  • Community Member Profile Picture
    on at

    Thanks for your rely,

    No, It doesnt work. Shows [tag:Error] in the field

  • Suggested answer
    Community Member Profile Picture
    on at

    Try that also :

    =Format(Fields!totalamount.Value,"0.00")

    =Format(Fields!totalamount.Value,"#.##")

  • Community Member Profile Picture
    on at

    I had to use the [Fields!totalamountvalue.Value] to get this done, any idea why we can't format on the currency field from CRM?

  • Suggested answer
    ScottDurow Profile Picture
    21 on at

    Hi Sameera,

    The fetchxml query will return the formatted currency as a string in the field (using the user's formatting settings) - you can use the raw numeric field by adding value onto the end of the logical name (as you've already discovered).

    The reason you get an error is that formatting a string returns [tag:Error].

    Hope this answers your question.

  • Community Member Profile Picture
    on at

    Thanks Scott! That explains it all :)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans