客户表
包含“状态”,“创建日期”,“更新日期”列
ascs表
包含“ service_station_name”列
首先,我使用以下的eqn为“状态计数”添加新的度量标准:
Status Count = COUNT('cps customers'[status])
然后通过使用以下等式nn,为“天数持续时间”创建新列:
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 可视化并获得第一个service_station_name 。但我还没有 正确答案
基于屏幕截图,我需要“ Om Sakthi Engineering”作为答案。 我如何得到答案?谁能帮我!