mickeyfinn Posted May 29, 2008 Posted May 29, 2008 I have the following calculation to express a percentage in a cross-tab report: GetSummary ( Crosstab value Summary ; Breakfield ) / GetSummary ( Total values Summary ; Breakfield ) I have had to use a calculation to express the summary because using a fraction summary field does not work when the numerator of the fraction is a crosstab result and the denominator is a subtotal (unless someone here knows better). The problem is that often the Total Values Summary will equal 0 when sorted by the Breakfield and this gives me a calc error (I get a ? result). I did this to solve the problem: Case ( GetSummary ( Total Values Summary ; Customer ) ≠ 0 or "" ; GetSummary ( Crosstab value Summary ; Breakfield ) / GetSummary ( Total Values Summary ; Breakfield ) ; 0 ) Is there a better way to achieve this?
Recommended Posts
This topic is 6082 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now