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.
Hi All,
I have a Power BI that I am creating for our ticketing system. The goal is to take the number of days that our employees have entered on all their tasks and add it to today to get a "Next Available Date" so that managers know who is available to work. I can do the calculation by itself but when I add it to a table it explodes everything out granularity wise. Any ideas?
Here is the DAX calc -
Solved! Go to Solution.
@Anonymous ,
Modify your measure using dax below and check if it can meet your requirement.
Next Available Date = CALCULATE ( IF ( WEEKDAY ( NOW () + SUM ( 'Resource Availability'[Remaining Planned Days] ), 1 ) = 1, NOW () + SUM ( 'Resource Availability'[Remaining Planned Days] ) + 1, IF ( WEEKDAY ( NOW () + SUM ( 'Resource Availability'[Remaining Planned Days] ), 1 ) = 7, NOW () + SUM ( 'Resource Availability'[Remaining Planned Days] ) + 2, NOW () + SUM ( 'Resource Availability'[Remaining Planned Days] ) ) ), ALLSELECTED ( Teams ) )
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Is it possible to import the resource availabiliy data from MS Projects and import into the Power BI model and create a Gantt chart visualization which displays an overview of what tasks/projects are assigned to people and gives an overview where people have available hours (as gaps in the chart), for the Project Managers to assign new projects/tasks to the available resources/people.
I hope someone understands what I am trying to achieve. 😅
@Anonymous ,
Modify your measure using dax below and check if it can meet your requirement.
Next Available Date = CALCULATE ( IF ( WEEKDAY ( NOW () + SUM ( 'Resource Availability'[Remaining Planned Days] ), 1 ) = 1, NOW () + SUM ( 'Resource Availability'[Remaining Planned Days] ) + 1, IF ( WEEKDAY ( NOW () + SUM ( 'Resource Availability'[Remaining Planned Days] ), 1 ) = 7, NOW () + SUM ( 'Resource Availability'[Remaining Planned Days] ) + 2, NOW () + SUM ( 'Resource Availability'[Remaining Planned Days] ) ) ), ALLSELECTED ( Teams ) )
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |