Shashi Pandey Posted October 29, 2020 Share Posted October 29, 2020 Hi, In my report column data type is String. But, it contains values String and numerical both. I want to apply thousand separator fornumerical values. Example: Values Expected output Arjun Arjun Robert Robert 4367832 43,67,832 Help will be much appreciated Link to comment Share on other sites More sharing options...
Corey Scherrer 3 Posted October 29, 2020 Share Posted October 29, 2020 I believe something like this should work: SN(case WHEN (integer([Value]) % 1)=0 THEN CASE when Len([Value]) Link to comment Share on other sites More sharing options...
Shashi Pandey Posted November 2, 2020 Author Share Posted November 2, 2020 Hi , Thank you for your amswer. But it is not working for me. Let me tell what i did. 1. Created calculated column and wrote expression you gave me. Replaced value in the expression with column have in report. String values are appearing as expected but numerical values does not have commas(thousand separator). Note: Column which contains strings and numbers have data type "String". Link to comment Share on other sites More sharing options...
Corey Scherrer 3 Posted November 2, 2020 Share Posted November 2, 2020 Are there extra characters around the "numbers" that may need to be trimmed off Link to comment Share on other sites More sharing options...
Fabian Duerr Posted November 3, 2020 Share Posted November 3, 2020 cscherrerGME answer works just fine. And yes, you need to trim your [Value] column to get rid of all that useless spaces. So either wrap Trim([..]) around all [Value] entries in above formular or create a trimmed column [Val] = Trim([Value]) and then continue to work with [Val] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now