Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

HOw to get No of meetings Based on the Client

Hi Experts,

My source like below...    

Client NameEvent TypeMeeting Type CodeMeeting id
xxxRoadshow1X11000H
aaaNDM2X11001H
yyyOffice1X1100H
aaaNon Deal Management3X11002H
xxxxRoadshow1X110004H
yyyofficeGrp1000H

I need No of meeting based on the Client ...i

7 Replies
Chanty4u
MVP
MVP

Use Dim: ClinetName

Measure: count(MeetingID)   or count(MeetingTypeCode)

tresesco
MVP
MVP

Straight table:

Dimension: [Client Name]

Exp: Count(Distinct [Meeting id] )

Anonymous
Not applicable
Author

But here All Event types is not calculated(Roadshow)

Chanty4u
MVP
MVP

what is the exact output you want to see?

Anonymous
Not applicable
Author

i tried below logic

=Aggr( Count({<[Event Date]={">=$(=Date(vStartDate,'MM/DD/YYYY'))<=$(=Date(vEndDate,'MM/DD/YYYY'))"},[Event Type]={'Non Deal Management',Office', 'Road show'}>} [Meeting Id]),[Client Name])

but i am not getting excatly count based on the client

but some client meeting count is matched.

Anil_Babu_Samineni

Provide some data

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
sunny_talwar

Is this in a text box object? May you need to add an outer aggregation?

Sum({<[Event Date]={">=$(=Date(vStartDate,'MM/DD/YYYY'))<=$(=Date(vEndDate,'MM/DD/YYYY'))"},[Event Type]={'Non Deal Management',Office', 'Road show'}>} Aggr(Count({<[Event Date]={">=$(=Date(vStartDate,'MM/DD/YYYY'))<=$(=Date(vEndDate,'MM/DD/YYYY'))"},[Event Type]={'Non Deal Management',Office', 'Road show'}>} [Meeting Id]),[Client Name]))