How to assign row selected action to different rows in deck view?

Hello. I can assign row selected action in a deck view as u can see below. But each row directs to the same action. I want each row to behave as another action(LINKTOVIEW). When you touch each row on the view below, i want the app to take u different views.

Appsheet2

Use a conditional expression in the action’s Target setting to choose the target according of the row selected:

SWITCH(
  [Name],
  "Pointage",
    LINKTOVIEW("Pointage"),
  "Daily Control View",
    LINKTOVIEW("Daily Control View"),
  "Monthly Control View",
    LINKTOVIEW("Monthly Control View"),
  ""
)

See also: