Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
sogloqlik
Creator II
Creator II

Totals for Table in HTML

Hi.

 

I have a report in HTML with table which has 4 columns in percentage format. I need to add Totals for each of the column. How can I achieve that? I tried to use <tfoot> with formulas but Is losses the Percentage format and shows decimal.

 

Regards,

Motty

Labels (2)
1 Solution

Accepted Solutions
ajaykakkar93
Specialist III
Specialist III

Hi,
use Num(...,'format')
to format your total in html it will work 

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting

View solution in original post

4 Replies
ajaykakkar93
Specialist III
Specialist III

Hi,
use Num(...,'format')
to format your total in html it will work 

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting

sogloqlik
Creator II
Creator II
Author

Hi Ajay Kakkar

 

Where to add it? I tried in the formula but it doesn't work.

andregas
Partner - Creator II
Partner - Creator II

Hi @sogloqlik ,

You could try this:

text(num(<formula>, 'format'))

sogloqlik
Creator II
Creator II
Author

My mistake.

 

Forgot small but very important thing: to put the format between '' 🤔🤕

Thank you both