How to do a duplicate search?

11146
New Member

I have a table:

Position | Parent position

ZDIR | DIR
RD | ZDIR
NO | RD
MS | NO

I know the position. I need to get a list of all the parent positions. For example, I know the position NO, as a result I should get a list [RD, ZDIR, DIR]. The search procedure is shown in the screenshot https://www.screencast.com/t/EWJwIeNJDg84

The maximum length of the result list is 5.

0 1 226
1 REPLY 1

Hello,

Your โ€œleftโ€ column could refer to your โ€œrightโ€ column using an AppSheet REF. Hereโ€™s an example (unrelated to your question) which letโ€™s you build a hierarchy.

https://www.appsheet.com/samples/Sample-App?appGuidString=7e115b1c-1bb3-464d-9c23-cf54e7795b99

Take a close look at the data as well as the table called โ€œhierarchyโ€.

Hope this helps! -Ty

Top Labels in this Space