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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Formatting a number in a text field

Hi All,

I have an expression used in a text field and I would like to format the result to be limited to only to digits after the comma and with a procent (%) sign.

=

'Open vs. Closed Ticket Ratio: ' & Count(If((Ticket_List.Status='Closed'),Ticket_List.Ticket))/Count (Ticket_List.Ticket)

the result is displayed as a 14 digit number currently. I have seen the fromatting syntax before but I can not find it again.

Thanks for your help.

Matthias





1 Solution

Accepted Solutions
Not applicable
Author

Matthias,

here you go:

'Open vs. Closed Ticket Ratio: ' & Num(Count(If((Ticket_List.Status='Closed'),Ticket_List.Ticket))/Count (Ticket_List.Ticket), '#.##0,00')


Have also a look in QV help for Num# and Num.

Good luck!

Rainer

View solution in original post

2 Replies
Not applicable
Author

Matthias,

here you go:

'Open vs. Closed Ticket Ratio: ' & Num(Count(If((Ticket_List.Status='Closed'),Ticket_List.Ticket))/Count (Ticket_List.Ticket), '#.##0,00')


Have also a look in QV help for Num# and Num.

Good luck!

Rainer

Not applicable
Author

Thanks Rainer, this has done the trick.