Forum Discussion

harrinho's avatar
harrinho
Helper III
8 years ago
Solved

Measure based on Today's date

Hi Community,    I have the following calculation but I want to add an extra criterion to calculate this only if today's date is > 3. In other words, bring in the results for the following calculat...
  • v-piga-msft's avatar
    v-piga-msft
    8 years ago

    Hi harrinho,

     

    Based on the syntax of WEEKDAY function, by default the day ranges from 1 (Sunday) to 7 (Saturday).

     

    Syntax : WEEKDAY(<date>, <return_type>)

    <return_type>:

     

    A number that determines the return value:


    Return type: 1, week begins on Sunday (1) and ends on Saturday (7). numbered 1 through 7.

    Return type: 2, week begins on Monday (1) and ends on Sunday (7).

    Return type: 3, week begins on Monday (0) and ends on Sunday (6).numbered 1 through 7.

     

    For your scenario, your return type could be 1.

     

    Best Regards,

    Cherry