Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi Experts,
I am required to create a measure for calculating number of people from hours spent. the challenge is every day is 10.5 hours except friday which is 7.6 hours. How do I specify that in my measure?
My current measure is straight forward
This worked but reduced my other days numbers.
My Equation:
the equation you provided:
No Of Labor = SUM(Database[HoursWorked]) / (VALUE(10.5)-IF(WEEKDAY(MAX(Database[Work Date]),2)=5,2.9,0))
No Of Labor = DIVIDE(SUM(Database[HoursWorked]) ,10.5-IF(WEEKDAY(MAX(Table[Date]),2)=5,2.9,0))
Thanks but still not able to understand. This is how my table looks like, and how will I put 7.6 hrs condition then?
No Of Labor = SUMX(SUMMARIZE(Database,Database[HoursWorked],Database[Work Date),DIVIDE(Database[HoursWorked] ,10.5-IF(WEEKDAY(Database[Work Date],2)=5,2.9,0)))
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 5 | |
| 4 | |
| 3 |