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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
srinivasa1
Creator II
Creator II

Set Analysis.

Hi,

i need to calulcate Satrs count for bellow

STARSLOBProductTypeID
COLMCNOT PPO
CMCMCAll


in this if stars=col and Lob=MC and ProductTypeID <>PPO. this applicable only for col rest of cols there will not be any product type condtion. i need to add this logic in bellow experssion

=count({<Der_Assigned_Reviewer={'QM', 'MRA', 'OUTCOMES', 'Unassigned'},MeasureID={'COL','CMC','CBP','CDC2B','CDC2E','CDC2H','CDC2L','CDC2N'}, LOB={"MC"}>} distinct MemberGenKey & MeasureID)

can any pls guide me how can vlidate product typeId only for COL.

Thx in adavance.

Srini





3 Replies
Not applicable

count({<Der_Assigned_Reviewer={'QM', 'MRA', 'OUTCOMES', 'Unassigned'},MeasureID={'COL','CMC','CBP','CDC2B','CDC2E','CDC2H','CDC2L','CDC2N'}, LOB={"MC"}, STARS={"COL"},ProductTypeID-={'PPO'}>} distinct MemberGenKey & MeasureID)

In the above expression only 2 conditions have been included, one is Stars=col and Producttypeid <> PPO. This should mostly work. Pls chk for single quotes/double quotes accordingly in the new conditions written above.

srinivasa1
Creator II
Creator II
Author

Hi thx for quick reply. but it will for for other cols i mean i need to search inside MeasureID=COL if MeasureID=COL then i need to check for ProductTypeID<>{'PPO'}>.

thx

suniljain
Master
Master

Dear Srinivas,

pls try to implement this scenario at script level. it will reduce complexity.