我正在计算下一个1周和1个月内关闭的预测概率。我目前坚持尝试根据截止日期创建的天数计算总计的百分比。我可以使用以下查询将其创建为度量;
% chance of closing =
VAR sales =
CALCULATE (
SUM ( opportunities[ex_numberofusers] ),
FILTER (
ALLSELECTED ( opportunities[Opp to Opp closed number of days] ),
ISONORAFTER (
opportunities[Opp to Opp closed number of days], MAX ( opportunities[Opp open to opp closed] ), DESC
)
)
)
VAR totalsales =
CALCULATE (
SUM ( opportunities[ex_numberofusers] ),
ALLSELECTED ( opportunities )
)
RETURN
DIVIDE ( sales, totalsales )
我希望做的是重新创建它,但是作为编辑查询中的一列,这应该允许我说这一次Opp关闭的可能性是1周或1个月内的百分比。显然,这可能不是最简单的方法,因此非常感谢您的帮助。谢谢:)