Forum Discussion
gauravnarchal
Post Prodigy
4 years agoIf statement (Dates)
I need help to create a calculated column in Table 1as below If number (Table 1) = number (Table 2) & Date (Table 1) Equal too and greator than the Start Date (Table 2) and all dates that f...
- 4 years ago
Column = SWITCH(TRUE(),ISBLANK(RELATED('Table 2'[Start Date])),"Error",'Table 1'[Date]<RELATED('Table 2'[Start Date]),"No",'Table 1'[Date]>EDATE(RELATED('Table 2'[Start Date]),12),"No","Yes")Note: Tables are joined via [Number]. See attached.
lbendlin
Super User
4 years agoColumn = SWITCH(TRUE(),ISBLANK(RELATED('Table 2'[Start Date])),"Error",'Table 1'[Date]<RELATED('Table 2'[Start Date]),"No",'Table 1'[Date]>EDATE(RELATED('Table 2'[Start Date]),12),"No","Yes")
Note: Tables are joined via [Number]. See attached.