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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
ThabisoPaul
Contributor
Contributor

Formating Text

Hi Guys,

I want to format my text to show only 2 decimal places

=num(num(num(num(Num(sum({<Report_MonthT={'$(=Month(date(MonthStart(today()))))'}>} Offered), '#,##0.','.',',')

-

Num(sum({<Report_MONTH={'$(=month(max(MonthName(Report_Date))))'}>} Abandoned+[Transfered]), '#,##0.','.',','))

/

Num(sum({<Report_MonthT={'$(=Month(date(MonthStart(today()))))'}>} Offered), '#,##0.','.',','),0 & '%'))) *100

Labels (1)
1 Solution

Accepted Solutions
olivetwist
Creator
Creator

it looks to me like you have got overkill with formatting.

do your equation in full and apply formatting around it like below:

num(
(sum({<Report_MonthT={'$(=Month(date(MonthStart(today()))))'}>} Offered)
-sum({<Report_MONTH={'$(=month(max(MonthName(Report_Date))))'}>} Abandoned+[Transfered]))
/
sum({<Report_MonthT={'$(=Month(date(MonthStart(today()))))'}>} Offered)
,'#.##')

View solution in original post

2 Replies
olivetwist
Creator
Creator

it looks to me like you have got overkill with formatting.

do your equation in full and apply formatting around it like below:

num(
(sum({<Report_MonthT={'$(=Month(date(MonthStart(today()))))'}>} Offered)
-sum({<Report_MONTH={'$(=month(max(MonthName(Report_Date))))'}>} Abandoned+[Transfered]))
/
sum({<Report_MonthT={'$(=Month(date(MonthStart(today()))))'}>} Offered)
,'#.##')

ThabisoPaul
Contributor
Contributor
Author

Hi,

I Re -structured the script and removed all the Formats and i am currently
using one and its working fine.

Thanks.