Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi,
I do have a table with primary key as project name where in two columns are for "Planned Date" and "Actual Date". I want to calculate schedule accuracy by measuring the deviation from Planned vs Actual fro each project. These two columns also has few rows which are not wanted in the report like null, "not applicable", "tbc"..
How can i get the visual chart depicting the "Planned Date"/"Actual Date" and the schedule accuracy in percentage?
@vikasmca05,
Here I filtered the invalid values directly, I made a sample as below:
1. Enter the data that we need.
2. Create a measure and set the values as percentages in Modeling.
per2 = MAX(Table2[Planned Date])/ MAX(Table2[Actual Date])
After that we can get a table visual like this:
For more information, please check the pbix as attached.
Hope that will be suitable, if not, could you please share sample data and post desired result to me? Thanks in advance.
Regards,
Lydia
Thanks for the reply.
How can we caluclate only Weekday in the accuracy?
If the Actual date is much before the planned date then it is not providing the correct value.
Basically my table would look like -
Schedule Accuracy is obtained by formula -
=IF(OR(NETWORKDAYS(RPC,RTW Planned)=0,NETWORKDAYS(RPC,RTW Planned)<0),1,NETWORKDAYS(RPC,RTW Actual)/NETWORKDAYS(RPC,RTW Actual))
How can i draw the chart like below -
Release | RPC | RTW Planned | RTW Actual | Schedule Accuracy | Schedule Accuracy |
ID 1 | 7-Jul-17 | 16-Oct-17 | 16-Oct-17 | 100% | 0 |
ID 2 | 17-Nov-17 | 16-Aug-17 | 16-Aug-17 | 100% | 0 |
ID 3 | 26-Jan-18 | 26-Mar-18 | 9-Apr-18 | 124% | 10 |
Hi,
Any answer please?
@vikasmca05,
Based on my test, we can take the following steps to meet your requirement.
1. Enter the data and create a time table using the function CALENDARAUTO
dimtime = CALENDARAUTO()
2. Then we need to create another two columns to calculate the net workdays later.
weekday = WEEKDAY(dimtime[Date])
countweekday = SWITCH(dimtime[weekday],1,0,7,0,1)
3. In your table, we can use the formulas as below to get the Schedule Accuracy。
Schedule Accuracy =IF( Table1[RTW Actual]<=Table1[RTW Planned],0,CALCULATE(SUM(dimtime[countweekday]),FILTER(ALL(dimtime),AND(dimtime[Date]>=Table1[RTW Planned],dimtime[Date]<=Table1[RTW Actual]))))
Schedule Accuracy1 = IF(Table1[Schedule Accuracy]=0,1,Table1[RTW Actual]/Table1[RTW Planned])
4. Then we can get the result in Line and stacked column chart.
In addition, the Schedule Accuracy should be 11 here. As I made a test in excel, please refer to the picture as below.
For more information, please check the pbix as attached.
Regards,
Lydia
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
86 | |
75 | |
74 | |
55 | |
45 |
User | Count |
---|---|
117 | |
106 | |
77 | |
66 | |
65 |