# Custom filter for K-Reports

**URL:** <https://community.spicecrm.io/t/custom-filter-for-k-reports/383>\
**Category:** KReporter\
**Created:** [November 12, 2018, 10:10am UTC](https://community.spicecrm.io/t/custom-filter-for-k-reports/383 "2018-11-12T10:10:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hvfibrecrm](https://avatars.discourse-cdn.com/v4/letter/h/73ab20/32.png) [@hvfibrecrm](https://community.spicecrm.io/u/hvfibrecrm)\
**Post date:** [November 12, 2018, 10:10am UTC](https://community.spicecrm.io/t/custom-filter-for-k-reports/383/1 "2018-11-12T10:10:49Z")

</div>

How would you go about filtering a report by this month, next year?

---

<div class="post-metadata">

**Author:** ![maretval](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@maretval](https://community.spicecrm.io/u/maretval)\
**Post date:** [November 14, 2018, 6:42pm UTC](https://community.spicecrm.io/t/custom-filter-for-k-reports/383/2 "2018-11-14T18:42:56Z")

</div>

You’ll need a custom function for that,  
Unfortunately functionality is dead in KReporter 4.x. It will be restored in KReporter 4.4 coming up soon.  
Check documentation to see how to implement  
[https://spicecrm.gitbooks.io/kreporter-4-x/content/advanced/custom-function.html](https://spicecrm.gitbooks.io/kreporter-4-x/content/advanced/custom-function.html)
