Defining column for chart category values
Problem
I want to produce a chart from a table imported from Excel. The data imported perfectly but since the X axis values (just a series of years) are in a column Numbers appears to treat them as another data series, this situation is compounded by the fact some of data columns are non contiguous.
I've tried creating a new table with just two columns, the labels and values, copied from the original table but the new columns are still treated as two series.
I tried creating a new table with a header column and row. Then tried referencing one of the value cells in the original table for the header column. That produced a copy of the whole row but no category data.
Questions:
Is it possible to define a column as the X axis category labels as you can with Excel charts?
If not then how do you create a set of X axis values/labels with an imported table.
Thanks
RB
I solved the problem by copying each column and pasting it into Numbers.
In this way I was able to put the X axis data into the header column without a problem.
The problem I had must have been caused by opening the excel file with Numbers.
FYI:
I tested this with one column of data and the X values.
Then pasted in the other columns and found that to add the new series to the chart all you have to do is drag the column selection in the table over the newly added columns. Delightfully simple!
Thanks for suggestion.
RB
Similar Messages
-
Extracting unique values from (non-category) columns for chart
Hello:
I've created a worksheet to keep inventory of my Intellivision games. It has the following columns:
Publisher
Class
Network
Title
Quantity
(misc...)
The "Class" represents whether the game is "complete in box" or "loose cartridge." The "Network" represents the general genre or game cateogory. The quantity is how much I have of each.
I have set the first three columns as categories: Publisher, Class, and Network. I also created a bar chart based on the Title and Quantity columns, to show how many I have of each.
The problem I have is that, although it looks real cool and helps me keep the games organized, since a title can appear in more than one "Class" (e.g., I can have one in box, and two loose), the chart includes duplicates, and they are not grouped together.
Is there a way that I can create a graph (or a secondary table) that exctracts only the UNIQUE values from a column that may contain duplicates?
Note that I don't want to put the "Title" column in a category. I want to group by the three major categories and list the games on each.
-dZ.From the Numbers Help Menu, download the Numbers User Guide. Read the first three or four chapters to get a feel for the app. It's well written and won't take long to read that much.
Then use the Table of Contents and the Search tool to get additional specific directions.
First, delete all unneeded Rows and Columns from your data table. If you have patches of data in a larger table, Cut the patches and Paste them to a blank Sheet area to create separate dedicated tables for your various needs. These small special purpose tables are like Named Ranges in Excel. Name them in the Sheets Pane.
This is how Numbers was intended to be used. The User Guide will describe how to reference cells in one table from expressions in another table. If you use the point and click method of creating references from within the equation editor it won't matter a bit that the tables are separate.
Come back here for specific help on anything you are having trouble with.
Jerry -
Trigger SEQ column for every new value of ID it should start from 1
I have
table table_A
(ID NUMBER,
SEQ NUMBER,
DETAIL VARCHAR2(2000))
In this table ID and SEQ are combined primary key
Data looks like
ID SEQ DETAIL
1000 1 COMMENTS1
1000 2 COMMENTS2
1001 1 COMMENTS3
1002 1 COMMENTS4
1002 2 COMMENTS5
1002 3 COMMENTS6
1003 1 COMMENTS7
I have ID as oracle generated seq Number , but I need trigger to generate SEQ column value for every new value of ID it should start from 1This is probably not something you would want to do in a trigger. You would generally be much better off storing ID and detail in the table and generating SEQ in a view, i.e.
CREATE VIEW my_view
AS
SELECT id,
DENSE_RANK() OVER( PARTITION BY id ORDER BY <<something>>) seq,
detail
FROM table_AUnless you can guarantee that only one session will be inserting data at a time, I don't see how you could make a trigger work here.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Query on column with comma separated values
I have a proposed table with unnormalized data like the following:
ID COLA COLB REFLIST
21 xxx zzz 24,25,78,412
22 xxx xxx 21
24 yyy xxx 912,22
25 zzz fff 433,555,22
.. ... ... ...There are 200 million rows. There is maximum of about 10 IDs in the REFLIST, though typically two or three. How could I efficiently query this data on the REFLIST column? e.g. something like:
SELECT id FROM mytable WHERE :myval in reflistLogically there is a many to many relationship between rows in this table. The REFLIST column contains pointers to ID values elsewhere in the table. The data could be normalized so that the relationship keys are in a separate table (in fact this is the current solution that we want to change).
ID REF
21 24
21 25
21 78
21 412
22 21
24 912
... ...The comma separated list seems instinctively like a bad idea, however there are various reasons for proposing it. The main reason is because the source for this data has it structured like the REFLIST example. It is an OLTP-like system rather than a data warehouse. The source code (and edit performance) would benefit greatly from not having to maintain the relationship table as the data changes.
Going back to querying the REFLIST column, the problem seems to be building an approriate index for the data. The ideas proposed so far are:
<li>Make a materialized view that presents the relationships as normalized (e.g. as in the example with ID, REF columns above), then index the plain column - the various methods of writing the view SQL have been widely posted.
<li>Use a Oracle Text Index (not something I have ever had call to use before).
Any other ideas? Its Oracle 10.2, though 11g could be possible.
Thanks
JimSomething like this ?
This is test demo on my 11.2.0.1 Windows XP
SQL> create table test (id number,reflist varchar2(30));
Table created.
SQL> insert into test values (21,'24,25,78,412');
1 row created.
SQL> insert into test values (22,'21');
1 row created.
SQL> insert into test values (24,'912,22');
1 row created.
SQL> insert into test values (25,'433,555,22');
1 row created.
SQL> select * from test
2 where
3 ',' || reflist || ',' like '%,22,%';
ID REFLIST
24 912,22
25 433,555,22
SQL>Source:http://stackoverflow.com/questions/7212282/is-it-possible-to-query-a-comma-separated-column-for-a-specific-value
Regards
Girish Sharma
Edited by: Girish Sharma on Jul 12, 2012 2:31 PM -
Proper showing value of a column type chart in BI 7.0
Hi,
I am in BI 7.0. I created a Web template with column type chart. I want to show the column value only when users move the cursor on top of the column.
The problem is when system showing value also show the category/serious and category description. Is there any way to show value only?
Thanks for your help,
FrankHi Wond,
Thanks for your quick response.
Your solution is for BW 3.5 or BI 7.0? I remember with BW 3.5, WAD has chart property and option. But, I dont think BI 7.0 has chart option. I am with BI 7.0. I clicked on property and nothing happens. I dont know is my system setup issue or other. When I modify chart property, I have to use Edit -> Wizard or Refine.
Any other solution?
Regards,
Frank -
Dummy category group for chart
Hi,
I'm creating a stacked column chart where I'm getting data from an MDX query that has three measures. I want to have a separate stacked column for each of the measures but I can't figure out how to do this. If I were able to get the measures on separate
rows or something alike I would have no problem but from what I've found, this isn't possible with MDX. So I need some sort of dummy category group that has three different values by which I can split the column values. How can I do this?Solution courtesy of
VHteghem_Ph at
MDX numbered dummy set.
WITH
MEMBER [Dim].[Dim].[All].[1] AS [Dim].[Dim].[All]
MEMBER [Dim].[Dim].[All].[2] AS [Dim].[Dim].[All]
MEMBER [Dim].[Dim].[All].[3] AS [Dim].[Dim].[All]
SET [Dummy] AS {[Dim].[Dim].[All].[1], [Dim].[Dim].[All].[2], [Dim].[Dim].[All].[3]}
SELECT {[Measure1], [Measure2], [Measure3]} ON 0,
NON EMPTY {([Dimension1], [Dimension2], [Dimension3]) * [Dummy]} ON 1
FROM [Cube] -
Problem defining partition for storing value 0 with new data
Hi forumers,
I've a problem with partitioning and need some advices.
I've a table that will be partitioned by column Process_N which have values from 0 to 50000:
Process_N between 1 and 29999 represents old data;
Process_N >= 30000 represents new data;
Process_N = 0 means the row is not processed yet and so these value represents new data too.
Can I have a partition for old values (from 1 to 29999) and another partition to store new values (0 + values >= 30000) ? Hou can I define that ?
Thank you in advance.
Best Regards,
HelenaHelena,
What's your oracle version? I think it will be better to create 3 partitions usign RANGE partitions (< 1, 2-29999, >=30000 <=50000). Is there a specific reason you want to include 0 and values greater than 29000 in one partition? What the significant difference between 0 and 30000 specially as both represent new data?
CREATE TABLE my_part_table (
process_n NUMBER NULL,
my_data VARCHAR2 (1 BYTE) NULL,
my_other_data VARCHAR2 (30 BYTE) NULL,
data_state NUMBER NULL
TABLESPACE test_data
PARTITION BY RANGE (process_n)
(PARTITION partition_0
VALUES LESS THAN (1)
TABLESPACE test_data,
PARTITION partition_2_29999
VALUES LESS THAN (30000)
TABLESPACE test_data,
PARTITION partition_30000
VALUES LESS THAN (50001)
TABLESPACE test_data);Regards -
How to get count of unique values of column B for each unique value of column A in Excel 2010?
I have an excel sheet containing 72,000 rows in Excel 2010, column A is "site name", column B is category. I want a result that shows number of sites for each category.
Column A Column B
site 1 Category 1
Site 1 Category 1
Site 2 Category 1
site 3 Category 2
site 3 Category 2
site 4 Category 2
site 5 Category 2
I want this result:
Category 1 2
Category 2 3
I tried some formula in a 3rd column and created a pivot table on that column, but it did not give me the result i want.
Any one has an idea ? what is the easiest way to achieve this?
Appreciate any pointerI tried both formula referenced in these two post (I think they are a little simpler than the one above):
http://stackoverflow.com/questions/11876238/simple-pivot-table-to-count-unique-values
http://stackoverflow.com/questions/18898138/pivot-table-count-unique-values-excel-2010
They both worked! and I got the result for my 72,000 rows!
Thanks for your help! -
Domain Value Lookup for EMPLOYMENT CATEGORY CODE in the W_EMPLOYMENT_D
Hello friends,
When I query the EBS with following code to put the data in the configuration file
SELECT DISTINCT SYSTEM_PERSON_TYPE, USER_PERSON_TYPE
FROM PER_PERSON_TYPES
WHERE SYSTEM_PERSON_TYPE IN ('EMP','CWK','OTHER','EMP_APL','EX_EMP','EX_EMP_
APL','RETIREE','PRTN')
ORDER BY 1,2
I get output as follows
CWK Contingent Worker
EMP Employee
EMP_APL Employee and Applicant
EX_EMP Ex-employee
OTHER Candidate
OTHER Contact
OTHER External
PRTN Participant
RETIREE Retiree
So, I want to put the data in the configuration file, what about other columns.
USER_PERSON_TYPE SYS_PERSON_TYPE W_EMPLOYEE_CATEGORY_CODE W_EMPLOYEE_CATEGORY_DESC W_EMPLOYEE_SUB_CAT_CODE W_EMPLOYEE_SUB_CAT_DESC
How should I fill the columns marked with bold.
Please helpI have the same problem. I currently have an open service request on this so will post any response I get from the oracle product manager. In the meantime here is a bit more detail on the issue...
This is step
Oracle® Business Intelligence Applications
Configuration Guide for Informatica PowerCenter Users
Version 7.9.6.1 E14844-01
7 Configuring Oracle Human Resources Analytics
7.2.2 Configuration Steps for Oracle HR Analytics for Oracle EBS
7.2.2.3 How to Configure the domainValues_Employment_Cat_ora.csv
http://download.oracle.com/docs/cd/E14847_01/bia.796/e14844.pdf
The task is to map the 2 source dependent values (left hand side) to the 4 source independent domain (W_) values (right hand side). Unlike other similar steps in this case the set of possible domain values is ambiguous.
On my system the source dependent values - the left hand side of the csv spreasdsheet are
Agency Contractor,EMP
Employee,EMP
Ltd Company Contractor,EMP
PAYE Contractor,EMP
Employee and Applicant,EMP_APL
Ex-Agency Contractor,EX_EMP
Ex-employee,EX_EMP
Ex-Ltd Company Contractor,EX_EMP
Ex-PAYE Contractor,EX_EMP
Ex-employee and Applicant,EX_EMP_APL
Contingent Worker,CWK
External,OTHER
Candidate,OTHER
Contact,OTHER
Participant,PRTN
Retiree,RETIREE
the configuration document says
"When editing CSV files, make sure that you: Do not add new values, other than the values present in the CSV file, to the columns with the name format W_ columns. In other words, if you add new rows to the spreadsheet, then the columns with the name format W_ values must map to those in the default spreadsheet. If you add new columns with the name format W_ values, then you must customize the affected mappings."
The reason you should not change the domain values is because these values tend to be "hard coded" in the ETL/RRD/requests to provide the various metrics. "Incorrect mappings may result in inaccurate calculations of Oracle Business Intelligence metrics. Some sessions may fail if these procedures are not compiled in the database before running the workflows."
the default out of the box lookup file
domainValues_Employment_Cat_ora11i.csv
has 7 mappings
USER_PERSON_TYPE,SYS_PERSON_TYPE,W_EMPLOYEE_CATEGORY_CODE,W_EMPLOYEE_CATEGORY_DESC,W_EMPLOYEE_SUB_CAT_CODE,W_EMPLOYEE_SUB_CAT_DESC
Employee,EMP,EMPLOYEE,Employee,EMP_REGULAR,Regular Employee
Expatriate,EMP,EMPLOYEE,Employee,EMP_EXPATRIATE,Expatriate
Temporary,CWK,CONTINGENT,Contingent Worker,CONTINGENT_TEMP,Agency/Temp
Contingent Worker,CWK,CONTINGENT,Contingent Worker,CONTINGENT_CONTINGENT,Contractor
Contractor,EMP,CONTINGENT,Contingent Worker,CONTINGENT_CONTRACTOR,Contractor
Student,CWK,CONTINGENT,Contingent Worker,CONTINGENT_INTERN,Intern
Trainee,CWK,CONTINGENT,Contingent Worker,CONTINGENT_TRAINEE,Trainee
that gives 2 employment categories
EMPLOYEE or CONTINGENT
with 6 possible combinations with sub category
EMPLOYEE,Employee,EMP_REGULAR,Regular Employee
EMPLOYEE,Employee,EMP_EXPATRIATE,Expatriate
CONTINGENT,Contingent Worker,CONTINGENT_TEMP,Agency/Temp
CONTINGENT,Contingent Worker,CONTINGENT_CONTINGENT,Contractor
CONTINGENT,Contingent Worker,CONTINGENT_INTERN,Intern
CONTINGENT.Contingent Worker,CONTINGENT_TRAINEE,Trainee
Normally the source independent W_* domain values, that is, the right hand side of the csv spreadsheet that you map your source values to, are listed in the Data Model Reference.
My Oracle Support Document ID 819373.1 BIAPPSDMR796_RevA.pdf
Oracle Business Analytics Warehouse Data Model Reference Version 7.9.6
In this case - the domain values listed in the data model reference are ...
Table 3–6 lists the values for the Employee Category domain value for W_EMPLOYMENT_D.
//"W_EMPLOYEE_CAT_CODE","W_EMPLOYEE_CAT_DESC", "Source"
"CONTRACTOR", "CONTRACTOR", "Oracle EBS, PeopleSoft"
"DIRECT", "DIRECT", "Oracle EBS, PeopleSoft"
"INDIRECT", "INDIRECT", "Oracle EBS, PeopleSoft"
"OTHER", "OTHER", "Oracle EBS, PeopleSoft"
"REGULAR", "REGULAR", "Oracle EBS, PeopleSoft"
"TEMPORARY", "TEMPORARY", "Oracle EBS, PeopleSoft"
This is confusing because
i) the category values are differnet to those in default file (EMPLOYEE or CONTINGENT)
ii) the DMR document has no listing of the possible sub categories
So the question is - what do you map your source values to? The instructions are not clear! The only way I can think to find out for sure is to do an impact analysis of the ETL's / RPD / requests to find instances of hard coded values for the domain values. -
Define own colors for charts in BW 3.0b, is it possible???
<u><i><b>Referes to BW 3.0b</b></i></u>
I have another short question concerning graphs.
Bex gives a fixed set of optional colors for charts, however I need some other colors in order to fit with the given style guide.
I know that it is possible to use a picture, however I am looking for a way in order to define my own colors for charts.
Anybody got an idea?
Greetings,The problem is that I do not have a color column....
I can choose a color in the chart designer and I also get to the same option when using the wizard. <i>I am not sure if it is the right wizard as I have never used the wizard for chart editing before. How do you open the wizard to edit an already existing chart?</i>.
In all the menus I can't find any place where I could add RGB. I have my RGB code and everything, I just need to enter it somewhere, so no external tools needed. -
Define own colors for charts?
I have another short question concerning graphs.
Bex gives a fixed set of optional colors for charts, however I need some other colors in order to fit with the given style guide.
I know that it is possible to use a picture, however I am looking for a way in order to define my own colors for charts.
Anybody got an idea?
Greetings,
NanaThe problem is that I do not have a color column....
I can choose a color in the chart designer and I also get to the same option when using the wizard. <i>I am not sure if it is the right wizard as I have never used the wizard for chart editing before. How do you open the wizard to edit an already existing chart?</i>.
In all the menus I can't find any place where I could add RGB. I have my RGB code and everything, I just need to enter it somewhere, so no external tools needed. -
Page break for a category group of a chart - SSRS 2008 R2
Hi,
I need to add a page break for one of two category groups of a my chart. Is it possible, please?
I need to create a chart for this category group to mantain readable the report.
ThanksHi There
You can create two graphs and put them inside two separate rectangles and add page break
after first rectangle and add a filter to your chart for first category group for first chart and second category group for second chart.
This is best you can do
If you have any question please let me know.
Many Thanks
Syed Qazafi Anjum
Please click "Mark as Answer" if this resolves your problem or "Vote as Helpful" if you find it helpful. -
How to add a default value in a site column for every item in a document library
HI
i created a content type with some site columns ,
and included in a Document library.
Process ( content type)
-ProcessNo
-ProcessName
after that i uploaded 100 Documents but not added value in a site column process name.
now how i add a default value in a site column for every document in a document library
adilHI
i get below error when i change the script
PS C:\scripts> C:\Scripts\updatedefaultvalue.ps1
Cannot index into a null array.
At C:\Scripts\updatedefaultvalue.ps1:8 char:7
+ IF($i[ <<<< "Title"] -eq $null)
+ CategoryInfo : InvalidOperation: (Title:String) [], RuntimeExce
ption
+ FullyQualifiedErrorId : NullArray
$web = Get-SPWeb http://tspmcwfe:89/
$list = $web.Lists["test"]
$item = $list.Items | Where { $_["Name"] -eq "Emc" }
foreach($i in $items)
IF($i["Title"] -eq $null)
$i["Title"] = "test"
$i.Update()
adil
Why are you piping a where in the items? Do you only want to add the "test" to ones matching
a name?
If you have ISE installed on your server I recommend you put your code in there and debug it.
If this is helpful please mark it so. Also if this solved your problem mark as answer. -
More than one Value for a Category
Hello,
it is possible to assign more than one value of a category to a document by assigning the category once more. Is it a bug or a feature?
If it is not a bug, I wonder why it is not possible to search for a document with two values of one category set? And why isn't it possible to combine category values with "OR" in my search query?
Best regards,
ChristianOnly one video role, only one audio roll, per clip. Only one as these are "Media Stems", and when you work with Stems, only one roll per asset video, one per asset audio.
-
Define G/L Account for Product Category and Account Assignment Category
Hello Experts,
I got a requirment to make a new entry in below SPRO path.
Define G/L Account for Product Category and Account Assignment Category
*Individual entries cannot be put into the change request*
*Message no. SV141*
*Diagnosis*
*For technical reasons, the entries cannot be fully specified in the change request. There are two possible reasons for this:*
*1. The key of an entry is longer than 120 characters. All entries whose keys match up to character 119, are then copied into the change request, rather than an individual entry.*
*2. The key of an entry contains fields of special data types, for example, packed numbers. The key can only be specified in the change request up to the first such field from the left.*
*all entries whose keys match up to character 26 are copied into the change request, rather than a single entry.*
*System Response*
*The selected entry is copied into the change request correctly, but other entries may be copied as well.*
My question is, If I make one entry and move to Quality and production system will it move only one entry or whole table will move?
Kindly help me.
Thanking you
Regards
SharanI got the same message trying to make an entry in SPRO:
Define Backend System for Product Category
I found the note 305942 describing exactly the issue for my and above mentioned entry, which offers the correction, then the note 326802 which offers the correction of the first notes. However, both notes are for Releases 4.6C and D (from 2000), and we are using EHP2 FOR SAP SRM 7.0.
I see another discussions in SCN regarding this topic, but haven't found real solution yet. Any hints? At least the answer to previous question from Sharan would be appreciated.
Best regards,
Toni
Maybe you are looking for
-
Hello, Here is the context : - The DB (10.2) is in production. I can not disable/drop/alter constraints - I have to reinject thousands of rows from another DB through database link but some of thoses lines may be rejected by the primary key / unique
-
Not able to login with operator(user id) in datamover
After db setup and running tools rel and other scripts i am trying to login to data mover using PS/PS or any other op id...I am getting "Invalid user and password logon denied" error... Ran grant and checked config manager also but of no use does any
-
Binding context attributes to be used in PDF Report
Hi I have the following requirement: Context: HeaderNode EmployeeIDAtt DataNode EmployeeIDAtt ChildName Than basically I want to display a table of the results in a PDF document. The PDF generates fine, but I
-
Acrobat 8 updates: Cannot find / download AcrobatUpd810_efgj_incr.msp
It is beyond me how Acrobat 8, with known auto-update issue(s), cannot be easily updated manually. I downloaded a number of the incrementals, 8.1.1 > 8.1.2 > 8.1.3, but 8.1.0 cannot be found! Adobe - Search: acrobat%208%2E1%2E0 Extremely frustrating,
-
Sound on imac suddenly not working
Hi my sound is not working. When I use the keyboard I get a circle with a strikethrough and a dashed line underneath. Can anyone suggest how to get the sound back?