Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

how to add and exclude row data in qlikview

my source like below..

How to get cont MeetingA and Meeting B

   

clientmeetingcountmeetingtype
ddd5MeetingA
ddd6MeetingB
ddd7MeetingC
sss8MeetingA
sss9MeetingB
sss10MeetingC
aaa11MeetingA
aaa12MeetingB
aaa13MeetingC

i am excepted o/p is

client  meetingtype        meetingcount       total

aaa  MeetingA                           11                   24

aaa MeetingB                              12                 27

aaa MeetingC                              13                 13

ddd MeetingA                               5                     24

ddd MeetingB                               6                    27

ddd MeetingC                             7                      7

sss MeetingA                                8                         24

sss MeetingB                                   9                      27

sss MeetingC                              10                        10

12 Replies
sasikanth
Master
Master

HI,

try this expression

If(meetingtype='MeetingC',Sum(meetingcount), Sum({<meetingtype={'MeetingA','MeetingB'}>} TOTAL <meetingtype> meetingcount))



Anonymous
Not applicable
Author

Thank you so much Sasi.

It's working fine

Anil_Babu_Samineni

I believe, Sunny's approach also reached this case. Or, Some change needed

If(Match(meetingtype, 'Meeting A', 'Meeting B'), Sum(TOTAL <meetingtype> {<meetingtype = {'MeetingA','MeetingB'}>} meetingcount), Sum(meetingcount))

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