Forum Discussion
Custom Column or Dax Formula
- 4 years ago
DemandMGR , Small correction on what @ryan has suggested. Please create a new custom column with below code:-
column = IF ( ETADATE = TODAY () || ETADATE = TODAY () + 1 || ETADATE = TODAY () + 2, "PO#", "NO" )Thanks,
Samarth
What I am looking for is something like an IF(OR) fucntion from excel. Please see example below.
IF(OR(ETADATE=TODAY(),ETADATE=TODAY()+1,ETADATE=TODAY()+2),"PO#","NO")
Honestly I think I can figure out the rest from there. I am not even sure if this is possible but I am hoping it is
- DemandMGR4 years agoHelper I
Thank you for that. It didnt work though. There was an error under the E in the second ETADATE.
The examle of how I entered it below.
=IF([ETADATE]=TODAY() || [ETADATE]=TODAY()+1 || [ETADATE]=TODAY()+2),[PO#],'NO')
I have never seen an error under one letter when pulling in a column from the table.
- DemandMGR4 years agoHelper I
I also tried this formula but I kept getting a error trying to close the formula
IF([ETADATE]=TODAY(),[PHPONO],IF([ETADATE]=TODAY()+1,[PHPONO],IF([ETADATE]=TODAY()+2,[PHPONO] ,'NO')
- Samarth_184 years agoCommunity Champion
DemandMGR , Small correction on what @ryan has suggested. Please create a new custom column with below code:-
column = IF ( ETADATE = TODAY () || ETADATE = TODAY () + 1 || ETADATE = TODAY () + 2, "PO#", "NO" )Thanks,
Samarth