Using row id and if statement

Your logic is sound but the row id in the green block is not an integer value. It’s a long text string like “asd3278546$h8k”.

So comparing it to 1 doesn’t work here. I don’t recommend setting up your data source with button text in the first row. I can see how it’s tempting to want to do that so you can use a Data Viewer List. If you remove that and make it a separate button on the screen, this logic will become easier and everything going forward will be easier (rather than trying to deal with the first customer being in the second row, etc.).