Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
9 years ago
Solved

Multiple if conditions

Hi 

I have a requirement that, if the value of Agieng(count in days) below 15 then  i have to give the ageing bucket(new column) as 0-15, if the value greater than 15 and less than or equal to 30 then 16-30 and if the value greater than 30 i have to give it as >30, i am not able to write multiple if conditions in conditional column in edit query. So can anyone help me on this.

 

Thanks

  • Hi Anonymous,

     

    What I would suggest is to go into the Query Editor and then create a Conditional Column. In doing that it is a lot easier to create your requirments.

     

    Then that will load it into your data model available for you to use it?

5 Replies

  • Baskar's avatar
    Baskar
    Resident Rockstar

    Cool Dude,

     

     

    Switch ( True(),

    Agieng < 15 , "0-15",

    AND( Agieng >= 15 ,Agieng <= 30,  "15-30",

    etc........

     )

     

     

    Let me know if any help futher 

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thanks Baskar

       I have already got the logic, thanks for ur valuable reply

  • Hi Anonymous,

     

    What I would suggest is to go into the Query Editor and then create a Conditional Column. In doing that it is a lot easier to create your requirments.

     

    Then that will load it into your data model available for you to use it?