Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
ninos-shiba
Resolver I
Resolver I

How to group by and count the number of evaluations per employee per month?

I have a table that has evaluations entered by an evaluator that assessed an employee. Each row is an evaluation in the table. The business unit has a goal of 2 evaluations required for every employee on the team. I want to show the % of employees that received 2 evaluations each month.

I have a date/calendar table and an employee roster table that has data for each month so far in the year (9 files combined into 1 since each month had a different # of employees).

 

I'm assuming I could group by the employee ID and count the number of evaluations he or she had for a month? 

How should I approach this?

1 ACCEPTED SOLUTION

Nevermind, I found a solution after breaking down some measures and steps and analyzing the data even further. Thank you!

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@ninos-shiba , Not very clear. But seem like you need binning and dynamic bucketing

 

So need to have a measure

count(Table[employee])

or monthly values with date table and time intelligence

CALCULATE(count(Table[employee]),DATESMTD('Date'[Date]))

 

You need to have an independent bucket with bucket name, start range, end ranges etc

 

Create a measure to include bucket ranges

 

Please refer to these examples if this can help

https://www.daxpatterns.com/dynamic-segmentation/
https://www.daxpatterns.com/static-segmentation/
https://www.poweredsolutions.co/2020/01/11/dax-vs-power-query-static-segmentation-in-power-bi-dax-po...
https://radacad.com/grouping-and-binning-step-towards-better-data-visualization

Nevermind, I found a solution after breaking down some measures and steps and analyzing the data even further. Thank you!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.