Loading...

Qlist view webpart – Calculated column

Qlist view webpart – Calculated column

Home Forums QuickApps Forum Qlist view webpart – Calculated column

  • This topic is empty.
Viewing 1 reply thread
  • Author
    Posts
    • #4191
      Anonymous
      Anonymous
      Participant

      Hi Friends

      I have two columns in the list, X & Y

      Need to display the column value based on the below condition 

      Condition if the value of x is > 0 then dispaly Y or else display x

      how to implement this in the  calculated value ..

      provide sample code to achieve this

      Thanks

      Dhinesh

    • #5199
      Anonymous
      Anonymous
      Participant

      Hello Dhinesh,

      Please try to apply the following formula to your calculated column:

      =IF([Column_x]>0, [Column_y], [Column_x])

      The page (http://msdn.microsoft.com/en-us/library/bb862071.aspx) will provide you more info for Calculated Field Formulas.

      Hope this helps,

      John

Viewing 1 reply thread

You must be logged in to reply to this topic.