Added option inlines for each group
Hello
< A1 >
< B1 >
ABC < C1 > < / C1 >
def < C2 > < / C2 >
< C3 > 123 < / C3 >
< / B1 >
< B1 >
ABC < C1 > < / C1 >
def < C2 > < / C2 >
< C3 > 456 < / C3 >
< / B1 >
< / A1 >
From the example I show o/p as above: 123 456 and here I have to add a condition to check also the empty spaces. So I tried two solutions below.
= PlanA:
<? for-each@inlines:C3? > <? ? >
<? xdoxslt:IfElse ((position () = last (), ",",")? >
<? end foreach? >
(1) with above approach I'm not able to check the empty spaces! output can be shown as: 123 456
OR
= Plan B:
<? for-each-group: B1; / C3 >
<? C3? >
<? If @:(C3='') rank? > <? xdoxslt:IfElse ((position () = last (), ",",")? >
<? end if? >
<? end for each group -? >
With above approach am able to check the empty spaces, but the output is coming up as below.
123
,
456
(2) then how can I show this in a single line. ?
Thank you
Rajesh
Can be?
.???>
Tags: Business Intelligence
Similar Questions
-
Adding namespace in the tag for each group
I want to use the substring method in tag for each group.
Like this: <? for-each - group: current - group (); xdofx:substr(xmlTag,3)? >, but it does not work. How to make it work?
Thank you.Just use the native method of substring XSL - http://www.zvon.org/xxl/XSLTreference/Output/function_substring.html
BEEP is sensitive when you mix native and OPE methods
Tim
-
Table row with loop for each group to set the variable.
HI: There is probably a simple answer for this, but I don't the have not found...
I have a single row table to move through a group to set a variable containing a sum running. I'm not display the amount in the table but when I saw the report, I see that the table is expanding (add lines) for each loop.
The only line table has 3 columns.
1st column
<? for-each: AC_GROUP? >
2nd column
<? xdoxslt:set_variable ($_XDOCTX, 'xAmtVar', xdoxslt:get_variable($_XDOCTX,'xAmtVar') + CURRENT_AMOUNT)? >
3rd column
<? end foreach? >
Can I use <? for each group? > or something else. My requirement is to set the value of the variable with the total running, but because the loop is adding lines for each value he travels (though not displayed), it's also affecting other areas of the presentation of the page.
Hope it makes sense. Thanks in advance.You can do it many ways.
No need to loop
You can create a variable and specify the amount of the sum directly to that.or
loop through, then add as you do.
give any space or enter characters in a word between them, just put it in a single form field will be
But as I said, I'd definitely go with the first option.
-
For each / group of... problem... Update
Hey Rainer, Pradeep... in addition to our previous thread of for - each group by number... I have another request...
Here is update XML
< root >
< target-cult index = "3" >
< fm-objective index removable = "1" = "true" >
value of < 01 > fm-obj-name < / fm-obj-name >
< fm-obj-prop-key > aa < / fm-obj-prop-key >
< value-obj-prop-fm > 44 < / fm-obj-prop-value >
BB < fm-obj-prop-key > < / fm-obj-prop-key >
< value-obj-prop-fm > 2 < / fm-obj-prop-value >
weight < fm-obj-prop-key > < / fm-obj-prop-key >
< value-obj-prop-fm > 20.0 < / fm-obj-prop-value >
< / fm-goal >
< fm-objective index '2' = removable = "true" >
value of < 02 > fm-obj-name < / fm-obj-name >
WW < fm-obj-prop-key > < / fm-obj-prop-key >
< value-obj-prop-fm > 11 < / fm-obj-prop-value >
RR < fm-obj-prop-key > < / fm-obj-prop-key >
< value-obj-prop-fm > 24 < / fm-obj-prop-value >
weight < fm-obj-prop-key > < / fm-obj-prop-key >
< value-obj-prop-fm > 23.0 < / fm-obj-prop-value >
< / fm-goal >
< / goal-cult >
< target-cult index = "9" >
< fm-objective index = "1" >
value of < 22 > fm-obj-name < / fm-obj-name >
TT < fm-obj-prop-key > < / fm-obj-prop-key >
< value-obj-prop-fm > 111 < / fm-obj-prop-value >
qw < fm-obj-prop-key > < / fm-obj-prop-key >
< fm-obj-prop-value > 24q < / fm-obj-prop-value >
weight < fm-obj-prop-key > < / fm-obj-prop-key >
< value-obj-prop-fm > 25.0 < / fm-obj-prop-value >
< / fm-goal >
< fm-objective index = "2" >
value of < 22 > fm-obj-name < / fm-obj-name >
wwew < fm-obj-prop-key > < / fm-obj-prop-key >
< value-obj-prop-fm > 1122 < / fm-obj-prop-value >
rrre < fm-obj-prop-key > < / fm-obj-prop-key >
< value-obj-prop-fm > 2443 < / fm-obj-prop-value >
weight < fm-obj-prop-key > < / fm-obj-prop-key >
< value-obj-prop-fm > 123,0 < / fm-obj-prop-value >
< / fm-goal >
< fm-objective index = "3" >
value of < 23 > fm-obj-name < / fm-obj-name >
wwqq < fm-obj-prop-key > < / fm-obj-prop-key >
< value-obj-prop-fm > 121 < / fm-obj-prop-value >
tyrr < fm-obj-prop-key > < / fm-obj-prop-key >
< value-obj-prop-fm > 2334 < / fm-obj-prop-value >
weight < fm-obj-prop-key > < / fm-obj-prop-key >
< value-obj-prop-fm > 623.0 < / fm-obj-prop-value >
< / fm-goal >
< / goal-cult >
< / root >
How do I recover weight < fm-obj-prop-key > value < fm-obj-prop > - immediate < / fm-obj-prop-key >.
I mean, the result should be like this...
01-20, 0 value
02-23, 0 value
22-25, 0 value
22-123, 0 value
value 23-623, 0
I added foreach for < name-obj-fm >... we discussed earlier... now to it add to WEIGHT...
Kind regards
Amit desrousseaux
Persistent systems Lts.Well the test becomes hard with each correct answer... :)
Table
-- -----< position()="last()" should="" be="" in="" sqr="">
Edited by: PradeepS on November 11, 2008 16:28
-
How to assign the ID of group for each group in the SQL query.
Hi all
I want to assign the ID of group for each group (group ID of series). I tried with the row_number function but did not work for my requiredment. Here is my sample data and my requirement.
Col1 A A A A A B C D D D D E E E F G G G I want to get number of each column with ID group assign to it value. Here is my example output
Col1 County Group ID A 5 1 A 5 1 A 5 1 A 5 1 A 5 1 B 1 2 C 1 3 D 4 4 D 4 4 D 4 4 D 4 4 E 3 5 E 3 5 E 3 5 F 1 6 G 3 7 G 3 7 G 3 7 Select col1, count (1) NTC (col1 partition).
ROW_NUMBER() over (partition by col1 by col1 order) tbl_test grp_id.
Please help me solve this problem.
SELECT
COL1,
COUNT (*) ON MYCOUNT (COL1 PARTITION).
DENSE_RANK () OVER (ORDER BY COL1) GROUPID
Of
T1;
-
Export the configuration information for each group
How to export the configuration information for each group? (I want to see the information that this group has read or write access to the cube XXXXX)
By LCM, I was able to export information on groups and users. But no information about its commissioning. can any body tell me how can I get the configuration of shared services information
We have a utility to do this, or can we get this information using LCM?
Any information about him will be useful
Thank you
The commissioning is under Application groups > Foundation > Shared Services > native Directory > assigned roles > then choose the product / app
There is a utility command line available if you want to automate the process of execution of export - Oracle Hyperion Enterprise Performance Management System Lifecycle Management Guide, you create the definition of migration file but which can be done by running an export.
See you soon
John
-
Error using nested for each group - in Oracle XSLT
Hello everyone. Thank you for taking the time to post this thread.
I created a XSLT transformation that runs on oxygen, but does not work in Oracle.
Given this XML-
< country >
< info enum = "CTRY" name = 'United States' States-total = "50" / >
< enum = 'ST' index info = '0' sname = "New York" population = "8 244 910" / >
< enum = 'ST' index info = '0' sname = "Chicago" population = "2 707 120" / >
< info enum = "CTRY" name = 'Germany' States-total = "16" / >
< enum = 'ST' index info = '1' sname = population "Berlin" = "3 469 910" / >
< enum = 'ST' index info = '1' sname = population "Brandenburg" = "2 500 000" / >
< / country >
Work of XSLT in the oxygen-
< xsl: template match = "/" >
< country >
[< xsl: for each group-select = "" countries / * ' group-starting-with="info[@enum='CTRY"] ">"
< CountryInfo >
< xsl: Call-template name = "ctry" / >
< / CountryInfo >
< / xsl: for each group->
< / country >
< / xsl: template >
< xsl: template name = "ctry" >
< name > country: < xsl: value-of select="@name"/ > < / name >
districts of <>< xsl: value-of select="@total-states"/ > < / districts >
< xsl: for each group-select = "current - group ()" group-by="@index" >
< xsl: Call-template name = "States" / >
< / xsl: for each group->
< / xsl: template >
< xsl: template name = "States" >
< name of xsl: variable = "index" select="@index"/ >
States <>
< xsl: for each select = "current - group ()" >
< name >
< xsl: value-of select="@sname"/ >
< / name >
< / xsl: foreach >
< / states >
< / xsl: template >
I get the desired oxygen - result
< country >
< CountryInfo >
< name > country: United States of America < / name >
< > 50 districts < / districts >
States <>
< name > New York < / name >
< name > Chicago < / name >
< / states >
< / CountryInfo >
< CountryInfo >
< name > country: Germany < / name >
< > 16 districts < / districts >
States <>
< name > Berlin < / name >
Brandenburg < name > < / name >
< / states >
< / CountryInfo >
< / country >
In a transformation of Oracle, I get an error "cannot perform XPath expression. I have narrowed down the cause of the error. The error is caused by
the nested for each group - using 'current - group ().'
< xsl: for each group-select = "current - group ()" group-by="@index" >
< xsl: Call-template name = "States" / >
< / xsl: for each group->
Oracle does not throw an error if I use ' Country/info' instead of 'current - group ()', but this does not produce the desired result
because he needs to be grouped by "@index."
Does anyone know why my XSLT does not work in a transformation from Oracle?oracleistheway wrote:
Does anyone know why my XSLT does not work in a transformation from Oracle?What do you mean by "transform Oracle?
If you are referring to the integrated database XSLT processor available through XMLTransform or DBMS_XSLProcessor API, it does not support XSLT 2.0, 1.0 only.
If you use the XDK Java (oracle.xml.parser.v2) Please give the exact version.
-
How to get all the records for each group - double
Hi all
I have developed customized reports, I have a three for each group, the first group is for PO number and the second is for line number Po and the third is for activity ID.
Today the third group is based on the activity ID.
Some time the activity id is unique and other data are different. If at this time its settlement only one record.
For example
Date of activity Id
1 25 - Jan
1 26 - Jan
Its single record display.
Can someone tell me how to avoid this separate for each group.
Thanks and greetings
Srikkanth.MAs another user said, delete syntax regroup.
Why do you bring here? -
using for each group to combine the 2 data lines
My xml file has the following in it:
-< AC_DEDUCTIONS >
voluntary deductions < ELEMENT_CLASSIFICATION > < / ELEMENT_CLASSIFICATION >
< ELEMENT_TYPE_ID > 3475 < / ELEMENT_TYPE_ID >
< PRIMARY_BALANCE > 498500 < / PRIMARY_BALANCE >
< PROCESSING_PRIORITY > 5750 < / PROCESSING_PRIORITY >
< CURRENT_AMOUNT > 26.22 < / CURRENT_AMOUNT >
< YTD_AMOUNT > 26.22 < / YTD_AMOUNT >
< REPORTING_NAME > Opt life Emp < / REPORTING_NAME >
< ATTRIBUTE_NAME / >
< RATE_MUL / >
< DISPLAY_NAME > Opt life Emp < / DISPLAY_NAME >
< / AC_DEDUCTIONS >
-< AC_DEDUCTIONS >
voluntary deductions < ELEMENT_CLASSIFICATION > < / ELEMENT_CLASSIFICATION >
< ELEMENT_TYPE_ID > 1181 < / ELEMENT_TYPE_ID >
< PRIMARY_BALANCE > 3511 < / PRIMARY_BALANCE >
< PROCESSING_PRIORITY > 5750 < / PROCESSING_PRIORITY >
< CURRENT_AMOUNT > 0 < / CURRENT_AMOUNT >
< YTD_AMOUNT > 474.95 < / YTD_AMOUNT >
< REPORTING_NAME > Opt life Emp < / REPORTING_NAME >
< ATTRIBUTE_NAME / >
< RATE_MUL / >
< DISPLAY_NAME > Opt life Emp < / DISPLAY_NAME >
< / AC_DEDUCTIONS >
Rather than having my exit needle 2 rows of data:
current name amount CDA amount
Opt life Emp 26.22 26.22
Opt life Emp 0 474.95
I'd like to see 1 row with the total amount:
Opt life Emp 26.22 501.17
How can I use for each group - in my rtf to achieve? Any help is greatly appreciated.
Thank you.
SusieI know what model you have copied :), I was there, when they created that
It's yours:
1 text form field-<><=19]?>
2 text form field-
3 text form field-
4 text form field-
5 text form field-change to:
Text Form Field 1 - Text Form Field 2 - Text Form Field 3 - Text Form Field 4 - Text Form Field 5 -
-
How to give rownumber for each group
Hai All
I use the function group to separate and in this group, I need to give rownumber to each departure of members of Group 1 and when a group is on the needs in number to start new 1
For example
There are 3 Department and it is separated by the function of group by Department and here I need to give the line number. And the line number must be separated for each group
Thanks and greetings
Srikkanth.MHow about using...
ROW_NUMBER() OVER (partition by GROUP order by X)
If this is not the case, how about post you some sample data and the output you want from these data.
In addition, your version of Oracle
select * from v$version;
-
Hi all
I have a static label on every row, and I use for each group of extraction of values for each row.
Sometimes, while I have no value in XML for a specific line. When this happens the line of this static label will not appear in the preview.
Is it possible to display this line of static label even its value were not observed in the XML file.
Thanks in advance.I received several emails, don't know, the one who first ;)
Just replied with model with fix: name of the Group coded hard and zero values, even if this isn't on the xml data
-
Top N for each grouping?
Is there a way to show results for each group of OBIEE in N?
I want to display the amounts of 10 albums for each region at my table. If you are using a Top N filter, it returns the results of set Top N I tried to create a pivot table dynamic and using of 'Région' as the delimiter section, but he got the same results. It is only 10 total quantities, and I want to see 10 amounts for each region.
KevinYep,
Use the statement:
TOPN ('F1 income'. "" Recipes 1-01 (after all) ", 10"market D2. ("" M01 Market ")concerning
John
http://obiee101.blogspot.com/ -
Separate filter for EACH group of repeat
I need to test and do not remove unique lines for the item
/ DATA/LIST_FIT_CONTRACT/FIT_CONTRACT/LIST_FIT_SUBCONTRACT/FIT_SUBCONTRACT/LIST_SUBCONTRACT_RATE_GRID/SUBCONTRACT_RATE_GRID/ROOM_CLASS_CODE
The syntax of the repetition of group is
<? for-each: SUBCONTRACT_RATE_GRID? >
Is there a way to test and do not remove lines lines unqiue for item ROOM_CLASS_CODE?One option is to group the records based on ROOM_CLASS_CODE.
AsNot sure if this is your requirement.
-
Error when adding new subnet for CSM group
Hello
I'm trying to add a new subnet to an existing group in the CSM v4.0.1 b7823 company. When you add a new subnet to the Group (the other elements of the group is a different subnet), CSM emits several errors for each SAA touched:
Description:
BB (GROUPNAME), referenced by the 'Http network' on maps (DEVICENAME) device to multiple network IP addresses!
Cause:
Made http refers to a network object that corresponds to more than one IP address on the device
Action:
Please config the policy with the network object that resolves to a single IP address.
There is an error for ICMP as well. The group is already a /24subnet content, I don't think it's a clear mistake. Has anyone encounter this?
Thank you very much.
Justin
Hi Justin,
what you observe is normal given the way in which we have set up the remote access policy. As you probably know, in cli, you can specify only one rule of access by line for ssh, http, telnet etc...
For example, if you want to allow ssh access to ASA lines host 1.1.1.1 and 2.2.2.2 you put two
SSH 2.2.2.2 255.255.255.255 outside
SSH 1.1.1.1 255.255.255.255 outside
The CSM, we model this two lines as two different object, so the building of network type block object that refers to the object of type ssh access can have only one entry. This behavior is the same for ICMP as well.
Access list is different because we model to the CSM in a different way, plus you can use the object-group put on different networks. It is not possible to access to the device.
I hope that gave you an overview a little more on the reason
Also it would be nice to score this answer if this is the case
Stefano
-
Need of response required for each group of checkboxes before form sends
Hello world
I looked at several postings and none of them seem to give me exactly what I need, so now I write to help you please.
I have a form that contains 25 ranks of issues with groups associated with boxes to answer by the beneficiaries. I need to make a requirement AMONG the boxes are marked for each question before you can submit the form.
See my screen capture below:
For example, in the first orange line all 3 boxes are titled ''PAIN'' with the value of exports of: 'YES', 'No.' and 'I don't know'.
On the second line, all 3 boxes are titled, '1', to export values of: 'YES', 'No.' and 'I don't know'.
Third row and keep just in the same way. Each line will share the same title and have the value of exports, as mentioned above.
Is there a script that I can use so that beneficiaries are required to select 1 case in each group/rank until they will be allowed to submit their form?
Also, if you can provide the script I want to use (if that's the solution), please let me know where you would enter this script (which is - like a mouse point of action, or a paper script, etc.). I'm still learning these steps and need instructions on them.
If necessary, I use Adobe Acrobat 9 Pro
Thanks in advance for anyone who can help!
The script is intended to replace your current order to submit the form.
To specify multiple recipients you can add them to the cTo parameter, delimited by semicolons, like this:
} else this.mailDoc ({cTo:"[email protected]; "}) [email protected]; [email protected]'});
Maybe you are looking for
-
I have simple mobile and before I updated sitting here, I had 3 bars of 4g, after the update I now only get a 3G connection, what happened?
-
Willy Introscope in Windows Server 2008 R2 Instalation problem
I am not able to launch willy introscope setup in windows server 2008 R2? Its a must program for me to install. It is a the latest version .exe file. Whenever I click on this file, nothing happens. I tried to use run as Admin, but it is also useless.
-
When typing in word or e-mail cursor moves randomly to complicate typing. No tablet. Restore points did not help. Is it a hardware problem or software? Remove the battery did not help nor changes of parameters. Are there any simple .
-
Cannot successfully comQosants my computer with Windows updates. I have tried disabling Norton anti-virus and firewall. Jim Eckland
-
In Vista when I hover over the battery icon, it shows plugged in, does not support
When I hover over the battery icon, it shows plugged in, does not support. Why my battery not charging?