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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

How to remove space with in the string using SSRS expressions

(0) ShareShare
ReportReport
Posted on by 342

I have ssrs report  the numeric value in the report is displayed as text with space in between i.e. 19999 is displayed as 19 999 , i want to remove the space and convert it into integer.

I have the same question (0)
  • Suggested answer
    Chris Haley Profile Picture
    on at

    You should be able to untick the 'Use 1000's separator' option in the number format box in the report designer.

    Try reading the following link:

    www.tutorialgateway.org/.../

  • Sandy Hello Profile Picture
    342 on at

    Hi Chris Thanks! for response

    this is not helpful for me any simple method or direct function to remove space in the string

  • Sandy Hello Profile Picture
    342 on at

    =Val(replace(Fields!duration.Value," ","")) this is giving values as integers but from 19 999 it is giving only first two digits 19

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Sandy,

    My recommendation instead of using Fields!duration.Value (that is basically formatted value of your int) you should use Fields!durtion_value!Value that basically contains then integer value of your field.

    Good luck and don't forget to close previously opened thread - community.dynamics.com/.../filed-defined-in-crm-dynamics-as-whole-number-is-displayed-as-text-in-ssrs-report-to-excel

  • Sandy Hello Profile Picture
    342 on at

    Thanks Andrew. Issue fixed with field pointing to Fields!durtion_value!Value

  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Sandy,

    If my reply resolved your issue take a minute and click "Yes" under "Did this answer your question?" message.

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 > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 74

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans