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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
NguyenDuyLinh
Contributor
Contributor

FieldValueCount

example i have a script

[Fact]:
load * inline [Maingroup,Subgroup,SubSub, value

a,a1,a12,100

a,a3,a31,20

b,a1,a11,100

b,a1,a13,100

b,a3,a32,100];

let count = FieldValueCount(Maingroup);

 

i think variable count will return to 2

but it return to NULL

Please held me how to fix it

2 Replies
StarinieriG
Partner - Specialist
Partner - Specialist

Hi,

try with this:

let count = FieldValueCount('Maingroup');

NguyenDuyLinh
Contributor
Contributor
Author

Thks , i fixed it