Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

Announcements
Leverage your QlikView investment to modernize BI – see how! Join Group
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Specialist
Specialist

Dupes

This should be easy so I don't know why my brain can't get there.

I have a list of providers by facility. I need a table/pivot chart that shows those that are duplicated (based on NPI number) at the same facility. I can get =count( NPI) to show counts but I only want the provider info listed if the count > 1.

I would think the conditional expression =count(NPI)=>2 would work but I still see providers with only one occurrence at a facility.

For example, I only want those with >2 in this chart and the total to reflect that.

5-12-2017 1-22-31 PM.jpg

Tags (1)
1 Solution

Accepted Solutions
Highlighted
Master II
Master II

Re: Dupes

Try:

=if(count( NPI)>=2,count(NPI))

for your expresssion

View solution in original post

8 Replies
Highlighted
Master II
Master II

Re: Dupes

Try:

=if(count( NPI)>=2,count(NPI))

for your expresssion

View solution in original post

Highlighted
Specialist
Specialist

Re: Dupes

Thank you!

Highlighted
Specialist III
Specialist III

Re: Dupes

Or  you can try :

=count({<Provider={"=count(NPI)>=2"}>} NPI)
Highlighted
Specialist
Specialist

Re: Dupes

When I try to create a bar chart, the totals don't appear right. Thoughts?

Highlighted
Specialist III
Specialist III

Re: Dupes

Can you post a snapshot?

Highlighted
Specialist
Specialist

Re: Dupes

So what I want is how many distinct cases of duplicated NPIs are there at each facility?

5-12-2017 1-57-04 PM.jpg !

Highlighted
Specialist III
Specialist III

Re: Dupes

Can't open your .qvw because i'am on Personnal edition, but 262 is Count(distinct NPI) and 952 is Count(NPI)? That 's it?

Highlighted
Specialist
Specialist

Re: Dupes

No. 262 is row count of the same expression. 952 is Sum of Rows.