Question
Bank Sinarmas
ID
Last activity: 7 Apr 2025 9:38 EDT
Optimized table column filter doesn't show list of values when using .pyTextValue
Hi,
We are encountering an issue when applying a filter to a column in an optimized table. The list of values for the field does not appear in the filter pop-up (screenshot attached). We are using .pyTextValue() as the column value since a function is applied to the column in the Report Definition (RD). This issue only occurs for one specific column, while filters for other columns using .pyTextValue work correctly (UPDATE: It only works for .pyTextValue(1), other indexes are getting the same error).
The following error was captured in the tracer:
Section 'pzGetGridColUniqueValues' execution error on page '' of class 'Embed-FilterColumn':
The reference .pyTextValue(2) is not valid. Accessing invalid index 2 whereas the list has 0 elements from Requestor: null.
Has anyone encountered a similar issue or have any insights into a possible solution?
Thank you.
@IchsanM16625601
Please see the suggestion given on our MSP GenAI Buddy:
⚠ This is a GenAI-powered tool. All generated answers require validation against the provided references.
Based on the error you shared ("The reference .pyTextValue(2) is not valid. Accessing invalid index 2 whereas the list has 0 elements from Requestor: null"), there appears to be two interrelated issues occurring:
@IchsanM16625601
Please see the suggestion given on our MSP GenAI Buddy:
⚠ This is a GenAI-powered tool. All generated answers require validation against the provided references.
Based on the error you shared ("The reference .pyTextValue(2) is not valid. Accessing invalid index 2 whereas the list has 0 elements from Requestor: null"), there appears to be two interrelated issues occurring:
The section 'pzGetGridColUniqueValues' that's generating the error is responsible for populating the filter dropdown with unique values from the column. When it encounters .pyTextValue() with indexes other than (1), it appears to be unable to process the values correctly.
Possible solutions:
References: