I am trying to create custom column in a table whose source is postgres. using the formula: case([Dispute Status] ="won",Sum([Refund Amount])) where [Dispute Status] is text field and [Refund Amount] is numeric but getting below error
Invalid query: {:query {:aggregation [[nil [nil [[nil ["valid instance of one of these MBQL clauses: :expression, :field"]]]]]]}}.