Hi specialist,
I want to returning the month of each date to filter. So that I need some example.
Etc (MONTH(TransDate)).
Will appreciate your inputs.
Thanks.
:Hi,
You should take a look at SysComputedColumn class, since it contains the methods that will help you in this implementation.
You can simply create a new computed column on your view, add a method to it, and add the following code inside it:
public static str myViewMethod() { return 'MONTH(' SysComputedColumn::returnField(viewstr(yourView), identifierStr(yourViewDatasource), fieldStr(yourView, yourViewDate)) ')'; }
Then assign your method to the 'View Method' property on your newly created computed column.
Hope this answers your question.
You're great!
Its worked for me. :) Many thanks.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CA Neeraj Kumar 1,922
André Arnaud de Cal... 835 Super User 2025 Season 2