cancel
Showing results for
Did you mean:

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Frequent Visitor

## Schedule Accuracy for Planned vs Actual Date

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?

5 REPLIES 5
Microsoft

@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:

Hope that will be suitable, if not, could you please share sample data and post desired result to me? Thanks in advance.

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Frequent Visitor

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.

Frequent Visitor

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
Frequent Visitor

Hi,

Microsoft

@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.

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Announcements

#### Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

#### Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

#### The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors