Forum Discussion

chudson002's avatar
chudson002
Brass Contributor
Dec 17, 2021

ICON VISIBILITY

Good Day Community,

Have an icon that needs to be visible if two conditions are met in the gallery.

The below code does "not" show any errors in the formula bar, only on the gallery item.

If(ThisItem.Division = "Sales" && ThisItem.Days > 145, true, false)

Recommendations?

V/R

chudson002

 

  • Figured it out, just needed to switch.
    If(ThisItem.Days > 145 && ThisItem.Division.Value = "Sales", true, false)
  • chudson002's avatar
    chudson002
    Brass Contributor
    Figured it out, just needed to switch.
    If(ThisItem.Days > 145 && ThisItem.Division.Value = "Sales", true, false)
    • reinerknudsen's avatar
      reinerknudsen
      Copper Contributor
      I don’t think it is the order. It rather is the „.value“ for ThisItem.Division which makes the difference

Resources