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

get selected fields

Hi all,

i want to show how much fields selected in my module, is there anyway to do it?

Thanks!

1 Solution

Accepted Solutions
anbu1984
Master III
Master III

=SubStringCount(GetCurrentSelections(),':')

View solution in original post

3 Replies
anbu1984
Master III
Master III

=SubStringCount(GetCurrentSelections(),':')

its_anandrjs

Hi,

Yes you can by create the variable with use of the NoOfFields('TableName') and then use this variable for count of the fields

TableName:

LOAD * Inline

[

Field1,Field2,Field3,Field4,Field5

1,2,3,4,5

4,5,6,3,5

];

LET vNoOfFields = NoOfFields('TableName');

It will give 5.

Regards,

Anand

Not applicable
Author

Great Thanks