Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Error on accessing a drill down report with an embed function

SA-61852

Summary



Error occurs while accessing a drill down report with an embed function. However, the summary details display correctly.


Error Messages



An error occured on executing the query for the report definition - There was a problem getting a list: code: -440 SQLState: 42884 Message: No authorized routine named "DISTINCT" of type "FUNCTION" having compatible arguments was found.. SQLCODE=-440, SQLSTATE=42884, DRIVER=3.58.81


Steps to Reproduce

  1. Log in to the application
  2. Run the summary report which has a drill down report
  3. Click any cell or row in a column. The drill down results in an error


Root Cause



A defect in Pegasystems’ code or rules. Pega does not support the 'remove duplicate columns' functionality for summary reports.

The DISTINCT key word can only be used with SELECT and not in a query like below:


DISTINCT (CASE WHEN ( ( ({4} = 'RNR') OR ({4} = 'PRN') ) AND TIMESTAMPDIFF(16,CHAR(CURRENT TIMESTAMP - {3})) >=0 AND TIMESTAMPDIFF(16,CHAR(CURRENT TIMESTAMP - {3})) <= 5) OR ({4} = 'CLM' AND ( 
("PC0".InitialClaimAge)>=0 AND 
("PC0".InitialClaimAge) <= 5) 
) THEN {5} END) 



Resolution

An enhancement request, FDBK-27487, has been created for consideration by Pega Product Management. 

 

 

Published July 27, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us