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.
Dear Expert,
I have a data set as below which stores the task information.
Task Name | Start Date | End Date |
A | 11/5/2018 | 11/9/2018 |
B | 11/7/2018 | 11/8/2018 |
C | 11/7/2018 | 11/9/2018 |
D | 11/6/2018 | 11/8/2018 |
I wish to create a table to track the workload of each date. The workload is based on the number of task in progress (start but not end). By using the tasks above, following table is the expected output:
11/5/2018 | 1 |
11/6/2018 | 2 |
11/7/2018 | 4 |
11/8/2018 | 4 |
11/9/2018 | 2 |
Is it possible to achieve that?
Many thanks!
Best regards,
Tom
Solved! Go to Solution.
hi, @TomLU123
After my test, you could do these as below:
Step1:
Create a complete calendar table
Step2:
Use crossjoin create a new table
Table = FILTER(CROSSJOIN(Table1,'Date'),'Date'[Date]>=Table1[Start Date]&&'Date'[Date]<=Table1[End Date])
Step3:
then drag the date field form new table and count Task Name
here is my pbix, please try it.
There's another way for you to refer to
https://community.powerbi.com/t5/Quick-Measures-Gallery/Periodic-Billing/m-p/409365
Best Regards,
Lin
hi, @TomLU123
After my test, you could do these as below:
Step1:
Create a complete calendar table
Step2:
Use crossjoin create a new table
Table = FILTER(CROSSJOIN(Table1,'Date'),'Date'[Date]>=Table1[Start Date]&&'Date'[Date]<=Table1[End Date])
Step3:
then drag the date field form new table and count Task Name
here is my pbix, please try it.
There's another way for you to refer to
https://community.powerbi.com/t5/Quick-Measures-Gallery/Periodic-Billing/m-p/409365
Best Regards,
Lin
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 |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |