Volunteers-for-Salesforce
Volunteers-for-Salesforce copied to clipboard
Filter on Volunteer Roster does not work due to custom report type
Thread 1 and 2 (same customer).
Replicated in test org. I believe the challenge is that we changed the custom report type to a WITH or WITHOUT join, and the filter is on the child object. See this Help & Training document, and related blog post. Need to rethink how this report is generated... perhaps with cross filter as recommended?
**lurch: add
Tracking W-018262
am I correct that the report is not working just from the Campaign? when I test invoking the report from a specific Job or Shift, it does seem to provide the correct filtered results.
Right, because you have a specified record filter on a parent record (Shift or Job). The filter on the child object is basically ignored. But if the only thing you're filtering on is the record that is WITH or WITHOUT, the filter will fail.
Try creating a Custom Report Type that's 3 levels and have the final join be 'with at least one record from (B) object' Create a report and filter on any value that's in C object. It will return just those results. Leave that tab open. Then go to the CRT and change the final join to 'with or without related records from (B) object.' Save and return to report you just ran, change nothing, and click Run. You'll get all (B) object records returned that are related to (A).
This is working in Classic, not Lightning, and I believe is related to this similar issue for NPSP: https://github.com/SalesforceFoundation/Cumulus/issues/4018
Works in Classic:
But ignores all filters in Lightning: