I want to add a calculated column called Processing Status (column in blue is desired result). Every staff member has 30 days to process a project, but if the project is missing relevant information, the assigned staff can suspend processing (i.e., put it on hold) until further information is received. Once the required data is received, staff can resume processing (Date Processing Resumed) and perform their review.
If a project has all required information and doesn’t need to be suspended, then total days in processing is the difference between the Date Completed and Date Assigned. If a project must be suspended, then total processing days equals [(Date Processing Suspended – Date Assigned) + (Date Completed – Date Processing Resumed)].
Here are the 5 statuses I need to calculate:
Thank you for your assistance.
Solved! Go to Solution.
Hi @PBInewbie17 ,
I have created a simple sample, please refer to it to see if it helps you.
Create a measure.
Measure =
IF (
MAX ( 'Table'[days in processing] ) > 30
&& MAX ( 'Table'[date completed] ) = BLANK (),
"Overdue",
IF (
MAX ( 'Table'[days in processing] ) > 30
&& MAX ( 'Table'[date completed] ) <> BLANK (),
"Missed deading",
IF (
MAX ( 'Table'[date completed] ) = BLANK ()
&& MAX ( 'Table'[days in processing] ) <= 30
&& MAX ( 'Table'[date due] ) >= TODAY (),
"In progressing",
IF (
MAX ( 'Table'[days in processing] ) <= 30
&& MAX ( 'Table'[decision ] ) <> BLANK ()
&& MAX ( 'Table'[date completed] ) <> BLANK ()
&& MAX ( 'Table'[date processing resumed] ) = BLANK (),
"On time",
"Incomplete"
)
)
)
)
If I have misunderstood your meaning, please provide more details with your desired output.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @PBInewbie17 ,
I have created a simple sample, please refer to it to see if it helps you.
Create a measure.
Measure =
IF (
MAX ( 'Table'[days in processing] ) > 30
&& MAX ( 'Table'[date completed] ) = BLANK (),
"Overdue",
IF (
MAX ( 'Table'[days in processing] ) > 30
&& MAX ( 'Table'[date completed] ) <> BLANK (),
"Missed deading",
IF (
MAX ( 'Table'[date completed] ) = BLANK ()
&& MAX ( 'Table'[days in processing] ) <= 30
&& MAX ( 'Table'[date due] ) >= TODAY (),
"In progressing",
IF (
MAX ( 'Table'[days in processing] ) <= 30
&& MAX ( 'Table'[decision ] ) <> BLANK ()
&& MAX ( 'Table'[date completed] ) <> BLANK ()
&& MAX ( 'Table'[date processing resumed] ) = BLANK (),
"On time",
"Incomplete"
)
)
)
)
If I have misunderstood your meaning, please provide more details with your desired output.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
That worked! Thank you so much.
Please provide sanitized sample data that fully covers your issue. I can only help you with meaningful sample data.
Please paste the data into a table in your post or use one of the file services like OneDrive or Google Drive.
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided. Screenshots of the expected outcome are ok.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
User | Count |
---|---|
130 | |
55 | |
35 | |
32 | |
27 |
User | Count |
---|---|
160 | |
57 | |
39 | |
36 | |
27 |