Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I need to calculate working days between a start and end day but it must be real time- meaning I have set up reporting periods that have a static start and end day and need to get the real time networking days between that set of days to calculate the current labor cost per employee. I have a reporting period date table, holiday date table but don't know how to write a real time measure to calculate the networking days - minus weekends and holidays.
Hi @Anonymous ,
Please check if the similar thread could help you firstly.
If you still need help, please share your data sample and your desired output so that we could help further on it.
Best Regards,
Cherry
Here is the table for reporting periods. So I need a dynamic real time calculation of working days. If am a user looking at my labor costs on April 15th - then I need to get the current working days for Q2 minus weekends. I haven't set up a massive table by day to do the calculations of day. I am hoping you can do a calculation like in Excel where based on the current day it will calculate the correct networkings days real-time.
Doing it by day counting like in the example, how would I keep that table up to date for real-time. It seems that would only be helpful if dates are in the past not present.
Report Q ID | Reporting Period Name | Quarter | Year | Start Date | End Date |
1 | Q1 2019 | Q1 | 2019 | 12/31/2018 | 3/29/2019 |
2 | Q2 2019 | Q2 | 2019 | 4/1/2019 | 6/28/2019 |
3 | Q3 2019 | Q3 | 2019 | 7/1/2019 | 9/27/2019 |
4 | Q4 2019 | Q4 | 2019 | 9/30/2019 | 12/27/2019 |
5 | Q1 2020 | Q1 | 2020 | 12/30/2019 | 3/27/2020 |
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |