Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Hi community,
I'm doing a study of over time hours (Hours worked > 40 per employee). I am trying to figure an average number of overtime hours worked per employee per week, but only for the number of weeks YTD.
I have tried to utilize logic with my measures below, but it's not working as I would like it to.
Please see below screenshot - my desired result is ultimately to have a value of 0 for #WorkweeksDC column for workweeks that don't yet have time logged, so that the grand total of weeks at the bottom is only for workweeks YTD.
I'm sure I am missing something simple - thanks in advance for your assistance!
Karen
Measures:
#WorkweeksDC = DISTINCTCOUNT('DimCal'[WorkWeekEndingDate])
#Workweeks_with_curr_week =
Solved! Go to Solution.
Hello again,
I believed I solved this on my own. Posting here to vet my solution.
Measures:
Hello again,
I believed I solved this on my own. Posting here to vet my solution.
Measures:
Hello, I've posted the PBIX here: https://drive.google.com/file/d/1czciFzX48kkRQ4kQ4G2ptwKZq8CCTT7N/view?usp=sharing
It's really unfortunate that there is no way to upload a file inline within this forum.
Hi @Anonymous ,
In order to better understand your demands and give the right solution, could you please provide some more specific information? such as your desensitized example data and a screenshot of your desired results?
Thanks for your efforts & time in advance.
Best regards,
Community Support Team_ Binbin Yu
Check out the May 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
17 | |
14 | |
13 | |
12 | |
10 |
User | Count |
---|---|
11 | |
10 | |
6 | |
6 | |
6 |