Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Count If with multiple deminsions

Thanks in advance.

I need to count distinct deminsions where if one of three deminsions occur - then it would count as one..and in the chart the total would also sum.

This is giving me the correct totals, however it's not summing at the top of the chart (table)

=count (DISTINCT HCP_Weekly_Writer or HUB_HCPID or if(ProgType__CNE,'Patient',HCPID__CNE))

Need to get a count of anyone that EITHER Was a Weekly Writer, had one or more HUB submissions, or had a Prog with a "Patient"

Thanks in advance!

2 Replies
Anil_Babu_Samineni

When you talk about multiple dimensions used then i always prefer to use Flag. and then use simple flag for that?

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

ok cool...haven't created flags in the past...do you do it on the load or how would you create this one?

Thank you!