Using REMOVEFILTERS in DAX user defined functions

How to implement a DAX function that removes filter-keep column filters from a calendar, using REMOVEFILTERS as the return value of the function.