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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
Anonymous
Not applicable

Categorizing values

Spoiler
Spoiler
 

Hi everyone, 

 

Need some help over here 😊

 

I have for an employee how many daily worked hours. And this for everyday for a week. 

 

  • Created mesures to see how many employees worked 35 or 37.5 or <40 etc. hours per week. 

 

CALCULATE(
COUNTROWS(
FILTER(ADDCOLUMNS(SUMMARIZE(Hours,Hours[Name]),"SumHours",CALCULATE(SUM(Hours[Hours]))),[Sum Paid Hours]=35)

 

  • Created mesures to see how many hours in total for employees that worked  35 or 37.5 or <40 etc. hours per week. 
CALCULATE(
SUM(Hours[Hours]),
FILTER(ADDCOLUMNS(
SUMMARIZE(Hours,Hours[Name]),"SumHours",CALCULATE(SUM(Hours[Hours]))),[Sum Paid Hours]=35)
 
I'm looking for a way to show in a table or matrix all employee per group ( 35 hours per week, 37.5 hours per week,etc.)
I've tried to create to column but I'm lost. 
 
 
5 REPLIES 5
Anonymous
Not applicable

Your video is mentioning how to count employees like a pivot table but I need a way to have all employee names in a table if I select for example <35 in a slicer , button , or any other way. 

 

 How can I insert a dummy excel file for you to see

thanks fo your help

@Anonymous ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak 

Here is an excel fila of a sample. 

Hope it can helps .

Thank you very much

https://drive.google.com/drive/folders/1zC77R6nP6OFu7i73xDUI1Bm98--x6BJ9?usp=sharing

 

Anonymous
Not applicable

amitchandak
Super User
Super User

@Anonymous , you have to create bucket around measure [Sum Paid Hours] using independent table

 

refer if my video can help

https://youtu.be/CuczXPj0N-k

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.