Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have a table "Employee". Below is how it looks.
I have a measure called "RatingStatus" (If an employee has done both self and peer ratings, his status is completed)
RatingStatus= IF(DISTINCTCOUNT('Employee'[RatingType])=2,"Completed","Not Completed")
I represented this as a matrix visual which looks like this:
Now, I want to calculate the count of employees whose status is "Not Completed" for each month.
Eg: Sep-20 2 (2 employees have not completed the ratings)
Solved! Go to Solution.
Hi,
Write these measures
Measure = DISTINCTCOUNT(Sheet1[RatingType])
NotCompleted = countrows(filter(values(Sheet1[EmpName]),[Measure]=1))
Hi,
Write these measures
Measure = DISTINCTCOUNT(Sheet1[RatingType])
NotCompleted = countrows(filter(values(Sheet1[EmpName]),[Measure]=1))
This is exactly what I wanted! Thank you so much Ashish!
You are welcome.
Hi,
To a Table visual, drag the TimePeriod column and write this measure
=countrows(filter(values(Data[EmpName]),DISTINCTCOUNT('Employee'[RatingType])<>2))
Hope this helps.
Hi Ashish,
It doesn't work. It just displayed the total number of employees, that is, 3 for each month.
Do you have any other suggestions on how to proceed?
Hi,
Share the download link of your PBI file.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
99 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
110 | |
91 | |
84 | |
66 |