Ad Widget

Collapse

Using "if" in calculated item.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mhoop
    Junior Member
    • Nov 2016
    • 7

    #1

    Using "if" in calculated item.

    I have a master/slave server pair that will have a count when either is active. I am capturing the count as ServerA_Count and ServerB_Count. that is working. I want to display only the count on the master server. I have a boolean ServerA_Master/ServerB_Master telling me which is active.

    for a calculated item is there a way to do something similar to pseudo code below?

    if (ServerA_Master)
    then
    Display_count = ServerA_Count
    else
    Display_count = ServerB_Count
    endif

    thanks
Working...