I am setting up a report to send an email to [Manifest Email] in table Service Location when the value of column [Service Format] is โOn Callโ. The expression I am plugging into the โtoโ field of the report email is:
SELECT(Service Location[Manifest Email], ([Service Format] = โOn Callโ), TRUE)
However the expression builder says this formula is not evaluated in the context of a row so column values are not available. Since [Service Format] is a column will this work? The expression builder says it is successful but the message says it wonโt work. A but confused. Thanks.
Solved! Go to Solution.
A little confusing I can agree, but what itโs intending to say is you canโt use values from a โcurrent row.โ
When I say โcurrent rowโ what I mean is like when youโre making an app formula, that formula is evaluated with the ability to use values from a specific row using the [_thisrow] command.
What this error is saying is that the formula you put in wonโt be able to make use of this command, everything used in the formula needs to be universal - like what youโve got in your formula.
SELECT(Service Location[Manifest Email], ([Service Format] = โOn Callโ), TRUE)
Thereโs no [_thisrow] and youโre not using any values from a specific column; youโre saying that you want emails from the Location table where the [Service Format] column (in the table youโre pulling from) is equal to โOn Callโ - and itโs perfectly fine to do this.
(FYI: your formula would NOT work like this)
SELECT(Service Location[Manifest Email], ([Service Format] = [_thisrow].[Service Format]), TRUE)
Granted, it seems that wouldnโt work in the spirit of your formula anyways, but Iโm trying to illustrate a point; hope I got it accross.
A little confusing I can agree, but what itโs intending to say is you canโt use values from a โcurrent row.โ
When I say โcurrent rowโ what I mean is like when youโre making an app formula, that formula is evaluated with the ability to use values from a specific row using the [_thisrow] command.
What this error is saying is that the formula you put in wonโt be able to make use of this command, everything used in the formula needs to be universal - like what youโve got in your formula.
SELECT(Service Location[Manifest Email], ([Service Format] = โOn Callโ), TRUE)
Thereโs no [_thisrow] and youโre not using any values from a specific column; youโre saying that you want emails from the Location table where the [Service Format] column (in the table youโre pulling from) is equal to โOn Callโ - and itโs perfectly fine to do this.
(FYI: your formula would NOT work like this)
SELECT(Service Location[Manifest Email], ([Service Format] = [_thisrow].[Service Format]), TRUE)
Granted, it seems that wouldnโt work in the spirit of your formula anyways, but Iโm trying to illustrate a point; hope I got it accross.
Ah, thank you.
User | Count |
---|---|
37 | |
30 | |
29 | |
20 | |
18 |