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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to Count the records in one Field

Hi

I have Emptype Type field in one table. Emptype is having FTC,FTE types,So how can i count in Text object.

5 Replies
rahulpawarb
Specialist III
Specialist III

Hello Satish,

You can use FieldValueCount() function. For example, =FieldValueCount('A') will return the count of values hold by Field A.

Or else, if you would like to count employees based on FTC or FTE then use below given sample expressions:

//Total FTC

=Count({<Emptype={'FTC'}>}EmployeeId)

//Total FTE

=Count({<Emptype={'FTE'}>}EmployeeId)

Regards!

Rahul

Not applicable
Author

Thank You

Rahul

rahulpawarb
Specialist III
Specialist III

Cheers,

Rahul

avinashelite

if you want to count all the Emptype then count(Emptype)

if you need distinct count then count( DISTINCT Emptype)

for specific value count({<Emptype={'FTC','FTE'}>}Emptype)

Not applicable
Author

count({<[cód]={'10','114'}>}[cód])

Isso me ajudou muito!!!!!