Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
emrekaya
Contributor III
Contributor III

Removing a char from the end of my string and add them at the beginning

Hi all, in my report, negative values comes in a weird way and because of that I can't sum them up. If you help me, I would be glad.

As it is shown in the picture below, negative numbers come as "#.##-'.  I know how to remove (-) sign from the string but I have no idea how to make that string negative again. Thanks.

Labels (3)
1 Solution

Accepted Solutions
marcus_sommer

Just converting/formatting the data would be enough, for example with something like this:

num(num#('1.005,14-', '#.###,00;#.###,00-',',','.'), '#.##0,00')

- Marcus

View solution in original post

3 Replies
shiveshsingh
Master
Master

Hi

 

After removing the (-) sign, why don't you put (Dim * -1) while loading!

emrekaya
Contributor III
Contributor III
Author

It is not possible, because there are positive data in the column also. That would make them negative.

marcus_sommer

Just converting/formatting the data would be enough, for example with something like this:

num(num#('1.005,14-', '#.###,00;#.###,00-',',','.'), '#.##0,00')

- Marcus