Forum Discussion
aspitalnick
4 years agoFrequent Visitor
Help with a formula
I have a column called [Case or Contact] and a field called [Test Collection Date]. I need to create a new column called [immunity period] that if the [Case or Contact] field is "case" adds 90 days t...
- 4 years ago
aspitalnick , a new column
In power Query/M
Immunity period= if [Contact or Case] ="Case" then Date.AddDays([Test Collection Date],90) else null
In DAX
Immunity period= if( [Contact or Case] ="Case" ,[Test Collection Date] +90 , blank())
amitchandak
4 years agoSuper User
aspitalnick , a new column
In power Query/M
Immunity period= if [Contact or Case] ="Case" then Date.AddDays([Test Collection Date],90) else null
In DAX
Immunity period= if( [Contact or Case] ="Case" ,[Test Collection Date] +90 , blank())