Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

formula condition on summary field in sub-summary


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

Recommended Posts

Posted

I'm trying to put a conditional format on fields in a sub-summary layout part.

The condition is a 'formula' condition.

The formula tests whether a summary field (count of records being summarized) = 1.

FM does not apply the conditional formatting.

Is this a limitation of the conditional formatting?

Posted

Doesn't seem to work.

The formula I tried looks like:

getsummary(<>,<>)

The 'breakField' is the 4th (lowest) level in a sort. The condition is not applied

The field I'm trying to apply the condition to is in a report sub-summary section. Does that make a difference?

<> displays properly in the sub-summary section. But apparently that value is not used in the conditional format formula??

Posted

<> displays properly in the sub-summary section. But apparently that value is not used in the conditional format formula??

That is correct. Only summary fields themselves respond to their layout placement. If you reference a summary field in a calculation (such as in conditional formatting formula), you have to specify explicitly which one of the many possible summary results you want. The object to which the conditional formatting is applied is irrelevant, what matters is the formula.

It's hard to tell why it doesn't work for you. One possible reason could be that your breakfield is coming from a related TO; GetSummary() doesn't like that. Also make sure that your sub-summary part definition, your sort order and your GetSummary() calc are all using exactly the same breakfield.

This topic is 5793 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.