Giuseppe Verardi Posted February 28, 2020 Share Posted February 28, 2020 Good morning, I need to create following query with a Calculated Value: select avg(result) from ( select abs(sum(A) - sum(B))/sum(A) as result from Table group by C) as t There is a pre-aggregation for A and B, I don't be able to make avg(result) in a Calculated Value, how can I do Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now