Forum Discussion
peteru9067
Helper III
4 years agoDistinct count over a period
I have a table with Tags and Dates...... I would like to count the distinct number of times a tag appears over a time period i.e. 7 days. so if the tag appears multiple times in one day, it should on...
- 4 years ago
peteru9067 not sure if this is what you meant but if you just create this measure:
Appears = DISTINCTCOUNT('Table'[Date])
and put the IPL tag on the bar axis than you will get the distinct count of days for each one for every time period you will choose on an outside filter or slicer:
peteru9067
Helper III
4 years agoFor some reason mine is showing 365
SpartaBI
Community Champion
4 years agopeteru9067 show me a screenshot of your model and measure
- peteru90674 years ago
Helper III
- SpartaBI4 years ago
Community Champion
peteru9067 it looks like it's working 🙂 not like the previous photo. What is the issue?
- peteru90674 years ago
Helper III
Yeah it isn't correct because 172-LSHH-0018 should only appear 3 times...... rather than 6