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]Create Parameter Groups for Measures

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Create Parameter Groups for Measures
 Login/Join
 
Member
posted
hi There,

i'm working with AppStudio and building a Report and try to generate a Parameter Group for an InfoApp / HTML Composer.


now i'm trying to create a Parameter Group for Measures. there are 3 measures generated on the master Data File - defines (not Compute).

My questsion: i know that it doesn't work for Computes, but it seems that it don't work for Defines to. Is this correct
or is there a way to build a paremeter Group with defines?

thx and best regards

PS: i used Google, and also the Forum search and Forum advanced search. didn't find a proper answer

This message has been edited. Last edited by: <Emily McAllister>,


WebFocus 8.1
SP 0.5
 
Posts: 11 | Registered: August 02, 2016Report This Post
Expert
posted Hide Post
Jack,

Add the columns to your report (existing, computes or defines, it should make no difference) and then click the first one within the canvas, hold ctrl key and click the subsequent columns.

Go to the data tab and click the down arrow next to "Generate Parameter Group". Opt to create one parameter for all fields and you should have your group within your report.

When referencing within HTML composer, the default control for these is a double listbox.

Good luck.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Member
posted Hide Post
hi Tony,

thx for your Reply. in fact, that's what i tried. Adding columns to the Report, click with CTRL on every columns (3 of it), go to de Data Tab.

But, the "Generate Parameter Group" is Grey and it is not possible to do that.

I have done already some Parameter Groups with dimensions - this works perfectly and also included as Listbox or double listbox in HTML Composer.

But with Measures (Defines) this doesn't work.

Is there any other adjustment i Need to make maybe on the Master Data File?

thx and Kind regards
Jack

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


WebFocus 8.1
SP 0.5
 
Posts: 11 | Registered: August 02, 2016Report This Post
Expert
posted Hide Post
Hi Alain,

Works OK for me in WF 8.1.05. I created the following code within App Studio GUI with no issues
DEFINE FILE GGSALES
  FIELD1/D12.2c = DOLLARS;
  FIELD2/D12.2c = DOLLARS / BUDDOLLARS;
  FIELD3/D12.2c = BUDDOLLARS;
END
TABLE FILE GGSALES
SUM 
     &RP_FN03S_Sum3.(AND(<FIELD1,GGSALES.SALES01.FIELD1>,<FIELD2,GGSALES.SALES01.FIELD2>,<FIELD3,GGSALES.SALES01.FIELD3>)).Please select sum field(s).
BY  GGSALES.SALES01.PRODUCT
BY  GGSALES.SALES01.REGION
ON TABLE SET ONFIELD IGNORE
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = endeflt,
$
ENDSTYLE
END

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Member
posted Hide Post
hi Tony,

thx for help.

now i see that it is not a Define, it's a Compute field. On Master Data File it's a different Symbol - anyway.

i thaugt with compute fields you can't do a Parameter Group. am i wrong? Can you probaly test it? with my computes it doesn't work.


WebFocus 8.1
SP 0.5
 
Posts: 11 | Registered: August 02, 2016Report This Post
Expert
posted Hide Post
quote:
with compute fields you can't do a Parameter Group

Correct, but you could look into adding these fields as COMPUTEs within your synonym.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Member
posted Hide Post
ok, then my Information was correct.

what do you mean by "adding compute Fields within your Synonym"?

I have there 3 Compute Fields on a Synonym as "CNT.DST.CustomerNumber" an 2 similar ones. Is there more i can do on the Synonym?

should i create a own Variable on the Synonym for those 3 Computes?


WebFocus 8.1
SP 0.5
 
Posts: 11 | Registered: August 02, 2016Report This Post
Expert
posted Hide Post
Hi Alain,

This is a good resource for looking for syntax etc. A quick search on COMPUTE and the second item in the list gives this link

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Member
posted Hide Post
thx for link, but i have already those three computes in my synonym.

the Problem is the same:

is it possible to do a Group Paramter for Computes in AppStudio Reports? the 3 computes are already in the synonym


WebFocus 8.1
SP 0.5
 
Posts: 11 | Registered: August 02, 2016Report 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]Create Parameter Groups for Measures

Copyright © 1996-2020 Information Builders