Forum Discussion

Ocasio27's avatar
Ocasio27
Iron Contributor
Jul 06, 2020
Solved

Power Query 5 days ago rule

In the conditional column, I want to create a rule that, if a column value is less than 5 days ago, then the value should be "pending"
  • SergeiBaklan's avatar
    SergeiBaklan
    Jul 06, 2020

    Ocasio27 

    Conditional column is only subset of custom columns with user interface to generate if ... then ... else

    Anyway, you already have some statement with fixed date. Stay on step where this formula was generated (or use Advanced editor) and change concrete date which is in form #date(2020,7,2) or so, on

    Date.From(Date.AddDays(DateTime.LocalNow(),-5))

     

Resources