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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
master_student
Creator III
Creator III

formatting numbers

Hello Guys,

I have an expression that return a value with exponentielle :


Capture.PNG

here is th expression :

=num(((sum({$<[Year of date]={$(=Max([Year of date]))},RVN_DATA_CHANNEL = >}RVN_AIRTIME) -sum({$<[Year of date]={$(=Max([Year of date]))},RVN_DATA_CHANNEL -= {'Shops'}>}MNT_DATA))

- (sum({$<[Year of date]={$(=Max([Year of date])-1)},RVN_DATA_CHANNEL = >}RVN_AIRTIME) -sum({$<[Year of date]={$(=Max([Year of date])-1)},RVN_DATA_CHANNEL -= {'Shops'}>}MNT_DATA)))

/sum({$<[Year of date]={$(=Max([Year of date])-1)},RVN_DATA_CHANNEL = >}RVN_AIRTIME) -sum({$<[Year of date]={$(=Max([Year of date])-1)},RVN_DATA_CHANNEL -= {'Shops'}>}MNT_DATA)*100,'# ## % ')

I need one number after the comma

How to correct it ?

Thanks

Labels (1)
5 Replies
prma7799
Master III
Master III

Try like

=num((Expression),'#,##0')

Anil_Babu_Samineni
MVP
MVP

Are you looking 1,5 %??

Best Anil, 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
master_student
Creator III
Creator III
Author

yes

Anil_Babu_Samineni
MVP
MVP

If possible please share workfile to test. OR Use #,0 %

Best Anil, 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
pradosh_thakur
Master II
Master II

try this

expression:

=num((((sum({$<[Year of date]={$(=Max([Year of date]))},RVN_DATA_CHANNEL = >}RVN_AIRTIME) -sum({$<[Year of date]={$(=Max([Year of date]))},RVN_DATA_CHANNEL -= {'Shops'}>}MNT_DATA))

- (sum({$<[Year of date]={$(=Max([Year of date])-1)},RVN_DATA_CHANNEL = >}RVN_AIRTIME) -sum({$<[Year of date]={$(=Max([Year of date])-1)},RVN_DATA_CHANNEL -= {'Shops'}>}MNT_DATA)))

/(sum({$<[Year of date]={$(=Max([Year of date])-1)},RVN_DATA_CHANNEL = >}RVN_AIRTIME) -sum({$<[Year of date]={$(=Max([Year of date])-1)},RVN_DATA_CHANNEL -=

{'Shops'}>}MNT_DATA)))*100,'#,## 0')

& '%'

regards

Pradosh

Learning never stops.