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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
nooneliveforeva
Frequent Visitor

Count number of not unique row

Hello all,

 For this data :

 

Location Date

LOCATIONDATE
LONDON2017
PARIS2016
LONDON2016
L.A2012
L.A2005
L.A2020
LONDON2017

 

Want :

2

I want to have a total count of not unique location

Thank you very much

1 ACCEPTED SOLUTION

Hey @v-huizhn-msft,

Very good, thank you very much Smiley Very Happy

View solution in original post

4 REPLIES 4
fhill
Resident Rockstar
Resident Rockstar

If you need the Date information, 'Duplicate' your Table in Query Editor and choose 'Group By' on the Location Column.  Use the default 'Count Rows', this gives the occurances of each Location.

 

On your visual (card probably) count Location and filter out 'Count'= 1.

 

If you need the other information, Relationship this new condensed tabel back to our original to any REALTED needs.

FOrrest




Did I answer your question, or help you along the way?
Please give Kudos or Mark as a Solution!


https://www.linkedin.com/in/forrest-hill-04480730/

Proud to give back to the community!
Thank You!




Hi @fhill,

Thank you, i need this as a measure, how can i do that ?

Hi @nooneliveforeva,

I test using your formula, get exected result. Group by the table using Table3[LOCATION], then filter the summaried table where the count does not equal to 1.

Please create a measure using the formula, the "Table3" is name of sample table.

Measure = COUNTAX(FILTER(SUMMARIZE(Table3,Table3[LOCATION],"count",COUNTA(Table3[LOCATION])),[count]<>1),Table3[LOCATION])


Then create a card visual to show your result.

2.PNG

Best Regards,
Angelia

Hey @v-huizhn-msft,

Very good, thank you very much Smiley Very Happy

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors