Problem using Insertion Type=Rows in Xcelsius 2008
I am currently trying to use the Enable Drill-down feature in a bar chart. In this, I am trying to enable the drill-down for one of the series and am following the steps as below:
1. Select Series
2. Select Insertion Type = Rows
3. Assign the source data fields range
4. Select the destination row column combination
I have configured the population of destination row on Mouse Over event of chart.
When I preview the chart, it populates all the columns for the destination row but one column does not get populated. The column has a text data type.
Can someone urgently advise why I might be getting this issue? Thanks in advance...
sincerely,
Bhrugu
exactly what "text area" are you referring to? a chart has Title, Subtitle, Cateogry X Axis, Category Y Axis, and Labels.
OR
do you mean that you have added a "Input Text Area" component on the chart? if so you can just link it to that particular cell. it might be a good idea to also use dynamic visibility.
note: a text area component can only link to 1 cell. not a range of cells.
Similar Messages
-
Problem with inserting a row in the current table
I am working on Html editor using swings.
actually i am trying to insert a row using
private void insertTableRow(int cols)
StringBuffer sRow = new StringBuffer();
sRow.append("<TR>");
for(int i = 0; i < cols; i++)
sRow.append("<TD></TD>");
sRow.append("</TR>");
//System.out.println(sRow);
int caretPos = jtpMain.getCaretPosition();
System.out.println(caretPos);
ActionEvent actionEvent = new ActionEvent(jtpMain, 0, "insertTableRow");
//System.out.println("raju" +sRow.toString());
new HTMLEditorKit.InsertHTMLTextAction("insertTableRow", sRow.toString(), HTML.Tag.TABLE, HTML.Tag.TR).actionPerformed(actionEvent);
refreshOnUpdate(); // optional refresh code
}this is performing well when the cursor is at the last cell
of the row.But now working ,when the cursor in the remaining cells it gives in correct table.
pls any one can helpYou probably have to first search your text for a <TR> tag to insert rows above, (place your new row text infront of the tag), or search for a </TR> tag to insert rows below, (place new row text after the tag). Otherwise you will be inserting the row in the middle of a cell.
Jerome. -
Error using percentile excel function in Xcelsius 2008 5.3.0
Hi everybody.
I'm doing an Xcelsius Dashboard and I need to show a percentile value in a line graphic component.
Even I've read that "percentile" Excel function is supported by Xcelsius (Xcelsius 2008 SP3 User Guide), I get an error when trying to preview SWF.
This is the error:
"Incompatible Excel Function".
Anybody knows what's happening?
My Xcelsius version is:
Xcelsius Enterprise 5.3.0.0
Compilation 12,3,0,670
(Spanish)
Thanks in advance.I had a similar experience with formula Weeknum. I had the Dutch Excel version installed and used the Dutch version of the formula, it did not work same message. Then I tried the formula in English, of course Excel could not execute it, BUT Xcelsius did work fine.
So I guess you have the Spanish Excel installed also, try both languages. -
Problem using insert statement....?
I am facing problem while using insert statement.
It is not updating the database table though the same code is working very well on another server.
Please tell what could be the problem.......?Hi Vijendra ,
You need to check few parameters while creating the table
1. Table Manitainance
2.Buffering
Also , as per you , if ur insert statement is working perfectly fine in another serve..
, it is highlt possible that table created has 'mandt ' filed , which means this table is client dependent.
Also , another reason is that , you may not this table at all in the new server .
So , check onall thiese parameters.
Ihope this solves ur problem.
Regards.
Note: Rewad if useful -
Inserting a row in a schema-based xml type column
i have problems while inserting a row in a schema-based xml type column
it reports an error(schema and elemnt do not match)
although they are matching if anyone can try it
and if it worked plz send me the exampleSQL> DESC XML_TAB;
Name Null? Type
XML XMLTYPE
SQL> INSERT INTO XML_TAB
2 VALUES
3 (xmltype('<request>
4 <filter>(extshortname=bhagat)</filter>
5 <attributes>dn</attributes>
6 <context/>
7 <scope>subtree</scope>
8 </request>'));
1 row created.
If your problem persists,post ur lines of code..
Good luck!!!
Bhagat -
Accordion menu problem xcelsius 2008 SP3
Hi all
When i try and use the accordion menu in xcelsius 2008 SP3 i get the following screen and unable to edit any of details in the normal way.
[http://img251.imageshack.us/img251/7374/acct.jpg]
can anyone help with this issue??
thanks,
LeeHi Lee
Do you have any Add-Ons installed which could be conflicting with the accordion menu?
Thanks
Charles -
Problem in inserting data into MySQL table
Hi All,
I have a table with just two fields FIRSTNAME and SECONDNAME in MySQL. I am accepting the First Name and Second Name in two text fields and then trying to insert them into the MySQL table. I have set the concurrency of the rowset to CONCUR_UPDATABLE and am using the code clip for Database row insert with the appropriate changes. When I run the application it doesnt give me any errors but the data is also not inserted in the table. Can someone pls help me out.
Loneliness wins the race :-)This is my problem when inserting single row. What does it means ?
MusicInsert: com.mysql.jdbc.NotUpdatable: Result Set not updatable.This result set must come from a statement that was created with a result set type of ResultSet.CONCUR_UPDATABLE, the query must select only one table, and must select all primary keys from that table. See the JDBC 2.1 API Specification, section 5.6 for more details -
Xcelsius 2008 Enterprise Chart Visualization Options - Sparkline Anyone?
While Crystal Xcelsius certain has an awesomeness factor, there seems to be a limitation when it comes to the variety of data visualization charting options available to use. If this product is supposed to be the "de-facto" dashboarding tool offered by BusinessObjects post the SAP acquisition, one would think they would make an effort to enhance the product to include the same level of dashboarding options as were previously available through older products recently phased out. For example, the variety of chart types to use is quite limited in Xcelsius 2008, whereas, Dashboard Manager, previously offered as part of the Business Objects Enterprise solution stack (XI R2 & R3), was much richer in terms of available charting types offered when constructing a dashboard, covering a host of business relevant subject and measurement areas within the concept of a catalogue of related objects. Crystal Xcelsius 2008 is the replacement offering, and holds its own for other reasons, like the interactive visualization of data, which no one can compete with in this space. However, with its limited charting options, it seems from reading the dev library and BOB-board that SAP/BusinessObjects is advising folks to create their own add-ons, i.e. their own charts which can be deployed and used as templates, thus, solving the problem. For those of us who are non-germane code writers in their day to day work, this option is not viable as it requires a modicum of software development practice to write Xcelsius add-on packages, much like the experience of using QWAAS which is comparable to ASP.NET coding vs. making the data connectivity to the dashboards from data feed types like a Universe or a relational database.
Having vetted my frustration, here is my ask...I would like to create a sparkline chart in Xcelsius -- I have a copy if you want to see what I am trying to describe, the image, just an example which I found on the web. The presentation of this chart type has a very "Xcesius-y" look and Feel to me so I thought I would ask the group a) interest in a topic thread on this forum related to sharing Xcesius add-on or related Source code files in an effort to maintain a sense of helpful product exploitation ala the Apple Apps open source platform concept. I need help with the Sparkline sooner rather than later so any help is greatly appreciated.Have you seen the spakeline add-in by Donald?
http://xcomponents.blogspot.com/ -
Can we have our own map component in Xcelsius 2008 ?
Can anyone help me how to use our own MAP in Xcelsius 2008.
For an example, i would like to use the map of India duly marked for its states also.
Thanks in advance.
BaaRaa.Hi,
You can download the Add-On from this link and use it.
http://www.reportex.co.uk/xc_maps.html
Regards,
Senthil k -
How to insert a row in UDO of type document with document line using DIAPI
Does somebody knows if there is a way to insert a new row in a UDO of type document and document lines using the DI API?
I tried it by using <i>oCompany.UserTables.Item( "PMX_DOC" )</i> but this was not working.
Thanks for the help.
Regards,
JeffreyWe have to insert the row in a server process so it is not possible to use the UIAPI.
I wanted to do it by writing SQL statements to do the insert/update/deletes but it seems that we are not allowed to do this if you want to certify your addon. Does somebody knows how we can get an addon certified but also updating our own UDO using DIAPI?
Thanks.
Regards,
Jeffrey -
ODI - SCD Type 2 - Insert new row error
Hi All,
For Dimension I have a surrogate key, a natural key, and a column with "overwrite on change", start_date, end_date, current_record_ind. When I run the interface with the default SCD Type 2 for SQl server, this runs fine. But when I change that one column from "overwrite on change" to "insert new row", it fails on the update step. What should I be looking for anf fixing.
Thanks for your time and help.DB: SQL Server 2008.
IKM = IKM MSSQL Slowly Changing Dimension
Error Message: ODI-1228 - Incorrect syntax near the keyword from.
Code: update T
set
from database.dbo.Dim_type as T,
database.dbo.I$_Dim_type as S
where T.Cd = S.Cd
and T.Current_rec_ind = 1
and IND_UPDATE = 'U'
To overcome the issue, I have commented the update code in the Knowledge module and the insert works, but for this one it is ok, but I have requirements where one column needs to be overwritten and other column changes will require to add a new record. How to handle both?
Thanks for your time. -
How to insert multiple rows in a single shot using insert command?
Hi,
If we insert one row, we can use "insert into" command. I want to insert multiple rows into the table in a single shot. Is there any SQL command for insert multiple rows into the table?
Plese give the solution.
Thanks,
chelladuraiIf you would like to do it with SQL, this would be one of the ways to achive it:
SQL*Plus: Release 10.2.0.4.0 - Production on Fri Sep 25 10:12:59 2009
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, Data Mining and Real Application Testing options
SQL>
SQL> desc leap
Name Null? Type
FIRST_PRICE NUMBER(16,6)
NEXT_PRICE NUMBER(16,6)
SQL>
SQL> select * from leap;
no rows selected
SQL>
SQL>
SQL> !vi multirow_insert.sql
SQL> !cat multirow_insert.sql
insert into leap(first_price, next_price) values (1,2);
insert into leap(first_price, next_price) values (3,4);
insert into leap(first_price, next_price) values (5,6);
SQL>
SQL> @multirow_insert.sql
1 row created.
1 row created.
1 row created.
SQL> commit;
Commit complete.
SQL>
SQL>
SQL> select * from leap;
FIRST_PRICE NEXT_PRICE
1 2
3 4
5 6
SQL> -
Error inserting a row into a table with identity column using cfgrid on change
I got an error on trying to insert a row into a table with identity column using cfgrid on change see below
also i would like to use cfstoreproc instead of cfquery but which argument i need to pass and how to use it usually i use stored procedure
update table (xxx,xxx,xxx)
values (uu,uuu,uu)
My component
<!--- Edit a Media Type --->
<cffunction name="cfn_MediaType_Update" access="remote">
<cfargument name="gridaction" type="string" required="yes">
<cfargument name="gridrow" type="struct" required="yes">
<cfargument name="gridchanged" type="struct" required="yes">
<!--- Local variables --->
<cfset var colname="">
<cfset var value="">
<!--- Process gridaction --->
<cfswitch expression="#ARGUMENTS.gridaction#">
<!--- Process updates --->
<cfcase value="U">
<!--- Get column name and value --->
<cfset colname=StructKeyList(ARGUMENTS.gridchanged)>
<cfset value=ARGUMENTS.gridchanged[colname]>
<!--- Perform actual update --->
<cfquery datasource="#application.dsn#">
UPDATE SP.MediaType
SET #colname# = '#value#'
WHERE MediaTypeID = #ARGUMENTS.gridrow.MediaTypeID#
</cfquery>
</cfcase>
<!--- Process deletes --->
<cfcase value="D">
<!--- Perform actual delete --->
<cfquery datasource="#application.dsn#">
update SP.MediaType
set Deleted=1
WHERE MediaTypeID = #ARGUMENTS.gridrow.MediaTypeID#
</cfquery>
</cfcase>
<cfcase value="I">
<!--- Get column name and value --->
<cfset colname=StructKeyList(ARGUMENTS.gridchanged)>
<cfset value=ARGUMENTS.gridchanged[colname]>
<!--- Perform actual update --->
<cfquery datasource="#application.dsn#">
insert into SP.MediaType (#colname#)
Values ('#value#')
</cfquery>
</cfcase>
</cfswitch>
</cffunction>
my table
mediatype:
mediatypeid primary key,identity
mediatypename
my code is
<cfform method="post" name="GridExampleForm">
<cfgrid format="html" name="grid_Tables2" pagesize="3" selectmode="edit" width="800px"
delete="yes"
insert="yes"
bind="cfc:sp3.testing.MediaType.cfn_MediaType_All
({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection})"
onchange="cfc:sp3.testing.MediaType.cfn_MediaType_Update({cfgridaction},
{cfgridrow},
{cfgridchanged})">
<cfgridcolumn name="MediaTypeID" header="ID" display="no"/>
<cfgridcolumn name="MediaTypeName" header="Media Type" />
</cfgrid>
</cfform>
on insert I get the following error message ajax logging error message
http: Error invoking xxxxxxx/MediaType.cfc : Element '' is undefined in a CFML structure referenced as part of an expression.
{"gridaction":"I","gridrow":{"MEDIATYPEID":"","MEDIATYPENAME":"uuuuuu","CFGRIDROWINDEX":4} ,"gridchanged":{}}
ThanksIs this with the Travel database or another database?
If it's another database then make sure your columns
allow nulls. To check this in the Server Navigator, expand
your DataSource down to the column.
Select the column and view the Is Nullable property
in the Property Sheet
If still no luck, check out a tutorial, like Performing Inserts, ...
http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/index.jsp
John -
How to use record type for inserting data into a table
I've read through the web the following tip:
"When working with a large number of columns, using variables of type RECORD is a better approach. With this approach, you do not have to list anything in the INSERT statement, because you are inserting a variable into the table that is defined as a row from the same table."
I usually define a variable as
r_mytable mytable%ROWTYPE;
and inside my procedure I'll set the fields I need as
r_mytable.field1 := 1;
r_mytable.field3 := 7;
and then I perform the insert as
insert into mytable
(field1,
field3)
values
(r_mytable.field1,
r_mytable.field3);
According to the tip I've copied above, how can I use the TYPE RECORD of pl/sql for achieving the same result but perhaps in a smarter way?
Thanks in advance!Hi,
Are you looking for this?
SQL> create table table1 (id number, descr varchar2(30));
Table created
SQL>
SQL> DECLARE
2 my_rec table1%rowtype;
3 BEGIN
4 my_rec.id := 1;
5 my_rec.descr := 'TEST';
6 insert into table1 values my_rec;
7 END;
8 /
PL/SQL procedure successfully completed
SQL> select * from table1;
ID DESCR
1 TESTWorks with UPDATE too :
SQL> DECLARE
2 my_rec table1%rowtype;
3 BEGIN
4 my_rec.id := 2;
5 my_rec.descr := 'TEST2';
6 update table1 set row = my_rec where id = 1;
7 END;
8 /
PL/SQL procedure successfully completed
SQL> select * from table1;
ID DESCR
2 TEST2 -
Insert problem using a SELECT from table with a index by function TRUNC
I came across this problem when trying to insert from a select statement, the select returns the correct results however when trying to insert the results into a table, the results differ. I have found a work around by forcing an order by on the select, but surely this is an Oracle bug as how can the select statements value differ from the insert?
Platform: Windows Server 2008 R2
Oracle 11.2.3 Enterprise edition
(I have not tried to replicate this on other versions)
Here are the scripts to create the two tables and source data:
CREATE TABLE source_data
ID NUMBER(2),
COUNT_DATE DATE
CREATE INDEX IN_SOURCE_DATA ON SOURCE_DATA (TRUNC(count_date, 'MM'));
INSERT INTO source_data VALUES (1, TO_DATE('20120101', 'YYYYMMDD'));
INSERT INTO source_data VALUES (1, TO_DATE('20120102', 'YYYYMMDD'));
INSERT INTO source_data VALUES (1, TO_DATE('20120103', 'YYYYMMDD'));
INSERT INTO source_data VALUES (1, TO_DATE('20120201', 'YYYYMMDD'));
INSERT INTO source_data VALUES (1, TO_DATE('20120202', 'YYYYMMDD'));
INSERT INTO source_data VALUES (1, TO_DATE('20120203', 'YYYYMMDD'));
INSERT INTO source_data VALUES (1, TO_DATE('20120301', 'YYYYMMDD'));
INSERT INTO source_data VALUES (1, TO_DATE('20120302', 'YYYYMMDD'));
INSERT INTO source_data VALUES (1, TO_DATE('20120303', 'YYYYMMDD'));
CREATE TABLE result_data
ID NUMBER(2),
COUNT_DATE DATE
);Now run the select statement:
SELECT id, TRUNC(count_date, 'MM')
FROM source_data
GROUP BY id, TRUNC(count_date, 'MM')You should get the following:
1 2012/02/01
1 2012/03/01
1 2012/01/01Now insert into the results table:
INSERT INTO result_data
SELECT id, TRUNC(count_date, 'MM')
FROM source_data
GROUP BY id, TRUNC(count_date, 'MM');Select from that table and you get:
1 2012/03/01
1 2012/03/01
1 2012/03/01The most recent month is repeated for each row.
Truncate your table and insert with the following statement and the results should now be correct:
INSERT INTO result_data
SELECT id, TRUNC(count_date, 'MM')
FROM source_data
GROUP BY id, TRUNC(count_date, 'MM')
ORDER BY 1, 2;If anyone has encountered this behavior before could you please let me know, I can't see that I am making a mistake as the selects results are correct they should not differ from what is being inserted.
Edited by: user11285442 on May 13, 2013 5:16 AM
Edited by: user11285442 on May 13, 2013 6:15 AMHi,
welcome to the forum. I cannot reproduce the same behavior.
Could you please post the SQLPlus output while executing all commands, like it has been done by S10390?
Also post the output of the following command:
SELECT * FROM v$version;When you put some code or output please enclose it between two lines starting with {noformat}{noformat}
i.e.:
{noformat}{noformat}
SELECT ...
{noformat}{noformat}
Formatted code is easier to read.
Regards.
Al
Maybe you are looking for
-
When in mail i would like to move my emails to a different folder on mail account other than the inbox, sent and trash options, can i create a new folder?
-
I want to upgrade discoverer from 10.1.2.0 to 10.1.2.2 with the patch p4960210_10122_WINNT. But aftering patching, the discoverer plus can't work, and it reports 'lost connection the discoverer', and can't open the worksheet. The OS is windows 2003 s
-
Declaration of constant errors
I'm having a bit of a problem here. I just changed my variables into constants, and I'm getting errors on it. I can't pin point the problem can someone help me out. public class MazeException extends Exception final String message; final Thro
-
Password for AdvancedPlanning.rpd
Does some have the repository password for AdvancedPlanning.rpd for VCP 12.1.3 version? can you please share? Thanks
-
Covesion from sap scripts to smart forms
hi everybody I want covert from sap scripts to smartform,There are already develoepd scipts in my development system.my requirement is to covert to smartfomr,how can we do that.. Regards madhoo