function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
data.migration1.3948976100296348E12data.migration1.3948976100296348E12 

Custom Report Data Wrong

Hi,

This is logic, here only change logic 


if((Assignment.Effective_Date__c == null && Assignment.Deactivation_Date__c != null) && Assignment.Deactivation_Date__c > EndDatesMap.get(MonthKey))
                                continue;
                    else if((Assignment.Effective_Date__c != null && Assignment.Deactivation_Date__c == null) && Assignment.Effective_Date__c <= EndDatesMap.get(MonthKey))
                                continue;
                    else if((Assignment.Effective_Date__c == null && Assignment.Deactivation_Date__c ==null) || (Assignment.Effective_Date__c<=EndDatesMap.get(MonthKey) && Assignment.Deactivation_Date__c > EndDatesMap.get(MonthKey)) || (Assignment.Effective_Date__c == null && Assignment.Deactivation_Date__c > EndDatesMap.get(MonthKey)) || (Assignment.Deactivation_Date__c == null && Assignment.Effective_Date__c <= EndDatesMap.get(MonthKey)))
Ramu_SFDCRamu_SFDC
Can you please elaborate your issue and provide some more details of what you are expecting and what are the actual results.
data.migration1.3948976100296348E12data.migration1.3948976100296348E12
Hi Ramu,
Here i am selecting custom report from month 'JAN' to month 'JAN' it's working fine showing 160 records.
now am selecting from month 'JAN' to month 'APR' it's showing JAN month '0' records

month rage is max four months.