Forum Discussion
TeamCanada26__
4 years agoFrequent Visitor
Power Query Formula with IF and END.OF.MONTH
I am looking to add a new column with a bit of equations in it. This is what I am hoping to achieve in language: IF Job Requistion Status = "Closed" then use the EndOfMonth of the End date I...
- 4 years ago
Use this
= if [Job Requistion Status]="Closed" then Date.EndOfMonth([End Date]) else if [Job Requistion Status]="Filled" and [End Date]=null then Date.EndOfMonth([Requisition Close Date]) else Date.EndOfMonth(Date.From(DateTime.FixedLocalNow()))
Vijay_A_Verma
4 years agoMost Valuable Professional
Use this
= if [Job Requistion Status]="Closed" then Date.EndOfMonth([End Date]) else
if [Job Requistion Status]="Filled" and [End Date]=null then Date.EndOfMonth([Requisition Close Date]) else Date.EndOfMonth(Date.From(DateTime.FixedLocalNow()))TeamCanada26__
4 years agoFrequent Visitor
Thank you!