Forum Discussion
Truelearner
6 years agoHelper III
need help with DAX
I have employee hire dates i want to create the Total Employee column Anonymous cham amitchandak Greg_Deckler Mariusz Employee Hire date Name DESIGNATION EMPID Total Employee 01-mar...
- Anonymous6 years ago
HI Truelearner,
I'd like to suggest you add distinct function to remove duplicate rows:
Measure = COUNTROWS ( FILTER ( DISTINCT ( ALLSELECTED ( Table ) ), [Hire Date] <= MAX ( Table[Hire Date] ) ) )Regards,
Xiaoxin Sheng
Greg_Deckler
6 years agoCommunity Champion
COUNTROWS(FILTER('Table',[Employee Hire Date] <= EARLIER([Employee Hire Date])))
- Truelearner6 years agoHelper III
its almost what i needed but the problem is with duplicates with DATA , can you check my table i posted about once.