Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to calculate a sum of total in a table if we mention a character in front of the value

Hi anyone pls help me with this...

I have an Table with sum of total amounts mentioning (Rs.) infront of the value how to get a total value of that row..?

Eg :

I want a total for this table at bottom...

Test3.png

Thanks in Advance

3 Replies
ariel_klien
Specialist
Specialist

Hi

Try sum(num(TextBetween(Amount,'Rs.','')))

BR

Ariel

luciancotea
Specialist
Specialist

or

sum(num(replace(Amount,'Rs.','')))

Not applicable
Author

If you want the above rows to contain the 'Rs.' you should use:

if(rowno()=0,sum(num(replace(Amount,'Rs.',''))),Amount)

and set the total modus to 'expression total'.