简体   繁体   中英

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. Below is an image of some dummy data. I need the calculation to first look at the Response Requested column. If it is "yes", then look at the Receipt Date column. If it is null, then look at the requested Response Date column. 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)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM