Filter last data and send as excel attachment

I need to filter data by column and get Maximum value for the same. Iโ€™m enter the following code to the excel sheet.

<<Start:Filter
(โ€œMaster DBโ€,
AND(
[Creare Proposal?]=โ€œYโ€,
ANY(
TOP(
SORT(Master DB[Timestamp], TRUE)
, 1)
)
)
)

<<_RowNumber>>

Appsheet had encountered following error.

Failed: Action not performed because 2 errors are present. Error: Workflow rule โ€˜Prep Proposal dataโ€™ action 'Pulling proposal data โ€™ Attachment template. Expression โ€˜Filter (โ€œMaster DBโ€,AND([Create Proposal?]=โ€œYโ€,ANY(TOP(SORT(Master DB[Timestamp],TRUE),1))))โ€™ is invalid due to: Condition AND(([Create Proposal?] = โ€œYโ€), ANY(TOP(SORT(MASTER DB[Timestamp],โ€œTRUEโ€),1))) has an invalid structure: subexpressions must be Yes/No conditions. Error: Workflow rule โ€˜Prep Proposal dataโ€™ action 'Pulling proposal data โ€™ Attachment template. Start expression โ€˜Filter (โ€œMaster DBโ€,AND([Create Proposal?]=โ€œYโ€,ANY(TOP(SORT(Master DB[Timestamp],TRUE),1))))โ€™ should generate a List of Ref values. Please verify that it generates a List and that the contents of the List are Ref values. Ref values should come from the โ€˜Keyโ€™ column of the referenced tableโ€ฆ

2X_f_f26d5f9030c73dc01df81d93350c37f4db38d7d5.png

Solved Solved
0 4 374
1 ACCEPTED SOLUTION

Try:

<<Start: LIST(
  MAXROW(
    โ€œMaster DBโ€,
    "Timestamp",
    [Create Proposal?]
  )
)>>

View solution in original post

4 REPLIES 4

Steve
Platinum 4
Platinum 4

What is this supposed to do?

ANY(
TOP(
SORT(Master DB[Timestamp], TRUE)
, 1)
)

I only need the Last one or current one.

Try:

<<Start: LIST(
  MAXROW(
    โ€œMaster DBโ€,
    "Timestamp",
    [Create Proposal?]
  )
)>>

It is help to solve the problem. Thank you

Top Labels in this Space