Hi Community! Hoping someone can put me out of my misery and help me tweak my text mode code.
I have a project report want to include a column that is a task collection; however, I only want to show tasks (not parents) planned for the next 10 days (2 weeks) and aren't yet completed. Below is the current text mode that works, but it shows all tasks not completed and I need to add in a "< Today + 10d" qualifier
displayname=Tasks Due in Next 2 Weeks
listdelimiter=<p>
listmethod=nested(tasks).lists
textmode=true
type=iterate
usewidths=true
valueexpression=IF({numberOfChildren}=0,IF(ISBLANK({actualCompletionDate}),CONCAT({plannedCompletionDate}," - ",{name})))
valueformat=HTML
width=300
해결되었습니다! 솔루션으로 이동.
토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.
you're so close!
Here's the text mode value expression:
valueexpression=IF({numberOfChildren}=0 && ISBLANK({actualCompletionDate}) && DATEDIFF({plannedCompletionDate}, $$TODAY)<11,CONCAT({plannedCompletionDate}," - ",{name}),"")
Translated: Show the task if
Give this edit a try. That will also give you overdue tasks in the past as well as it's written, FYI.
valueexpression=IF({numberOfChildren}=0,IF({plannedCompletionDate}<$$TODAY+10d,IF(ISBLANK({actualCompletionDate}),CONCAT({plannedCompletionDate}," - ",{name}))))
조회 수
답글
좋아요 수
Hi Moni, I might be wrong.
My understanding is this might need another valueexpression for planned completion date adddays formula with $$today to +10 days. However, when I tried one valueexpression mode replaced with other showing either dates or task names.
Here is what I tried - I used the task name valueexpression formula above and used a filter for planned completion date between $$TODAY to $TODAY+10d.
I would love to see if there is an alternate option.
Regards, Sujatha
조회 수
답글
좋아요 수
you're so close!
Here's the text mode value expression:
valueexpression=IF({numberOfChildren}=0 && ISBLANK({actualCompletionDate}) && DATEDIFF({plannedCompletionDate}, $$TODAY)<11,CONCAT({plannedCompletionDate}," - ",{name}),"")
Translated: Show the task if
I appreciate you SO MUCH!!!
I tried so many equations and DATEDIFF never came to mind.
조회 수
답글
좋아요 수