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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Member name equals closed by Name

Hi All,

I want to show sum of only those member whose name is equal to closed by name.

Expected Output:

 

SupervisorMembersum(Count)
280
GOA10
GOB20
GOD30
GOE70

Note: we can't make any changes to the script

PFA qvw for Reference

Thanks in Advance

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

This

Sum({<Supervisor= {'GO'}>} If(Member = [Colsed By], Count))

or

Sum({<Flag = {1}, Supervisor= {'GO'}>} Count)

View solution in original post

7 Replies
sunny_talwar
MVP
MVP

May be this

Sum(If(Member = [Colsed By], Count))

sunny_talwar
MVP
MVP

or create a flag

LOAD *,

  If(Member = [Colsed By], 1, 0) as Flag;

LOAD * INLINE [

    Supervisor, Member, Colsed By, Count

    GO, A, A, 10

    GO, B, B, 20

    GO, D, D, 30

    GO, D, B, 40

    GO, E, G, 50

    GO, E, F, 60

    GO, E, E, 70

];

and use this expression

Sum({<Flag = {1}>} Count)

Capture.PNG

Not applicable
Author

Thanks for the Quick reply but i also have some Set analysis written in the expression and i cant make any changes in the Script

Not applicable
Author

Thanks for the Quick reply but i also have some Set analysis written in the expression .

like


Sum({<Supervisor= {'GO'}>}Count)

sunny_talwar
MVP
MVP

This

Sum({<Supervisor= {'GO'}>} If(Member = [Colsed By], Count))

or

Sum({<Flag = {1}, Supervisor= {'GO'}>} Count)

Anil_Babu_Samineni
MVP
MVP

How you are expecting 280 for Total Sum?? Is that is type error

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
Not applicable
Author

Thanks a lot