Skip to main content

Hi community, I am facing issue in calculation. On selecting time Period and Interval of time period filters it should give me Jan'24 - Jun'24.but its not entering into if and elseif part its going directly to else statement.i have rechecked the Time Period and Interval of time values but i am unable to get it as Jan'24-Jun'24

could you help me with this calculation

2 réponses
  1. 27 août 2024, 12:47

    @Diksha Joshi​ Hi Diksha

     

    One area you could look into is having a bracket to enclose the two or conditions.

     

    AND operation takes priority over OR, so if you do not have a bracket where it is needed, the logic can be different to what you expect.

     

    For example,

     

    If [Condition 1] AND [Condition 2] or [Condition 3]

     

    This is different to

     

    If [Condition 1] AND ([Condition 2] or [Condition 3])

     

    Please give this a try and see if this resolves the issue.

0/9000