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: 
mstoler
Partner - Specialist
Partner - Specialist

How to display a dash Or blank for 0 in Qlik NPrinting Pixel Perfect report

Hello,

Are there format strings for NPrinting Pixel Perfect to display a 0 quantity as a dash (-) or blanks?

Looking for documentation on the format strings.

Thanks,

Michael

 

Labels (2)
2 Solutions

Accepted Solutions
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi Michael,

Of course, there is a way just like you said with the example in QlikView - here is the syntax: {0:#,# ;(#,#);- }

Format string to display negative numbers in parenthesis

@Frank_S  - Do you think appropriate documentation could be linked in htttps://help.qlik.com? I blindly searched for DevExpress topics in this regard and I found the above link, but I think R&D would be able to point us to correct documentation in that regard which in the case of PixelPerfect would be very helpful. 

This is a tested scenario which worked for me:

I used QlikView for  this testing:

Lech_Miszkiewicz_2-1642208117040.png

Pixel Perfect Template

Lech_Miszkiewicz_3-1642208146038.png

and result:

Lech_Miszkiewicz_4-1642208359107.png

 

 

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.

View solution in original post

Frank_S
Support
Support

@Ruggero_Piccoli
Can you have a look at @Lech_Miszkiewicz question above?

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

6 Replies
Frank_S
Support
Support

@mstoler

It might be best to manage this directly in the source application.


I found two similar solutions in the community for your convenience.

 

 

Kind regards...

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
mstoler
Partner - Specialist
Partner - Specialist
Author

Hello,

 

Nothing like in Qlik where you can do something like below in the num function.

 

#,##0;-#,##0;-

Note the dash at the end.

 

Michael

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi Michael,

Of course, there is a way just like you said with the example in QlikView - here is the syntax: {0:#,# ;(#,#);- }

Format string to display negative numbers in parenthesis

@Frank_S  - Do you think appropriate documentation could be linked in htttps://help.qlik.com? I blindly searched for DevExpress topics in this regard and I found the above link, but I think R&D would be able to point us to correct documentation in that regard which in the case of PixelPerfect would be very helpful. 

This is a tested scenario which worked for me:

I used QlikView for  this testing:

Lech_Miszkiewicz_2-1642208117040.png

Pixel Perfect Template

Lech_Miszkiewicz_3-1642208146038.png

and result:

Lech_Miszkiewicz_4-1642208359107.png

 

 

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.
mstoler
Partner - Specialist
Partner - Specialist
Author

Hello,

Perfect!

Exactly what  I am looking for.

Take care,

Michael

Frank_S
Support
Support

@Ruggero_Piccoli
Can you have a look at @Lech_Miszkiewicz question above?

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
mstoler
Partner - Specialist
Partner - Specialist
Author

Yes it is perfect !

 

Michael