Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Count of unique records, in sub footer?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Count of unique records, in sub footer?
 Login/Join
 
Silver Member
posted
Hi,
I am trying to insert a line in my sub-footer that says "25 records for this person" when I have 2 lines for each record in the section.

I can use data aggregation in the form of CNT.DST.RECORDS and get a sum per section, but is it possible to hide that field and put the count of distinct records in the sub footer instead?
I tried using
 <CNT.DST.RECORDS 
in the sub footer but it will not recognize in the footer.

In short: Is there a way to count distinct items in the sub-footer?

This message has been edited. Last edited by: TRue,


InfoAssist only - Version: 7703
Windows 7
Excel and PDF outputs
 
Posts: 34 | Registered: August 30, 2012Report This Post
Member
posted Hide Post
I'm seeing the same behaviour.
 <CNT.Records 
works in the Subfooter, but
<CNT.DST.Records
throws a FOCEXEC error.

My work around was to create a compute field called DSTCount for CNT.DST.Records, and reference that in the subfooter. So
  <DSTCount
seems to work in the Subfooter. You can then hide DSTCount from your main table.


InfoAssist 7.7.3
Windows, All Outputs
 
Posts: 9 | Registered: August 30, 2011Report This Post
Silver Member
posted Hide Post
Ah Compute! Of course I hadn't tried that!
It worked, just had to get past the fog of trying the same thing too many times since I couldn't figure out what would make the define work before asking the question.

Clarification, for anyone reading this later...
-When you create the compute field named DSTCount the formula is CNT.DST.RECORDS (replace RECORDS with whatever your field name is)
-In the sub footer I use the subtotal function as well:
 <ST.DSTCount 
...so that I get the subtotal of the computed DSTCount field for the section, not just the value[s) returned in the body of the report.

Thanks TMoorthy!

This message has been edited. Last edited by: TRue,


InfoAssist only - Version: 7703
Windows 7
Excel and PDF outputs
 
Posts: 34 | Registered: August 30, 2012Report This Post
Member
posted Hide Post
No problem! Glad it worked.


InfoAssist 7.7.3
Windows, All Outputs
 
Posts: 9 | Registered: August 30, 2011Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Count of unique records, in sub footer?

Copyright © 1996-2020 Information Builders