Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
JMAROUF
Creator II
Creator II

num() function within set analysis

Hi everyone,

I have a field wich is text, can'i get his num value within set analysis without reloading the app? i want exactly something like this: 

=num(count({1 <NUM(CRMB)={'*'}-{40, 41}}>}MvtB),'# ##0')

It's possible?

Thank you in advance.

Labels (3)
1 Solution

Accepted Solutions
Kushal_Chawda

@JMAROUF  the try below 

=num(count({1 <CRMB={'*'}-{'40*', '41*'}>}MvtB),'# ##0')

View solution in original post

10 Replies
Taoufiq_Zarra

@JMAROUF  can you give an example from the count({1 <NUM(CRMB)={'*'}-{40, 41}}>}MvtB) text result ?

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉
Kushal_Chawda

@JMAROUF  may be you can try below

count({1 <CRMB-={'40', '41'}>}MvtB)

or

count({1 <CRMB=-{'40', '41'}>}MvtB)

JMAROUF
Creator II
Creator II
Author

Hi @Taoufiq_Zarra , 

it doesn't work, with if() the formula is:

 count(if(NUM(CRMB)<>(40 AND 41),MvtB))  the result is:  674 266

i'am looking for something like that with set analysis.

JMAROUF
Creator II
Creator II
Author

Hi @Kushal_Chawda 

the field CRMB is text, i want his num value within set analysis.

Kushal_Chawda

@JMAROUF  why you want num when you are just giving any specific value in set? 

JMAROUF
Creator II
Creator II
Author

@Kushal_Chawda  I want any numeric value else 40 and 41, but the field is  text such 40, or 40,0 .....

Kushal_Chawda

@JMAROUF  did you try what I suggested?

JMAROUF
Creator II
Creator II
Author

Yes but it doesn't work, i have some values like this: '40,0000'

Kushal_Chawda

@JMAROUF  the try below 

=num(count({1 <CRMB={'*'}-{'40*', '41*'}>}MvtB),'# ##0')