How to show total count on default launch or changing the filter in report
We have report definition on our work table which as almost 3M records. We have exposed this report to manager with some criteria.We have added customfilter criteria section in report definition. Wrote custom activity which will Call Rule-Obj-Report-Definition.pxShowReport OOTB activity to launch the report definition. We have invoked custom activity in open url in window control. So would like to show the total count available on initial load or when user apply filter to hide export excel option. Do we have any simple way to find total count of records.
Comments
Keep up to date on this post and subscribe to comments
Hi Deva,
Will the pxResultCount property in pyReportContentPage satisfy your need?
Regards,
Mahesh M
- reply
If you might have enabled the pagination in the report definition then you can use pyReportContentPage.pxTotalResultCount property.
- reply
Hello Deva,
This property pxTotalResultcount is fetching 0 when pagination is not enabled, if enabled showing X*10 where X is the page size
In Report Viewer Paging Settings use Page Mode as Next Previous or Drop down instead of Numeric then the value in pxTotalResultcount will give correct results.
Attaching image for clear understanding.
Regards,
Shanthini Charles
- reply
So based on the above explanation this seems to be an issue for the Page mode of type Numeric in the pagination settings, may be Deva can spin off SR if you are specifically using Page mode of type Numeric and other 2 options don't satisfy your need.
- reply
Hello Shanthini_Charles,
Can we have the same functionality for a Data Page that reads from report definition?
Currently the data page is always fetching 0 for the value of pxTotalResultcount.
Thanks,
Mariane
- reply
- How to show total count on default launch or changing the filter in data page
- Not getting correct "Grand Total" count for all columns from report.
- Total records count feature in report definition
- Set default filtering for past two years counting from current date
- In all the reports we have "Clear Filter" button. Can we change its function to--"When we click on Clear Filter button all filters should be removed and no data should be displayed in the reports". This is our requirement. Can we do this?