Creating chart from single column of multiple tables in Numbers '09

I have multiple tables (spread across multiple sheets) in my document. In column B of each table is a name. The other columns contain other categorized data. Each table has a variable number of rows, but each name is unique within a table. A particular name in any one table may or may not occur in another.
What I want to do is create a chart that shows the total number of times each unique name occurs across all the tables. Not really sure how to do this...
I would also like to be able to sort the chart from highest to lowest.
Message was edited by: Sir Reginald

That won't quite work, as I have hundreds of names to process. It was a good starting point though. Here's what I had to do:
1) create a new table (mynames) containing all the names in mynames::A
2) in mynames::B1 put the formula =SUM(COUNTIF(Table 1::A, A1), COUNTIF(Table 2::A, A1), ...)
3) Select column mynames::B and then choose *INSERT -> Fill Down* from the menu
It becomes a bit tedious to have to update the formula and refill the column every time I add another data table. Imagine if I had hundreds of tables to enter. Hmmm....
I currently have one table per sheet, but if I were to move all the tables onto one sheet, categorize a column, and then collapse all the categories, that wouldn't take up too much space on one sheet. Say I had 100 tables, I could then reduce the formula to:
=COUNTIF(Table 1:Table 100::A, A1)
I would also have to make sure to place the mynames table before Table 1 in the table list. All in all, much less of a hassle to add new table data.
Hopefully, Apple will add multi-sheet spanning collections, in the same way you can do multi-table collections now.
Message was edited by: Sir Reginald

Similar Messages

  • Ability to query on all columns from a view with multiple tables

    I have view with 4 tables. view has about 50 columns.
    hypothetically, I want to build a form to give the user an ability to query on any of those 50 columns. user can search on one or more fields.
    what is the best way to write the query to retrieve the results without performance impact.
    please let me know if the question is not clear.

    If you want to permit them to query any of 10 fields with no restrictions, you could create 10 separate single-column indexes. The optimizer would have to try to pick the best of these indexes if you specified multiple search criteria. But since you have a view which presumably means that you've got multiple other indexes involved for the underlying join conditions, you'd probably want/need to combine the column lists of the indexes you're adding for searches with the indexes you've created for joins, which requires looking at the text of the view and figuring out the best way to optimize the 10 single-column searches. Of course, it is possible that the optimizer could chose to do something like a b-tree to bitmap conversion on multiple indexes which could allow it to use multiple independent indexes for your queries, but that's generally not ideal performance-wise.
    All this is a fancy way of saying that there probably isn't a cut and dried answer to your question. You need to figure out the queries you're trying to optimize (say, the 10 single-condition queries) and you need to figure out what set of indexes on the various underlying tables provides the best performance weighing those benefits against the cost on other side of maintenance during DML. Which is going to depend on the text of the view, the underlying tables, the existing indexes, etc.
    Justin

  • Adding a single column to mulitple tables

    I have to add a single column to 664 tables.
    I can copy the column from the table it is originally created in.
    Is there a way to paste the column in all the remaining tables?
    It doesn't work by selecting all the tables in the design ('Ctrl + a', right click 'paste').
    It does work if I click each individual table ('Ctrl', left click) but i do not want to have to click each of the 664 tables.
    Thanks,
    Nic

    You can create script for this purpose for all 664 tables.
    And if you use MS Excel to create that script, you will feel a bit relieved. Its not too much difficult, just simple steps to create the script.
    In MS Excel
    1- In first column Write >>Alter table [Drag this cell for 664 times]
    2- In second table Paste >>Table_Name [Select all tables Ctrl+a, and copy table names in this column 664 Tables will come there]
    3- In third column Write >>Add (COLUMN_NAME  VARCHAR2(50)); [Drag this cell for 664 times]
    Now Script is Ready, You can select all three columns now and paste them in notepad file.
    And execute this script in Database;
    Hope this will resolve your problem.

  • Indexing multiple columns in multiple tables

    I have a multiple tables in which I want to search. I need to do text search that supports fuzzy logic for which I've currently set up a context index using the user_datastore. I also need to search columns such as numbers/dates/timestamps which from what I understand is not supported with the context search. I'm looking at setting up a second index of type ctxcat for this purpose - but I will need to index multiple columns in multiple tables. Is this possible?
    Can someone advise on the best way to create indexes and search when a table schema such as the following exists. I've tried to keep it simple by just giving a few example columns and tables.
    Order Table
    - Has columns related to the order details - order name (varchar2), description (varchar2), date order placed (timestamp), date order completed (date), order amount (number), customer Id
    Customer Table
    - Has columns related to the customer information - customer name, address, city, state, telephone etc (all varchar2 fields)
    Items Table
    - Has details about the items being ordered - item name (varchar2), item description (varchar2), cost (number) etc
    Order-Item Table
    - Table that maps an order to the items in that order - orderId, itemId, quantity
    Comments Table
    - Logs any comments with the customer - comment description (varchar2), call type (varchar2), comment date (timestamp)
    Currently with the Context index, I have it set up so I can search all text columns in all tables for a search term. This works fine.
    I now need to be able to do more advanced searches, where I can search for a specific text in all orders as well as orders created after a certain date or orders above a certain amount or orders with a item quantity purchase of more that 10. The text has to be searched across the all text columns in all tables. How can I achieve this with Oracle Text?

    There was a similar discussion with various ideas that may help you here:
    How can I make CONTAINS query work for a date range

  • Indexing multiple columns of multiple tables

    Hi,
    I'm trying to index multiple columns of multiple tables.
    As I have seen, the way to do this is using User_Datastore.
    have the tables to share a (foreign)key? My tables have only 2 or 3 similar columns(description, tagnr...)
    I want to get the different tagnr belonging to the same description etc.
    Can I do this?
    Has anyone a Samplecode indexing multiple tables?
    Any suggestion would be helpful.
    Arsineh

    A USER_DATASTORE works like this:
    create table A
    ( id number primary key,
    textA varchar2(100));
    create table B
    ( id number primary key,
    textB varchar2(100));
    procedure foo (rid in rowid, v_document in out varchar2)
    v_textA varchar2(2000);
    v_idA number;
    v_textB varchar2(2000);
    begin
    select id, textA
    into v_idA, v_textA
    from A
    where rowid = rid;
    select textB
    into v_textB
    from B
    where id = v_idA;
    v_document := textA | | ' ' | | textB;
    end;
    create preferences for USER_DATASTORE
    create index ...
    on table A ( text) ...
    you also can build on table B
    This depends where you want the
    trigger to be build to sync the
    documents.
    null

  • Performance of update query for single column vs multiple column

    Hi All,
    I could not find any answer for this, does it ever matter in terms of performance updating single column versus multiple column in a single update query.
    For eg. table consisting of 15 columns, what would be the difference in performance when one column is update in the single query against another update query where 15 columns are updated.
    Please do keep in mind my table columns in actually could be around 150+.
    Thanks for any information provided.

    If updated columns aren´t on where clause , then the only impact of 15 columns will be a increase on redo generation, and a possible chainning row.
    So since the redo is one of the things that have a large impact, the answer is yes.
    The performance will be slower.
    Regards
    Helio Dias.
    http://heliodias.com
    OCE SQL, OCP 9i

  • How to grey out one single column in a table control of TPMOE

    Hi Experts,
    Any body please tell me how to greyout a single column in a table control of TPMOE.
    Help needed ASAP.
    Thanks,
    sreenivas.

    lr_result      TYPE REF TO if_bol_bo_property_access
    lr_iterator TYPE REF TO if_bol_bo_col_iterator
          CALL METHOD lr_iterator->get_by_index
            EXPORTING
              iv_index  = index
            RECEIVING
              rv_result = lr_result.
          CALL METHOD lr_result->get_property_as_value
            EXPORTING
              iv_attr_name = 'TRANSFER_STATUS'
            IMPORTING
              ev_result    = lv_status.
    if  lv_status = x and component = cost_category.
    rv_disabled = true.
    else.
    call super.
    endif.
    INDEX will have the row number.
    Frame ur logic based on this.

  • Write Back from OBIEE 11g to multiple tables in DB

    Hi All,
    We have requirement to write-back from OBIEE 11g to multiple tables in DB.
    1) Inserting a new row in report. Inserting record into multiple tables through OBIEE?
    2) In report we have fields like Region Id, Product Id, Date, Quantity. Region Id, Product Id, Date are dimension fields and Quantity is Fact measure while inserting row in report does OBIEE checks Refrential Integrity Constraint during Write Back on DB.
    Let me know if you need more details on this. Thanks in Advance.
    Regards,
    Rajkumar.

    Hi,
    1) With regard to inserts into multiple tables, try using multiple insert tags (I haven't tried it) but I think it should work.
    2) I don't think OBIEE would check referential integrity , but DB would and give you appropriate response.
    Let us know how you got on...
    Thanks & Regards

  • Modifying datatype of columns across multiple tables

    Hi,
    I have a requirement where-in I have to modify the datatypes of columns across multiple tables. Is there any direct way to do this? I mean does oracle has any function or in-built functionality to achieve this.
    Example;
    Table1 -> col1 datatype needs to be changed to varchar2(10)
    Table2 -> col2 datatype needs to be changed to varchar2(30)
    Table3 -> col3 datatype needs to be changed to number.
    and so on....
    Do we have such functionality?
    Thanks,
    Ishan

    Hi Aman,
    Seeing the replies, I think I was unclear in the requirements. But I guess you understood it fully, but still I would like to restate my question once again, just to be 100% sure.
    What I actually want is that in one shot, I would be able to modify columns of multible tables.
    eg, table1-> col1 changed to varchar2(20);
    table2->col2 changed to varchar2(10)
    table3-> col3 changed to number;
    I know how to do it individually, but just wanted to check, if only one command can modify the datatypes of multiple tables/.
    If not, I have already written half the script, but just for knowledge sake wanted to check if some feature is available in oracle for that.
    Regards,
    Ishan

  • Creating chart from web part sharepoint 2013 online

    hello, my name is peter and i know to solve the problem with creating charts from web part . i am familiar with excell services, but it doesnt solve my problem because it is not taking data from web parts so it is static. Thank you for your time

    If you want info about creating charts in web parts, this one is quite nice:
    http://social.technet.microsoft.com/wiki/contents/articles/17614.adding-charts-to-standard-webparts-and-visual-webparts.aspx
    If you're worrying about getting data from another web part, you need to use web part connections and start here:
    http://msdn.microsoft.com/en-us/library/ms469765(v=office.14).aspx
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Creating Time Dimension from date columns in fact tables.

    I remember watching a demo from a BI Tool a couple years ago, wich I swear was OBIEE, and the presentator stated it was possible to create a Time Dimension in the admin tool, based on a date column in other table.
    Can you guys tell me if there's such functionality in OBIEE?
    If so, how could I achieve that?!
    Thanks in advance!
    Marcos

    hi,
    You are trying to make Fact table as Dim table ???
    Fact table has some dim columns??
    We can do this by making a fact table as dim table ,create a dim hierarchy on that table
    Year level :Extract(year from fact_date_column)
    Month and year  level:CAST (Extract(month from fact_date_column) As CHAR(5) ) || CAST (Extract(yearfrom fact_date_column) As CHAR(5) )
    Like this
    But,be careful while doing this make sure that all joins and content levels are good
    As per my knowledge this is not a good way,Experts can add some words lets see!!!!!! :-)
    thanks,
    saichand.v

  • Getting parent-child data from a single column in a table

    Hi,
    I have a parent-child data in a column.
    Eg:
    0
    00
    01
    010
    011
    1
    10
    11
    These values are present in the single column itself. My need is to get the parent values for the given child value.
    For eg: If I am giving the input as 011, the query should return all its parents, i.e. 01 and 0
    Could you please give me any inputs on this?
    Thanks,
    GV

    Frank Kulash wrote:
    Assuming that each child's id is formed by adding exactly one character to the end of its parent's id:
    SELECT     id
    FROM     table_x
    START WITH     id          = :target_id
    CONNECT BY     PRIOR id     LIKE id || '_';
    Small tweak to yours Frank if it's just the parents that need identifying...
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select '0' as x from dual union all
      2             select '00' from dual union all
      3             select '01' from dual union all
      4             select '010' from dual union all
      5             select '011' from dual union all
      6             select '1' from dual union all
      7             select '10' from dual union all
      8             select '11' from dual)
      9  -- end of test data
    10  SELECT     x
    11  FROM       t, (select '&required' as req from dual) req
    12  WHERE x != req.req
    13  START WITH x = req.req
    14* CONNECT BY PRIOR x LIKE x || '_'
    SQL> /
    Enter value for required: 011
    old  11: FROM   t, (select '&required' as req from dual) req
    new  11: FROM   t, (select '011' as req from dual) req
    X
    01
    0
    SQL> /
    Enter value for required: 11
    old  11: FROM   t, (select '&required' as req from dual) req
    new  11: FROM   t, (select '11' as req from dual) req
    X
    1
    SQL>

  • Index Multiple Column of Multiple Tables

    Hi All,
    I would like to know how to create a index which can search through all column in my database tables. Eg: I have 30
    tables and every tables have around 10 columns. I want to create a index which can search through the columns in
    these tables.
    I know that User_DataStore can helps in create multiple column search across multiple tables. But in my case the BLOB
    created will be very huge. Any work around? I mean is there any solutions like concatenated datastore?
    Thank You.
    Regards,
    LG Tan

    Hi,
    I figured out how to do this today. The first thing is that the type of index you need is a USER_DATASTORE.
    The idea behind this type of index is pretty straight forward but the documentation does a very good job of not drawing attention to just how powerful it is.
    The idea behind a USER_DATASTORE is that you can write your own stored procedure to extract the data that you want to index and return it to the indexer. Take an example where you have a master table which contains enough information to allow you to find associated data in other tables i.e. a shared key. The idea is that when you set up a USER_DATASTORE index, you specify the name of a stored procedure that the indexer will call for each row in the master table. The stored procedure has one input and one output parameter, rowid (in) and clob (out).
    When the index is created, the stored procedure you specify is, as I said above, called for each row in the master table. Your stored procedure uses this ROWID to extract the shared key (this can be anything you want) from the master table and uses this to build the necessary SELECT statement to retrieve the related data from the other tables. The rest of the stored procedure simply appends the data returned from your select statement to the return CLOB. The indexer then indexes the inforamation in this CLOB and discards the data.
    The index can of course only return hits against the master table. It's up to your application to extract shared key from the returned row(s), bind to the other tables and present the results.
    You will find a basic example of how to implement USER_DATASTORES in the Oracle Text Reference Guide (http://download.oracle.com/otndoc/oracle9i/901_doc/text.901/a90121.pdf). Feel free to email me if you want some example code.
    Dean

  • Create opaque view in OBIEE with multiple tables

    Hi,
    I need some help with the opaque view since i have never created it in past. I want to create an opaque view which fetches data from multiple tables. Is it possible to do that ? Or is there any other alternate option available in OBIEE ? I read the following blog and other similar blogs on opaque views but could not find option to use it for query with multiple tables:
    Oracle Business Intelligence: Creating Opaque View in Physical Layer in OBIEE 10g
    Also can you please advice how to join two tables from different databases in OBIEE ?
    Kindly advice.
    Regards,
    Andy

    Hi Andy,
    As per my knowledge you can create Opaque View on one table at a time.Joining two tables from different databases yes we can create a report from multiple data sources.Check this
    Rittman Mead Consulting » Blog Archive » Reporting Against Multiple Datasources in OBIEE
    Mark if helps.
    Thanks,

  • Defining 100 columns from single column

    hi all,
    i need to write an sp which returns many columns
    i have code ,name,candidates,mark(0-100)
    these are my columns in a table..
    now i need to calculate columns 0-100 which mark having how many students..like
    code name     [ MARKS- 1]                        [MARK- 2]       [
    3]        [ 4]      [5 ]  -----------[100]
    01   eng          10CANDIDATES                    2                
    10          64         44--------------98
    02   BEG          12CANDIDATES                   0                 
    12          77         98                  21
    FOR THIS I WROTE CODE LIKE
    SELECT Name,Code,Mark,CANDIDATES
    INTO #tmp
    FROM TABLENAME
    WHERE (CONDITION)
    SELECT
    Name,Code
    ,[1] = SUM(CASE WHEN Mark=1 THEN Nos ELSE 0 END)
    ,[2] = SUM(CASE WHEN Mark=2 THEN Nos ELSE 0 END)
    ,[3] = SUM(CASE WHEN Mark=3 THEN Nos ELSE 0 END)
    ,[4] = SUM(CASE WHEN Mark=4 THEN Nos ELSE 0 END)
    ,[5]= SUM(CASE WHEN Mark=5 THEN Nos ELSE 0 END)
    ,[6] = SUM(CASE WHEN Mark=6THEN Nos ELSE 0 END)
    ,[7] = SUM(CASE WHEN Mark=7 THEN Nos ELSE 0 END)
    ,[8]= SUM(CASE WHEN Mark=8 THEN Nos ELSE 0 END)
    ,[9]= SUM(CASE WHEN Mark=9 THEN Nos ELSE 0 END)
    ,[10]= SUM(CASE WHEN Mark=10 THEN Nos ELSE 0 END)
    ---SO ON UPTO 100---------------------------------------------
    FROM #tmp
    GROUP BY Name,Code
    NOW ITS too big code to define upto 100, so how caan i define in easiest way like any loop way? and simple code..pls help
    thanks in advance..
    lucky

    hi all,
    i need to write an sp which returns many columns
    i have code ,name,candidates,mark(0-100)
    these are my columns in a table..
    now i need to calculate columns 0-100 which mark having how many students..like
    code name     [ MARKS- 1]                        [MARK- 2]       [
    3]        [ 4]      [5 ]  -----------[100]
    01   eng          10CANDIDATES                    2                
    10          64         44--------------98
    02   BEG          12CANDIDATES                   0                 
    12          77         98                  21
    FOR THIS I WROTE CODE LIKE
    SELECT Name,Code,Mark,CANDIDATES
    INTO #tmp
    FROM TABLENAME
    WHERE (CONDITION)
    SELECT
    Name,Code
    ,[1] = SUM(CASE WHEN Mark=1 THEN Nos ELSE 0 END)
    ,[2] = SUM(CASE WHEN Mark=2 THEN Nos ELSE 0 END)
    ,[3] = SUM(CASE WHEN Mark=3 THEN Nos ELSE 0 END)
    ,[4] = SUM(CASE WHEN Mark=4 THEN Nos ELSE 0 END)
    ,[5]= SUM(CASE WHEN Mark=5 THEN Nos ELSE 0 END)
    ,[6] = SUM(CASE WHEN Mark=6THEN Nos ELSE 0 END)
    ,[7] = SUM(CASE WHEN Mark=7 THEN Nos ELSE 0 END)
    ,[8]= SUM(CASE WHEN Mark=8 THEN Nos ELSE 0 END)
    ,[9]= SUM(CASE WHEN Mark=9 THEN Nos ELSE 0 END)
    ,[10]= SUM(CASE WHEN Mark=10 THEN Nos ELSE 0 END)
    ---SO ON UPTO 100---------------------------------------------
    FROM #tmp
    GROUP BY Name,Code
    NOW ITS too big code to define upto 100, so how caan i define in easiest way like any loop way? and simple code..pls help
    thanks in advance..
    lucky
    Please post the create table script and sample data.
    - please mark correct answers

Maybe you are looking for

  • Can you make payments on a mac?

    I've heard rumors that you can make monthly payments on a computer, but I've also heard otherwise. I really need a new computer and saved up as much as I could but still don't have enough money because I have to pay a few things off this week. But I

  • After Archive and Install, will I lose all my contacts and apps?

    I recently had to do an Archive and Install of OS-X 10.4 and I'm in the process of getting everything up to date. I need to know if after this process when I try to sync my iPhone if I will lose all my contacts, music, and/or apps? Can anyone help? T

  • SLD bridge error, unable RZ70

    Hi I have installed WAS Java Only system, the SLD supplier is able to push the data into SLD using HTTP SLD Supplier of Visual Admin. But now I would like to push an ABAP system's data over, so I try to configure the Data Supplier Bridge in SLD, but

  • Error msg in DTP

    Hi All, For transferring data from PSA to target, I have created a new DTP. but am not able to change any settings in DTP in the Update Tab page. It is giving the Error msg as  'Enter a Valid Value'.Its not allowing me to do anything other than just

  • Hard disk drive fail

    Hello everyone, I recently sold my Creative Zen Touch to someone on Ebay. It was in perfect working order when I dropped it off to him locally. Two days after selling it to him, I got a call saying the player was broken. The player froze on him, and