Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6082 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.