- This topic has 1 reply, 1 voice, and was last updated 4 years, 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Tableau Desktop › tableau-error-cannot-mix-aggregate-non-aggregate
For my use case Create calculated fields to show the value of 1stLast Month , If I try to create the Formula it would be difference between the Current Month and the Maximum Month that we have When using Calculated Field — Error drop down shows – “Cannot Mix Aggregate and Non Aggregate
We get this error because we are trying to do calculation at Different Level of Details. In order to fix this
“Cannot Mix Aggregate and Non Aggregate “ , we will have to use the LOD function. LOD is a very important & interesting topic and you can visit my LOD Knowledge Material to Understand it more , but as a quick fix for this error , what you need to do is put the
aggregate function inside curly braces i.e. the Max() function that we use should be inside the curly braces . Read the https://www.technicaljockey.com/tableau-training-consultant/tableau-error-cannot-mix-aggregate-non-aggregate/
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.