Skip to content
Advertisement

Tableau calculated field : i’m trying to create calculated field in tableau

i’m trying to create calculated field in tableau, my query is below:

i’m getting error saying cannot mix agreegate and non agreegate comparison.

Final objective is to divide with revenue column .

Please help

Advertisement

Answer

It appears that your numerator is a sum (an aggregation) but your denominator is not. Try dividing by: / sum(FLOAT([Revenue]))

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement