Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
cbaqir
Specialist II
Specialist II

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

1 Solution

Accepted Solutions
m_woolf
Master II
Master II

Try:

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

for your expresssion

View solution in original post

8 Replies
m_woolf
Master II
Master II

Try:

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

for your expresssion

cbaqir
Specialist II
Specialist II
Author

Thank you!

sergio0592
Specialist III
Specialist III

Or  you can try :

=count({<Provider={"=count(NPI)>=2"}>} NPI)
cbaqir
Specialist II
Specialist II
Author

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

sergio0592
Specialist III
Specialist III

Can you post a snapshot?

cbaqir
Specialist II
Specialist II
Author

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 !

sergio0592
Specialist III
Specialist III

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?

cbaqir
Specialist II
Specialist II
Author

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