Forum Discussion
How to count duplicates within date range as applied through slicers
- 4 years ago
Anonymous , You can create a date field , use that in slicer or join it with date table and use slicer from date table
DateTime = datevalue([DateTime])
You can have measures
M1= count(Table[Phone Numbers])
Duplicate = countx(filter(values(Table[Phone Numbers]) , [M1] >1 ), [Phone Numbers])
Hi Anonymous
If your data is in the below format
You can extract the date column in power query as follows(You can achieve this using DAX formula too)
Select Date Time column -> go to Add Column ribbon -> Date -> Date Only
In Power BI desktop create a measure as follows
It will return the number of times a phone number is duplicated for the selected date range.
Unfortunatly, its showing just a [Total Count of Phone]-1, but I wanted to know number of dupes within slicers applied