Forum Discussion
Creating Calculated Table with Shift Hours
- 3 years ago
Anonymous indeed, there are some misconderation and i have updated the reply. see if it is torwards the target.
Hi FreemanZ ,
I am trying the SUMMARIZE() approach but i think you misunderstood the shift hours thing. I think your logic prints the difference between the largest and smallest times in the entire dataset.
My shift hours logic is Shift End minus Shift Start minus 30 mins, where Shift Start and Shift End are times for each employee for that particular day. (see sample data I posted above).
Kind regards,
Midhun
Anonymous indeed, there are some misconderation and i have updated the reply. see if it is torwards the target.
- Anonymous3 years agoNot applicable
Hey FreemanZ
Looks like I was wrong about the CALCULATE() bit. Seems to be working fine!
Thanks a lot
- FreemanZ3 years agoSuper User
Anonymous if you feel more comfortable with measure + visual, you may also plot a table visual with a measure like this:
ShiftHours = MAX(TableName[Time])- MIN(TableName[Time])-1/48i tried and it worked like this: