Jump to content
Changes to the Jaspersoft community edition download ×

I have a question about using the CountDistinct formula in AdHoc report


skyer20032003

Recommended Posts

The usage description for CountDistinct is like CountDistinct("FieldName", 'Level'),

but when I use CountDistinct("EXLAREA_CONCENTRATION_CODE", 'Current'), I get an error saying 'Aggregate expressions are not allowed in fields'."

 

And I have a question about using the CountDistinct formula in AdHoc report.

I want to calculate the distinct count of  'EXLAREA_CONCENTRATION_CODE' where EXLAREA_CONCENTRATION_CODE is not 'GERAL'.

Any help would be greatly appreciated.

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times.
 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...