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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
GauravSS04
Contributor II
Contributor II

I need to count values from range as compare to other field

I need to have field containing reportees which counts Line manager ID when compares to Employee.

Employee IDLine Manager IDReporteesReportees
8603296786036821=COUNTIF($B$2:$B$9,A2)1
8603667886036887=COUNTIF($B$2:$B$9,A3)3
8603788386036678=COUNTIF($B$2:$B$9,A4)0
8600023086036678=COUNTIF($B$2:$B$9,A5)0
8604020586036678=COUNTIF($B$2:$B$9,A6)2
1000175086032967=COUNTIF($B$2:$B$9,A7)0
8602497186040205=COUNTIF($B$2:$B$9,A8)0
8600023986040205=COUNTIF($B$2:$B$9,A9)0

 

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try like:

=SubStringCount(Concat(TOTAL [Line Manager ID], '-'),[Employee ID])


 

View solution in original post

2 Replies
tresesco
MVP
MVP

Try like:

=SubStringCount(Concat(TOTAL [Line Manager ID], '-'),[Employee ID])


 

GauravSS04
Contributor II
Contributor II
Author

It works just perfect...thanks for saving me from working on data model..