[英]creating a custom field in Tableau that would give me a count of the items that are still waiting on a response
I need assistance in creating a custom field in Tableau that would give me a count of the items that are still waiting on a response.在 Tableau 中创建自定义字段时,我需要帮助来计算仍在等待响应的项目。 Below is an image of some dummy data.
下面是一些虚拟数据的图像。 I need the calculation to first look at the Response Requested column.
我需要计算首先查看 Response Requested 列。 If it is "yes", then look at the Receipt Date column.
如果是“是”,则查看“收据日期”列。 If it is null, then look at the requested Response Date column.
如果是 null,则查看请求的响应日期列。 If the requested response date is past today's date, then I would like it to be added to the count.
如果请求的响应日期超过今天的日期,那么我希望将其添加到计数中。
Try something like this:尝试这样的事情:
count(IF [Response Requested] = 'Yes' and isnull([Response Receipt Date]) and [Response Date] < TODAY() then 1 end)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.