Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

I cannot find ANY help with what proper references to use for this. If my report has only one column to the matrix (first screenshot), the following Formula works to product percentages per row in the one column. If I have MORE than one column, it produces the data based on ALL columns (100% for the entire table, not per column). Can someone guide me on how to adjust the formula to work "per column" so each column totals 100%?

Formula:

RowCount / PARENTGROUPVAL( RowCount, ROW_GRAND_SUMMARY, COLUMN_GRAND_SUMMARY)

Screen 1 = one column, no problem: No problem

Screen 2 = problem: Problem

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Had to reference the correct column variable in the function to make it work:

Originally THIS

RowCount / PARENTGROUPVAL( RowCount, ROW_GRAND_SUMMARY, **COLUMN_GRAND_SUMMARY**)

now becomes THIS

RowCount / PARENTGROUPVAL(RowCount, ROW_GRAND_SUMMARY, **CLOSE_DATE**)

This gives 100% totals per column instead of only at the Summary.

share|improve this answer
    
Unbelievably, over a year later, this is a problem yet again. I cannot fathom how to get the FIELD NAME that it expects, apparently. The Column field is "PB UTP Summary (Client)". I've tried every iteration of the underscored version of it I can think of - it won't parse. >:-( PB_UTP_Summary_Client, and various others. With and without __c. With parentheses. (sigh) –  AMM May 8 at 20:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.