A Virtual Column set to TYPE=Text always returns NaN

hi,
looks like this:


formula is this:
LOOKUP([STAFF MEMBER], โ€œSTAFF LISTโ€, โ€œE-Mail Addressโ€, โ€œDATE STARTโ€)
where DATE START is concatenated text from another Date column in STAFF LIST
but it always displays like this:

when (deleted and) created TYPE is always Number and I change to Text.

I have other APPS with VCโ€™s that calculate from columns in the same table they are in,
but this time i need to read from another table in the APP, is this the reason it fails?

cheers,
Mike

0 7 759
7 REPLIES 7

an update, team.

i moved the formula iโ€™m trying to get to stop desplaying NaN:
LOOKUP([STAFF MEMBER], โ€œSTAFF LISTโ€, โ€œE-Mail Addressโ€, โ€œDATE STARTโ€)
to a Text TYPE column in the table, as opposed to Virtual,
and still get the same error!

column โ€œDATE STARTโ€ in table โ€œSTAFF LISTโ€ is Text Format and static values like:
Mon 11/11/2019

stumped!

And further,

if i change my formula to read another text column like this:
LOOKUP([STAFF MEMBER], โ€œSTAFF LISTโ€, โ€œE-Mail Addressโ€, โ€œDATE STARTโ€)
it works fine

apologies for the typo:

And further,

if i change my formula to read another text column like this:
LOOKUP([STAFF MEMBER], โ€œSTAFF LISTโ€, โ€œE-Mail Addressโ€, โ€œLOCATIONโ€)
it works fine

Interesting,

in the Columns definition,
if i move my formula from INITIAL VALUE and put it in FORMULA,
or viceversa
the TYPE changes automatically from Text to Number. ?
so i am forced to change it to Txt.

just to test, i changed the TYPE to Date, and it gave this error:
The expression is valid but its result type โ€˜Numberโ€™ is not one of the expected types: Date
so, the LOOKUP yields a number result from a text columnโ€ฆ

back to TYPE Text, even this fails with NaN:
CONCATENATE(" ",LOOKUP([STAFF MEMBER], โ€œSTAFF LISTโ€, โ€œE-Mail Addressโ€, โ€œDATE STARTโ€))

!?

Please try to use LOOKUP([_THISROW].[STAFF MEMBER],โ€œSTAFF LISTโ€,โ€œE-Mail Addressโ€,โ€œDATE STARTโ€)

I'm having a variation on this problem. 

When I'm viewing the record in the form, it shows the text field's normal value (in this case, a "K"). When I edit the record in the form, it changes to NaN. 

No idea what's going on here. 

Please start a new topic for help with this.

Top Labels in this Space