Right align 'Sum' label

Would someone be able to help me by explaining how I can right-align the ‘Sum’ label that appears at the bottom of a table? I used a template when building the table so am not sure how they got the 1st ‘Sum’ label to go right, but when I added a new column the label is left-aligned and I’m not sure how to change it?

2023-01-21_12-56-51

What are your column types for those two columns?

The column types are ‘currency’