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: 
Not applicable

expression in set analysis ... urgent!!!!

Hi all,

This is my current expression=COUNT(if(ENTITY<>NULL() AND LEN(TRIM(ENTITY))>=1,INT TRD ID)).... I need to acheive the same in set analysis.

Thanks in advance

7 Replies
jagan
Luminary Alumni
Luminary Alumni

Hi,

Try like this

=COUNT({<ENTITY={'*'}>} [INT TRD ID])

Hope this helps you.

Regards,

Jagan.

simondachstr
Luminary Alumni
Luminary Alumni

Or alternatively, depending on what you need to display, the intersection of your current selection and your set analysis:

=COUNT({<ENTITY*={'*'}>} [INT TRD ID])

Not applicable
Author

Hi Jagan Mohan,

I need to create one straight table or pivot table. I need to get Sum(Amount) where ActualID=AccountID. for each individual employee. The dimension is EmployeeID. But this EmployeeID and Amount are from one table, whereas ActualID is from another table.

Could you help me how to write the expression please as it is urgent for me please

Thanks.

Not applicable
Author

hi what * will do? Is it possible to convert my same expression in Set analysis.

thnanks

jagan
Luminary Alumni
Luminary Alumni

Hi,


Is it working?  * will exclude all the null values.


=COUNT({<ENTITY={'*'}>} [INT TRD ID])


Regards,

Jagan.

Not applicable
Author

COUNT({<ENTITY={'*'},ENTITY>} IF(LEN(TRIM(ENTITY))>1,[INT TRD ID]))

Not applicable
Author

Hi jagan

But I want to exclude null value s

Thnx