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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Variable NODATA
 Login/Join
 
Guru
posted
Hi all,

In one of my reports I want to create different type's of NODATA depending on it's ACROSS value.

I tried SET NODATA = IF ACROSSFIELD EQ 'A' THEN 'N/A' ELSE '0';

But that didn't seem to work. I also tried it with a compute, but since there is no data to compute WF doesn't execute the compute statement on NODATA.

Is there a way to manipulate the NODATA field?


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 454 | Location: Europe | Registered: February 05, 2007Report This Post
Virtuoso
posted Hide Post
Frans

What you want is to display alpha fields as 'N/A' and numeric fields as 0 (zero) is that correct?




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Guru
posted Hide Post
Hi Frank,

No in the report there are different type of alpha across value's. I've combined 3 reports with MORE and added a across value (a method you mentioned sometime before).

Now there is an across part where there are Yes/No value's and there is an across part which has some numbers. (all fields are alphanumeric)

So for the part with Yes / No value I want 'No' for NODATA and for the rest '0'.


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 454 | Location: Europe | Registered: February 05, 2007Report This Post
Virtuoso
posted Hide Post
So depending on the hold file you want it to become 'NO' or '0'

I think you can say

ON TABLE SET NODATA No

So then this is done in the part of the fex that creates that specific hold file.

In the next part you say

ON TABLE SET NODATA 0

see this

https://forums.informationbuilders.com/eve/forums/a/tpc/...451036602#8451036602




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Master
posted Hide Post
You could always use a define and redefine the field check to see if the value is missing or what ever you want and then if it is numeric and to what you can set it to zero, if alpha then you can set it to 'N/A'. I know this is a manual process but it should give you what you want.




Scott

 
Posts: 865 | Registered: May 24, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders