Forum Discussion

Vitor_sp_bo's avatar
Vitor_sp_bo
Helper I
4 years ago
Solved

Recurrence Product

Guys, all right? I have a dataset with 2 columns (Product Code, Date), I need to map the products that are recurring for example (today() and today()-1), the big problem is that I have 1 date per li...
  • speedramps's avatar
    4 years ago

    Please consider this solution and click the thumbs up icon just for me taking the effort to helping you, and click accept the solutioin if it fixes your problem. Cheers !

     

    Reoccurs =
    var mydate = SELECTEDVALUE('Table'[Date])
    var prevdate = mydate - 1
    RETURN
    CALCULATE(
    COUNTROWS('Table'),
    'Table'[Date] = prevdate
    )