I am relatively new to tableau and I am trying to replicate a sumif as a calculated field in tableau. I have seen posts online where you can use SUM(IF [Broker] = "Broker1" then [settleamount] end)
as a way to replicate SUMIFS($Q:$Q, $R:$R = "Broker1")
where Q is the column for settleamount and column R is the broker column.
How would you replicate the following in sumifs in tableau? SUMIFS($Q:$Q, $R:$R = R2)
and then for R3, R4 and each value of column R (I would autofill the formula in excel to populate for all rows).