简体   繁体   English

在 Tableau 中创建一个自定义字段,该字段将为我提供仍在等待响应的项目的计数

[英]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.如果请求的响应日期超过今天的日期,那么我希望将其添加到计数中。

response dummy data响应虚拟数据

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.

相关问题 Tableau 度量计数项目(如果在日期之间) - Tableau measure count items if between dates 在两个字段中基于日期创建Tableau计算字段 - Creating A Tableau Calculated field based of a date in two fields 在 Tableau 中创建具有投诉数量与人口比率的计算字段? - Creating a calculated field with ratio of number of complaints to population in Tableau? TABLEAU 计算的现场优化 - TABLEAU CALCULATED FIELD OPTIMIZATION 寻找一个 function 循环 12 次并给我给定年份每个月的每一天的所有日期 - Looking for a function that would loop 12 times and give me all dates of every single day of every single month of a given year Ruby按日期计数项目 - Ruby count items by date 具有MonthArchiveView的网址给我错误404 - Url with MonthArchiveView give me error 404 给我一个月所有日期列表的功能 - Function that give me all date list of a month 为什么 Jackson ObjectMapper 给我这个错误,将 JSON 字段转换为日期 object? 无法从字符串反序列化 java.util.Date 类型的值 - Why Jackson ObjectMapper give me this error converting JSON field into a Date object? Can not deserialize value of type java.util.Date from String 为什么 Xcode 和模拟器给我不同的日期? - Why Xcode & Simulator give me different dates?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM