Create a parameter with payment 1 & payment 2 and use sheet selector trick in Tableau. It should resolve your issue.
Please use the below mentioned link for your reference.
Can you post a workbook, or at least some dummy data on a spreadsheet?
Create Parameter like below (I just used profit/sales as example)
Then create calculated field
if [Measure Select]="Profit" then [Profit]
elseif [Measure Select]="Sales" then [Sales]
Put this field to appropriate field.
Tableau_Sample_SS_data_SM_9.2.twbx 282.8 KB