Forum Discussion
YBZ59
2 years agoRegular Visitor
Conditional counting based on aggregate results
I Have a table with records on training, two columns are 'Status' and 'Result', the Status hold intermediate value like "pending" verification the Result holds final values like "Pass" or "Fail", the...
- 2 years ago
Hi, YBZ59
Create a calculated column by using something like
InProgressStatus = IF(
ISBLANK([Result]) && NOT(ISBLANK([SubmissionDate])),
"InProgress",
[Result]
)then create a dax measure to count the inProgress values.
InProgressRecordsCount = COUNTROWS(
FILTER(
KnowledgeDB,
[InProgressStatus] = "InProgress"
)
)
rubayatyasmin
2 years agoCommunity Champion
Hi, YBZ59
Create a calculated column by using something like
InProgressStatus = IF(
ISBLANK([Result]) && NOT(ISBLANK([SubmissionDate])),
"InProgress",
[Result]
)
then create a dax measure to count the inProgress values.
InProgressRecordsCount = COUNTROWS(
FILTER(
KnowledgeDB,
[InProgressStatus] = "InProgress"
)
)