Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Guys,
I'm hoping you can help me with the best way to approach this.
If I have at the start of the month £100,000 of Apples orders at the start of the month. I want to calculate the conversion rate of how many orders were finalised at the end of the month.
100 [Open] Orders @ start of month
50 [Closed] Orders @ end of month
Conversion Rate should be 50% - How would i calculate this?
However the orders status field for every order "Open", "Closed" can change over time depending on Sales Orders. How would i capture the status of the order at a certain time?
Key Fields -
[Order Status]
[Order Create Date]
[Order Close Date]
First things add month year to your data
e.g.
load [Order Status] ,[Order Create Date] ,date(monthstart([Order Create Date]), 'MMM-YYYY') as [Order Create MonthYear] ,[Order Close Date] ,date(monthstart([Order Close Date]), 'MMM-YYYY') as [Order Close MonthYear] from YOURSOURCE
then
use set analysis
e.g.
Open Orders @ start of current month (for april 2019 find records with create month year before apr-2019)
Count( {< [Order Create MonthYear]={"<$(=date(monthstart(today()), 'MMM-YYYY'))"} >} OrderID)
Closed Orders current month (for april 2019 find records with close month year as apr-2019)
Count( {< [Order Close MonthYear]={$(=date(monthstart(today()), 'MMM-YYYY'))} >} OrderID)
First things add month year to your data
e.g.
load [Order Status] ,[Order Create Date] ,date(monthstart([Order Create Date]), 'MMM-YYYY') as [Order Create MonthYear] ,[Order Close Date] ,date(monthstart([Order Close Date]), 'MMM-YYYY') as [Order Close MonthYear] from YOURSOURCE
then
use set analysis
e.g.
Open Orders @ start of current month (for april 2019 find records with create month year before apr-2019)
Count( {< [Order Create MonthYear]={"<$(=date(monthstart(today()), 'MMM-YYYY'))"} >} OrderID)
Closed Orders current month (for april 2019 find records with close month year as apr-2019)
Count( {< [Order Close MonthYear]={$(=date(monthstart(today()), 'MMM-YYYY'))} >} OrderID)
Hi Dilpranjith,
Thanks for your help on this.
For open orders, how would i count all orders up to a specific date i.e 04/04/2019? instead of before April?
Count( {< [Order Create MonthYear]={"<$(=date(monthstart(today()), 'MMM-YYYY'))"} >} OrderID)
Hi Dilipranjith,
Yes your right it would be better if it is dynamic. Is there a way to say when we are in April its 04/04/19 and then when we are in May it will be 04/05/19 and then in June 04/06/19 ?
Hi Dilpranjth,
Thank you that was really helpful. But I am still not there to the desired result.. I want to track the changes if possible?
Order Won Month can be changed at any time.. Is there a way to capture all orders that have order won month has been changed?
i.e
Order 1 - [Won month] = April 2019
Order 2 - [Won month] = April 2019
Order 2 changes its won month to May 2019. How would I capture the change?
Thanks,
Aaron
It is just overrided via the CRM system..
Is there anyway QV can capture a status in point in time and if it changes from what it previously is?