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/
This website uses cookies to improve your experience. By continuing to use the site, you are agreeing to our use of cookies AcceptRejectRead More
Privacy & Cookies Policy
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
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.