Forum Discussion
tinker
7 years agoRegular Visitor
DAX - Countrows Filter where rows not exist
have 2 dimension tables joined to CardUser fact table which stores Clock in/out records of each user. The following measure counts the dates where CardUser also contains a row with the same dates...
- 7 years ago
Zubair_Muhammad
Community Champion
7 years ago
Try this MEASURE
Measure 2 =
COUNTROWS (
EXCEPT (
VALUES ( Dates[Date] ),
CALCULATETABLE (
VALUES ( Dates ),
CROSSFILTER ( CardUser[CheckIn_DateFormat], Dates[Date], BOTH )
)
)
)