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     [CLOSED] How to make a Total applied on a condition Field

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] How to make a Total applied on a condition Field
 Login/Join
 
Member
posted
Hello everybody im a new user in Webfocus and i have some blocking case :

Is there a way to display a total based on the value of a field in a column that have two possible value (Format of value is Alphanumeric) in order to have two TOTAL :

Total (Condition 1 Value1), Total (Condition 2 Value2) ??

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 8.0
 
Posts: 28 | Registered: April 28, 2014Report This Post
<Kathryn Henning>
posted
Hi Abdess,

Welcome to Focal Point!

In InfoAssist, are you calculating these conditions as a DEFINE or a COMPUTE, or are these data values?

Regards,

Kathryn
 
Report This Post
<Kathryn Henning>
posted
Hi Abdess,

I just wanted to follow up with you on this topic. In order to better understand your requirement and how your data is structured, could you please let us know where the value of the field is coming from?

Thanks and regards,

Kathryn
 
Report This Post
Member
posted Hide Post
Hello,

here is an exemple :
 

DEFINE FILE CAR
EUROPE/I2=IF COUNTRY EQ 'ENGLAND' OR 'FRANCE' OR 'ITALY' OR 'W GERMANY' THEN 1 ELSE 0;
OTHER/I2=IF COUNTRY EQ 'JAPAN' THEN 1 ELSE 0;
CHAMP1/A1=' ';
END
TABLE FILE CAR
PRINT 
     MODEL
     SALES
BY  LOWEST CHAMP1
BY  LOWEST COUNTRY
BY  LOWEST CAR
     
ON CHAMP1 SUBFOOT WITHIN 
"Global Model count : <CNT.CAR"
"EMEA Area <TOT.EUROPE - Other Area <TOT.OTHER"
ON TABLE SET PAGE-NUM NOLEAD 
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = endeflt,
$
ENDSTYLE
END

 



I add CHAMP1 in order to use the SUBFOOT in order to use PREFIXES ( CNT or TOT )

Rgds,


8207, Windows 2016 64b, HTML, AHTML, PDF, EXL07...
 
Posts: 27 | Location: Suresnes | Registered: August 26, 2010Report 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     [CLOSED] How to make a Total applied on a condition Field

Copyright © 1996-2020 Information Builders