Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
i have a list of multiple customers with employees that all start and end at different times (by company/site). I have calculated a measure to work out the average start time and the average end time, based off clock in time and clock out time.
Example Data:
Thanks
ok thanks, i was hoping that the average clock in and clock out time could be used as a benchmark against each employee's clock in time as i dont have this info.
Don't despair 🙂 I can see you want something like a dynamic labelling. It's totally doable but you still have to define what you mean by Early, Late... For instance, does Early mean "before the average"? Or "more than 10 minutes before the average"? And is Late "20+ mins after the average"? You have to define this.
Not enough info to solve this. For instance, nobody knows (but you) what the definitions of Early, On Time and Late are.
By the way, your formula does too many redundant things. If you exec this in DAX Studio
EVALUATE
var Time_ = TIME(20, 2, 1)
return
{Time_, Time_ + time(0, 0, 0)}
you'll notice that the results are exactly the same. Hence, your IF is redundant.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
9 | |
8 | |
8 |
User | Count |
---|---|
14 | |
12 | |
11 | |
11 | |
8 |