Skip to main content

hi there,

Please help. I'm attaching the screenshot. in that i called parameter called time day selection in that instead of last 7days i want start of the week (i.e,sunday,Monday) and instead of last 30 days  i want month(jan,feb,march).can some one please help. i'm not getting any idea.

Instead of 7days i want start of the week and instead of 30 days i want month like(jan,feb,mar,april)

i want current week and current month means when i select instead of last 7 days it has to show current week which start  either from sunday or monday and instead of last 30 days it has to take current month means if the month have 31 days it has to show from start 1st  of the month to that current date instead of last month data.

1 réponse
  1. 2 oct. 2019, 11:21

    Hi Suresh,

     

    The conditions would be as follows:

    // Current Week

    DATEDIFF('week', [Interval TimeStamp], TODAY(), 'monday' ) = 0

    // Current Month

    DATEDIFF('month', [Interval TimeStamp], TODAY() ) = 0

     

    Yours,

    Yuri