Forum Discussion
wolfy_
8 years agoHelper I
Find duplicate values diferent projects
Hi, It is possible to have a measure that find me duplicate values for project IDs in the same location? For example, there is project ID 1 for the same location Lisbon. The same happens wit...
- Anonymous8 years ago
Hi wolfy_,
In my opinion, you can calculate count and distinct count of specific project id from same location. Then calculate the diff between them, It should be the duplicate id count.
Measure = CALCULATE ( COUNT ( Table[Project ID] ) - DISTINCTCOUNT ( Table[Project ID] ), ALLSELECTED ( Table ), VALUES ( Table[Location] ) )Regards,
Xiaoxin Sheng
Anonymous
8 years agoNot applicable
Hi wolfy_,
In my opinion, you can calculate count and distinct count of specific project id from same location. Then calculate the diff between them, It should be the duplicate id count.
Measure =
CALCULATE (
COUNT ( Table[Project ID] ) - DISTINCTCOUNT ( Table[Project ID] ),
ALLSELECTED ( Table ),
VALUES ( Table[Location] )
)
Regards,
Xiaoxin Sheng