Forum Discussion

db042190's avatar
db042190
Icon for Impactful Individual rankImpactful Individual
1 year ago
Solved

having trouble with previousday function

Hi pls see below a dax expression thta isnt working for me.   I'd like to avoid vars as i dont use them.   my first attempt at this expressio involved passig Today() to PREVIOUSDAY.  I got the sense ...
  • FBergamaschi's avatar
    1 year ago

    Replace PREVIOUSDAY ( DATEVALUE ( TODAY () ) ) with TODAY () - 1

     

    If this helped, please consider giving kudos and mark as a solution

    me in replies or I'll lose your thread

    consider voting this Power BI idea

    Francesco Bergamaschi

    MBA, M.Eng, M.Econ, Professor of BI