使用表ID的销售转换周期。 [英] Sales conversion cycle using table ID's.

查看:94
本文介绍了使用表ID的销售转换周期。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我一直试图将这部分分析工作一段时间,但不能完全了解它。

Hi all, been trying to get this part of my analysis working for a while but can't quite get my head around it.

我试着看看来自tblEnquiry的销售转换 - tblQuote - tblProject。每个相关记录具有相同的ID。我最感兴趣的是每月转换的查询百分比,可能只是暂时使用EnquiryDate。 

I am trying to look at the sales conversion from tblEnquiry - tblQuote - tblProject. Each related record has the same ID. I would be most interested in percentage of enquiries converted over each month, maybe just using EnquiryDate at the moment. 

我希望能够查看它的时间长度也需要转换,也许使用来自tblProject的AcceptanceDate

I would possibly like to be able to look at the length of time it takes to convert also, perhaps using an AcceptanceDate from the tblProject

干杯,

推荐答案

我自己会有一个共同的单表,而是有标志字段来表示引用,项目 - - 但这不是你问的问题....所以

well I myself would have a common single table and instead have flag fields to indicated Quoted, Project - - but that's not the question you asked....so

你需要加入tblEnquery到tblQuote包含所有查询的联接类型,而不是只会导致匹配的常规联接。 正确的连接类型将有一个面向Quote表的箭头,而不仅仅是一行....

you need to join tblEnquery to tblQuote with the type of join that includes all Enquiries, not a regular join which would only result in matches.  The correct join type will have an arrow facing the Quote table rather than just a line....

这样你将获得所有查询,但引用方面的一些记录将是nulls(因为没有引用);通过这种方式,您可以计算空值或非空值,并将该计数与总体查询计数进行比较,并得到您的%。 实际的
实现可能涉及一系列聚合查询。

this way you will have all enquiries but some of the records on the Quote side will be nulls (because there is no quote); this way you can count the nulls or not nulls and compare that count with the overall Enquiry count and get your %.  the actual implementation can involve a series of aggregate queries put together.


这篇关于使用表ID的销售转换周期。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆