Forum Discussion
nabila97
4 years agoNew Member
Facing problems to measure this problem
Hi,
Data given:
| Date of Case | Type of Case |
| 19-Apr-20 | Process |
| 19-Apr-20 | Process |
| 19-Apr-20 | Process |
| 21-Jun-20 | Non Process |
| 22-Jun-20 | Non Process |
| 25-Jul-21 | Process |
| 25-Jul-21 | Process |
| 25-Jul-21 | Process |
| 23-Aug-21 | Process |
how to create measure for this data to get like data below:
| Type of Case | No of case (*for same date - calculate as 1) |
| Process | 3 |
| Non-Process | 2 |
Thank you.
Try this measure.
No of Cases = SUMX ( VALUES ('Table'[Type of Case]), CALCULATE(DISTINCTCOUNTNOBLANK('Table'[Date of Case])) )
1 Reply
- jdbuchanan71
Super User
Try this measure.
No of Cases = SUMX ( VALUES ('Table'[Type of Case]), CALCULATE(DISTINCTCOUNTNOBLANK('Table'[Date of Case])) )