Virtual Column returns zero with formula

Hey guys, Iโ€™m a new user on Appsheet and would like some help using a Virtual Column with a simple formula.

Iโ€™ve created a VC called โ€œTarget %โ€ that is the result of [column A] / [column B] and the result should return a percentage.

The formula is pretty simple: =[Sales] / [Target], and the result would return 98%, for exemplo. But some reason I donโ€™t understand yet, the result keeps coming back as zero. 3X_9_f_9f166d736122d815c54917649e5e3382de5a04b8.png

Anyone could give me some light in what Iโ€™m doing wrong?

0 2 483
  • UX
2 REPLIES 2

Try:

1.0 * [Sales] / [Target]

In order to force decimal division instead of integer division.

Steve
Platinum 4
Platinum 4
Top Labels in this Space