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: 
paul_ripley
Creator III
Creator III

Percentages in N Printing

Hello

I have a table in QV that uses the expression

num((Variance / [6 month average]) ,'##0%;(##0%);-')


This brings back the correct amounts

I then import it into N Printing

But the variances show as below.  Does N Printing not support percent formats when using a powerpoint template?

Can anyone sugest how to get round this

Thanks

Paul

4 Replies
Ruggero_Piccoli
Support
Support

Hi,

PowerPoint cannot change the format of a number so you have to export it as a formatted string just by changing the formula you posted.

Best Regards,

Ruggero

---------------------------------------------

When applicable please mark the appropriate replies as CORRECT https://community.qlik.com/docs/DOC-14806. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
paul_ripley
Creator III
Creator III
Author

Hi Ruggero

What is wrong with num((Variance / [6 month average]) ,'##0%;(##0%);-')

Does that not format the number as a percentage?  What change would I need to make?

Thanks

Paul

lcontezini
Partner - Creator
Partner - Creator

just check the box "keep source formats"

temp.JPG

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi Paul,

num() function applies Qlik number formatting in Qlik on top of underlying numbers. It is not changing the actual value to string as it retains the details down to all decimal places etc...

The solution would be to apply "text" function on top of it to completly , although i hate that solution!


text(num((Variance / [6 month average]) ,'##0%;(##0%);-'))

cheers

Lech

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.