If LINKTOFILTEREDVIEW has zero rows do something else

akash1
New Member

Hi, I have this expression entered in an action right now.

LINKTOFILTEREDVIEW(โ€œLISTโ€, [Badge ID] = SUBSTITUTE([_thisrow].[Scanner],โ€œINDโ€,""))

What I am trying to achive is change the table if the count of filtered row is zero. In other words if there is no data to display change the view.

If above thing is not possible is there a way to create alert boxes with buttons?

where user can come to know that there is not data and when he clicks the button he is taken to other Filtered View.

Thanks

0 1 151
1 REPLY 1

Sure, use an IF() in your target expression.

IF( COUNT( SELECT( ...) ) = 0,
    LINKTOVIEW(...) ,
    LINKTOFILTEREDVIEW(...)
)
Top Labels in this Space