But, the next formula I need to apply for a metric (of a graph) with aggr and distinc, does not filter correctly. If I make a selection, the formula does not filter according to that selection. The formula is this:
This suggests putting set on both aggregations (so both SUM statements), with caveats on testing & how to work out if inner/outer/both is actually the right thing to do.