Forum Discussion
Multiple Incident employee count based on selected date range.
- 3 years ago
Hi VenkateshLanka ,
According to your description, here's my solution.
Sample:
Create a measure:
Measure = VAR _count = CALCULATE ( DISTINCTCOUNT ( 'Table'[Incident Category] ), ALLSELECTED ( 'Table' ) ) RETURN IF ( _count > 1, MAX ( 'Table'[Incident Category] ), BLANK () )Get the correct result:
I attach my sample below for your reference.
Best regards,
Community Support Team_yanjiang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Please provide your work-in-progress Power BI Desktop file (with sensitive information removed) that covers your issue or question completely in a usable format (not as a screenshot).
https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Please show the expected outcome based on the sample data you provided.
https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
This allows members of the Forum to assess the state of the model, report layer, relationships, and any DAX applied.