8 个回答
Michael Brown (Salesforce) Forum Ambassador
Hi Christopher, Let's try this. On your Membership Object, create 4 number formula fields:
- Current Count
- Expired Count
- Future Count
- Grace Count
Basically, if the Membership is equal to that respective status, the formula would return 1, otherwise 0. For example, here's waht the Current Count would look like:
IF(ISPICKVAL(Status__c,"Current"),1,0)
In your report, you could tthen add these 4 fields to your report and summarize them.
Then, in your reporting snapshot object you could map them as follows:
Current Count [SUM] -> Last Months Current
Expired Count [SUM] -> Last Months Expired
Future Count [SUM] -> Last Months Future
Grace Count [SUM] -> Last Months Grace
That should allow you to get all the data in a single record, but let me know if you encounter any issues.
Thanks,
Mikey