客户表
包含列“状态”、“创建日期”、“更新日期”
ascs 表
包含列“service_station_name”
首先,我使用以下 eqn 为“状态计数”添加新度量:
Status Count = COUNT('cps customers'[status])
然后使用以下 eqn 为“日持续时间”创建一个新列:
Day Duration2 = SWITCH('cps
customers'[status],"Closed",DATEDIFF('cps customers'[created_at],
[updated_at],DAY),"Unattended",DATEDIFF('cps
customers'[created_at],NOW(),DAY),"Assigned",DATEDIFF('cps
customers'[created_at],NOW(),DAY),"NotApplicable",DATEDIFF('cps
customers'[created_at],NOW(),DAY),"Open",DATEDIFF('cps
customers'[created_at],NOW(),DAY))
我需要顶级服务站名称.. 条件:
i. Consider only **closed status**
ii. Top count of **closed status count**
iii. Lowest **time duration**
脚步:
-
现在,我得到了三个 service_station_name,每个都有 5 个关闭状态计数。
为了显示前 1 个 service_station_name,我从可视化中选择了CARD并获得First service_station_name .Bt 我没有得到正确的答案
根据截图,我需要“Om Sakthi Engineering”作为答案。我如何得到答案?有谁能够帮我!