I would like to create a report based time between two stages in our sales CRM. The report needs to reflect the amount of times a deal was pushed back to an earlier stage in the workflow called “Drafting” from a later stage called “QA” and ideally the number of times this was done per deal.
This needs to be by the deal owner.
Does anyone know if some or all of this is possible?
Would it be enough to have the number of times the deal entered the “Drafting” stage? This would be fairly easy. You would create a custom number property (see below) and have a deal workflow re-enroll deals and increase that number whenever they go into the “Drafting” stage. In reports, you’ll have to consider that their first time here is also counted. (If you don’t want that, you could create a calculation property that takes the property from the workflow and subtracts 1.)
You could then take this and navigate to Menu > Reports > Reports > Create custom report > Single object > Deal. Set Filters to your desired time frame (e.g. Deal create date is this quarter). In the Data tab, find your new custom property (Number of times deal was pushed back to ‘Drafting’) and Deal owner. In the Visualization tab, you can now drag and drop these properties along with Count of Deals into the Displaying area. Choose your preferred visualization and bob’s your uncle.
Does this solve your problem?
For any reports on actual time spent in deal stages, you’d have to work with custom date properties and date stamps in workflows. This can get complex quite fast. So does the question on how many times a deal was pushed back specifically from “QA”. Still, let me draft how to approach this.
For this, you’d need another custom deal property called Previous dealstage. This property needs to match the exact deal stages values of your actual Deal stage property. In a separate workflow, you would enroll all deals (by “Deal stage is known”, also selected for re-enrollment) and copy the value from the actual Deal stage to the Previous deal stage property. This would then be followed by a 5 or 10 minute delay. This delay will prevent the deal from re-enrolling immediately and gives us a moment to check what the actual previous deal stage was.
In our workflow created above, you could now add an additional enrollment criterion for “Previous deal stage is any of QA”. There are some obvious flaws to this: If this workflow is for some reason too slow and needs more than 5 or 10 minutes, this workflow would not enroll and its number would not count up. Also, if sales reps move the deal between more than one stage during those 5 to 10 minutes, data would be inaccurate as well.
The basic solution at the top is pretty bulletproof, anything else gets complex and finicky.
Hi, thanks for this, the top solution will work. I would like to see this in QA stage rather than the Drafting stage and then get the number of times a deal has gone between the two.
Unfortunately, I get stuck as I am unable to create a custom number property, even though I am a super admin.
Considering the rest of this workaround, that’s an odd point to get stuck at, haha. Could you specify what exactly you’re experiencing? Can you not access the settings? Is the Create property button grayed out? Feel free to share a screenshot. (Which subscription level are you on?)
Yes, it is rather amusing to be stuck at the start, haha. Here is a screenshot. I can’t see the settings. The subscription level I am on is Sales Enterprise / Super Admin.
Properties cannot sometimes not be added or edited right from the tool. For that, you’d navigate to Settings > Properties. You can find a step-by-step instruction here.