Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Try this
Table:
LOAD IN#,
Workflow.companyCode,
Workflow.fiDocumentNumber,
Workflow.mmDocumentNumber,
Workflow.invoiceLineItemNumber,
Workflow.Instance_Type,
Workflow.blockType,
Workflow.Status,
Recon.INVOICE_LINEITEM_AMOUNT_EUR,
Recon.INVOICE_LINEITEM_AMOUNT,
Recon.CURRENCY,
Events.ACTION,
Events.ASSIGNED_TO_ROLE,
Events.ASSIGNED_TO_USER,
Events.ASSIGNED_TIMESTAMP,
Events.CLOSED_BY_USER,
Events.CLOSED_TIMESTAMP,
Action_v2,
Workflow.mmDocumentNumber & '_' & Workflow.invoiceLineItemNumber & '_' & Action_v2 as Workflow_Action_v2,
Workflow.mmDocumentNumber & '_' & Workflow.invoiceLineItemNumber as [Workflow+item],
Workflow.mmDocumentNumber & '_' & Workflow.invoiceLineItemNumber& '_' & Workflow.blockType as [Workflow item with workflow block],
Events.CLOSED_TIMESTAMP - Events.ASSIGNED_TIMESTAMP as Duration,
Country,
Market,
Region,
Kernel,
[Infosys Center],
[Workflow ended]
FROM
[..\..\Downloads\Testing.xlsx]
(ooxml, embedded labels, table is Data);
Left Join (Table)
LOAD Workflow_Action_v2,
Sum(Duration) as [Action duration]
Resident Table
Group By Workflow_Action_v2;
Left Join (Table)
LOAD [Workflow+item],
Sum(Duration) as [Workflow duration]
Resident Table
Group By [Workflow+item];You are doing vlookup for some of the field such as Action_v2. I didn't have the file from where you are doing this vlookup, so I picked it up directly from the Excel provided.
Try this
Table:
LOAD IN#,
Workflow.companyCode,
Workflow.fiDocumentNumber,
Workflow.mmDocumentNumber,
Workflow.invoiceLineItemNumber,
Workflow.Instance_Type,
Workflow.blockType,
Workflow.Status,
Recon.INVOICE_LINEITEM_AMOUNT_EUR,
Recon.INVOICE_LINEITEM_AMOUNT,
Recon.CURRENCY,
Events.ACTION,
Events.ASSIGNED_TO_ROLE,
Events.ASSIGNED_TO_USER,
Events.ASSIGNED_TIMESTAMP,
Events.CLOSED_BY_USER,
Events.CLOSED_TIMESTAMP,
Action_v2,
Workflow.mmDocumentNumber & '_' & Workflow.invoiceLineItemNumber & '_' & Action_v2 as Workflow_Action_v2,
Workflow.mmDocumentNumber & '_' & Workflow.invoiceLineItemNumber as [Workflow+item],
Workflow.mmDocumentNumber & '_' & Workflow.invoiceLineItemNumber& '_' & Workflow.blockType as [Workflow item with workflow block],
Events.CLOSED_TIMESTAMP - Events.ASSIGNED_TIMESTAMP as Duration,
Country,
Market,
Region,
Kernel,
[Infosys Center],
[Workflow ended]
FROM
[..\..\Downloads\Testing.xlsx]
(ooxml, embedded labels, table is Data);
Left Join (Table)
LOAD Workflow_Action_v2,
Sum(Duration) as [Action duration]
Resident Table
Group By Workflow_Action_v2;
Left Join (Table)
LOAD [Workflow+item],
Sum(Duration) as [Workflow duration]
Resident Table
Group By [Workflow+item];You are doing vlookup for some of the field such as Action_v2. I didn't have the file from where you are doing this vlookup, so I picked it up directly from the Excel provided.
Hi sunny,
Thanks for ur help.
I am finding a new challenge here.
In my excel attached previuosly, there is a tab , PIVOT.
i am creating three scenarios.
1st scenario:
For each scenario i need to harcode Workflow.Status as terminated and ACTION_V2 = Approver.
i wrote in straight table as
=Avg({<Workflow.Status = {'Terminated'}, Action_v2 = {'Approver'}>}[Action duration])
but i am not getting any values if i write like above.
similarly for second scenrio as well.
Please help me out.
I am not sure I follow, would you be able to show an image of what you get and point out what exactly isn't right?
Hi Sunny,
It is working now. Thanks for your help.