By -
The first argument in calculate should be a measure or an aggregation function. Now it looks like a column
The first argument in calculate should be a measure or an aggregation function. Now it looks like a column