Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
deepakqlikview_123
Specialist
Specialist

Expression

Hello All,

Can you please tell me how below exp will work

in title of chart

=GetCurrentSelections('-')&'='&count(distinct if((EnquiryStatusID = '3' or EnquiryStatusID = '4'),EnquiryID))/1000

thanks

3 Replies
MK_QSL
MVP
MVP

This will give you result of COUNT of EnquiryID in thousands where EnquiryStatusID is either 3 or 4.

Get Current Selections will give you selected Field Name...

sushil353
Master II
Master II

Hi,

It will  Returns a string with the current selections in the document separated by '-' also concatenated with a count of EnquiryID where EnquiryStatusID is either 3 or 4


HTH

Sushil

its_anandrjs

The below will gives what you select current in list box

=GetCurrentSelections('-')


and below script counts DISTINT UNIQUE EnquiryID where it is equals to EnquiryStatusID = '3' or EnquiryStatusID = '4' and divides to 1000 and get values and concat with =GetCurrentSelections('-') with &'='& and shows value like Value = depends on the EnquiryID value


count(distinct if((EnquiryStatusID = '3' or EnquiryStatusID = '4'),EnquiryID))/1000 



Hope this helps