Forum Discussion

Jennifer786's avatar
Jennifer786
Frequent Visitor
4 years ago
Solved

Conditional Column: IF Statement with column values embedded in result text

Hi all   I've scoured the web but can't find an answer for this. Is anyone able to point me in the right direction?   Im trying to create a custom column with the following logic:   Table.AddCo...
  • BA_Pete's avatar
    BA_Pete
    4 years ago

    Jennifer786 ,

     

    No problem, thought I'd ask 🙂

     

    I think the column formula you want is something like this:

    if [Opened vs 1st Time Recorded] < 0 then
    Text.Combine({"The timesheet indicates... ", Text.From(Date.From([TimeDate])), " prior to...", Text.From(Date.From([OpenDate])), " by ", Text.From([Opened vs 1st Time Recorded]), ". Confirm..."})
    else null

     

    Pete