Forum Discussion
Catman
2 years agoFrequent Visitor
Count for ContractID
Hi, I am having trouble counting the number of occurences for an attribute, in this case ContractID & StartDate. Basically I need to count how many distinct Start Date for each ContractID and sh...
- 2 years ago
Hi Catman - Create a New Column as below:
DistinctStartDateCount =CALCULATE(COUNTROWS(DISTINCT('countff'[Start Date])),ALLEXCEPT('countff', 'countff'[Contract ID]))output FYR:It works, please check
Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
rajendraongole1
Super User
2 years agoHi Catman - Create a New Column as below:
DistinctStartDateCount =
CALCULATE(
COUNTROWS(
DISTINCT('countff'[Start Date])
),
ALLEXCEPT('countff', 'countff'[Contract ID])
)
output FYR:
It works, please check
Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Appreciate your Kudos!!