Forum Discussion
Marc_Kim
Sep 26, 2023Copper Contributor
How can get a value of the first row according to filter selection?
Hi all, I would like to get first row of text every time I filter row. e.g. when Update Period selected 2023-06, then capture the first row# 22. when Update Period selected 2023-07, then ca...
Patrick2788
Sep 26, 2023Silver Contributor
A 365 solution.
=LET(
VisibleOnly, LAMBDA(element, IF(SUBTOTAL(3, element) = 1, element, "")),
visible, MAP(Table1, VisibleOnly),
filtered, FILTER(visible, TAKE(visible, , 1) <> ""),
TAKE(filtered, 1)
)