Select Expression

Hi

I have a select statement as follows:

SELECT(
Order List[Customer ID],
AND(
[Work Complete]<>true,
([Site Name]=[_THISROW].[Site Name],true)
)
)

This is under the initial value. But this returns the answers Customer1,Customer1. Does anyone know how to get rid of the second Customer 1.

Thanks

Blake

Solved Solved
0 2 189
1 ACCEPTED SOLUTION

There is an options parameter for Distinct Only. Add the โ€œ, trueโ€ line inserted below

SELECT(
Order List[Customer ID],
AND(
[Work Complete]<>true,
([Site Name]=[_THISROW].[Site Name],true)
)
, true
)

View solution in original post

2 REPLIES 2

There is an options parameter for Distinct Only. Add the โ€œ, trueโ€ line inserted below

SELECT(
Order List[Customer ID],
AND(
[Work Complete]<>true,
([Site Name]=[_THISROW].[Site Name],true)
)
, true
)

Thank you very much. You absolute LEGEND!!!

Top Labels in this Space