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

How to use the Count Function that refers to a specific Object

Hi All,

Let me start use an example to better explain myself.

I have the following table:

Object Id: O23

Student NameAttendance
TomY
Steveblank
JackieY
StephY

I need to have a separate Text Object that Counts the amount of Attendance's specific to this table. Please let me know what the best expression would to solve this.


Many Thanks!

2 Replies
swuehl
MVP
MVP

You can't reference the output of a chart (expression column) from another chart.

But you can create a virtual table with your expression using advanced aggregation and count the 'Y', something like

=Sum( Aggr( If( YourObjectExpresssion = 'Y',1,0), [Student Name])

Replace the italic part with the expression that returns 'Y' or blank for each student.

QlikView Technical Brief - AGGR.docx

Anil_Babu_Samineni

Is you are expecting output as Three?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful