guys, I'm trying to do some crazy things in Google Sheets and I'm getting in trouble. Can someone help me?
I have this sheet with tasks and subtasks. Each subtask has a status (done, in progress or not stated)What I want to do is set one progress for task depending on its subtasks. This way:
if all subtasks have a status not stated, the task is not stated(red color)
if all subtasks have a status done, the task is done(green color)
if all subtasks have a status in progress, the task is in progress (orange color)
if we have at least one subtasks not stated, the task is not stated. Same for another status
try separately for A column with those merged cells:
=REGEXMATCH(TEXTJOIN(" ", 1, C:C), "Not Started")*(B:B<>"")
=REGEXMATCH(TEXTJOIN(" ", 1, C:C), "In Progress")*(B:B<>"")
=REGEXMATCH(TEXTJOIN(" ", 1, C:C), "Done")*(B:B<>"")
Related
As far as I can tell there's no identifier being passed with the GT worker metadata (see below from documentation https://docs.aws.amazon.com/sagemaker/latest/dg/sms-data-output.html)? How would I link this information back to the actual labeling task?
sub I believe is a cognito reference to the worker, so not a unique identifier for the submisson. As of right now, I jsut know that one of the tasks took a certian amount of time for a particular worker, but I can't tell which one. I also guess i have to jump through a few hoops via cognito to get the GT worker id from the sub?
I am looking for a way to summarize origina data shown (from input manifest file), the label given, the time it took to complete. As of right now, I have to make one table that has the data with their human submitted label, and a separate table with time it took to complete by task, but no way to link the two...am I missing something?
here's the worker metadata json:
"submissionTime": "2020-12-28T18:59:58.321Z",
"acceptanceTime": "2020-12-28T18:59:15.191Z",
"timeSpentInSeconds": 40.543,
"workerId": "a12b3cdefg4h5i67",
"workerMetadata": {
"identityData": {
"identityProviderType": "Cognito",
"issuer": "https://cognito-idp.aws-region.amazonaws.com/aws-region_123456789",
"sub": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
}
I want to implement the graph with status label on various transaction status. I have added the reference graph below.
transaction status graph
In the above graph, x-transaction status , y-transaction count, transaction status are completed, InProgress, start, wait, stopped, failed.
If the status are wait, InProgress, start then it should comes under "ongoing" category.
If status is stopped , failed it should be grouped and comes under interrupted category.
I have grouped the transaction status and created the new column, but am unable to get exact grouping design as mentioned in the image.
I have made a sample sheet to show my issue: https://docs.google.com/spreadsheets/d/1YZvdHBT3G9gLM8qhas_LSPWU4prVGoOTbY6pRo1IUA0/edit?usp=sharing.
I am trying to make a task manager. Tasks have:
Dependencies to other tasks
Completed status - provided by the user
A task is eligible to be completed only when all of its dependency tasks have been completed.
Here is what I have and what I am trying to do:
Tasks sheet:
Task Name
User Input - Is Completed - this is where the user would specify if the task is completed
Formula - Are Pre-Requisites Met - formula to determine if this task's dependencies have been met; more below
Formula - Is Really Completed - formula; a task is only really eligible to be completed when all of its pre-requisites are met
Dependencies sheet:
Task Name - Parent task
Pre-Requisite - Task Name - child/dependent task
Pre-Requisite - Formula - Is Really Completed - the value of Formula - Is Really Completed from the Tasks sheet for this row's Pre-Requisite - Task Name (the child/dependent task)
My thought is:
On the Dependencies sheet, for each pre-requisite task, look it up in the Tasks sheet and see if it's really done (Is Really Completed)
Then, on the Tasks sheet, for each Task Name, check the status of each of its pre-requisite task in the Dependencies sheet and make sure all are really done.
The issue is this leads to a circular reference error. But I don't think it should. Task B is dependent on task A so to determine if task A is really done we are only checking if task B is done. So there isn't a circular reference.
Not sure how to solve this...
You can fix that by going to: File -> Speadsheet Settings
Once there,change calculation from OFF to ON
C2 cell would be:
=ARRAYFORMULA(IF(A2:A<>"", IFERROR(VLOOKUP(A2:A, {IFERROR(
VLOOKUP(A2:A, dependencies!A2:B, 2, 0)), B2:B}, 2, 0),
VLOOKUP(A2:A, A2:B, 2, 0)), ))
and D2 cell would be:
=ARRAYFORMULA(IF(A2:A<>"", IF((IFERROR(VLOOKUP(A2:A, {IFERROR(
VLOOKUP(A2:A, dependencies!A2:B, 2, 0)), B2:B}, 2, 0),
VLOOKUP(A2:A, A2:B, 2, 0)))*(B2:B=TRUE), TRUE), ))
How can I get a progressbar on spark-sql? spark-shell get a nice progress bar like this:
[Stage7:===========> (14174 + 5) / 62500]
This progressbar tells what is the total number of executors allocated, how many are running and how many completed. while the length of the progress bar indicates the % completion of the job.
Absent this we have to rely only on the Resource Manager UI and keep refreshing the same.
spark-sql -S will show the condensed progress!
I have a question about a specific functionality in Siebel, regarding service requests.
Is there a way to track time when certain service request is in a given status/substatus, for example "Waiting on Customer"? When the service request is changed again to another status that isn't "Wait for somebody" anymore, I have to stop counting the time.
I don't know of any out of the box solution to your needs, however there are many ways to achieve it with a bit of customisation. For example:
Create two new fields, Waiting Time (with predefault value: 0) and Waiting Date.
Create the following BC user properties:
On Field Update Set x = "Status", "Waiting Time", "IIF([Waiting Date] IS NULL, [Waiting Time], [Waiting Time] + (Timestamp() - [Waiting Date]))
On Field Update Set y = "Status", "Waiting Date", "IIF([Status]='Waiting on Customer',Timestamp(),NULL)"
Your Waiting Date field will store the last time the service request changed to "Waiting on Customer", or NULL if it's on another status. Then, Waiting Time will accumulate the total time the request has been in that status.
I have not tested the solution, it might need some more work, for example, it's possible that Siebel doesn't allow you to use the expression [Waiting Time] + (Timestamp() - [Waiting Date]) directly and you'll have to decompose it using auxiliary calculated fields.
Note also that the On Field Update Set user property has changed its syntax from Siebel 7.7-7.8 to Siebel 8.x.
If you're familiar with server scripting, you could implement something similar quite easily, on the BusComp_PreSetFieldValue event. If the field being changed is Status, check if you're entering or exiting (or not) the "Waiting on Customer" status, and update the two fields accordingly.