METHOD AND SYSTEM FOR FILTERING A TABLE
A method for filtering a table may include creating a filter in response to a user selecting data in a first table. The method may also include applying the filter to at least one other table in response to a user selecting at least one column in the at least one other table.
This application is a continuation application of U.S. patent application Ser. No. 11/163,263, filed Oct. 12, 2005, the contents of which are incorporated by reference.
BACKGROUND OF THE INVENTIONThe present invention relates to tables containing data and extracting specific data from the tables, and more particularly to a method and system for visually filtering a table using criteria from another table.
When working with tables, there is often a need to cross-filter columns of different tables containing the same type of data to extract certain desired information. One procedure is to simply apply a predetermined or form filter to a specific column in a table. However, this procedure may require access to a saved filter and manual alteration of the filter by the user. When the user is presented with multiple tables over which he desires to cross-reference data (for example, within a portal view), the need to efficiently extract data by applying filters based on a set of common data may be cumbersome and will typically require a series of steps to retrieve the desired information.
BRIEF SUMMARY OF THE INVENTIONIn accordance with an embodiment of the present invention, a method for filtering a table may include creating a filter in response to a user selecting data in a first table. The method may also include applying the filter to at least one other table in response to a user selecting at least one column in the at least one other table.
In accordance with another embodiment of the present invention, a system for filtering a table may include a table filtering application operable on a processor for a user to visually filter a second table using criteria from a first table. The system may also include a data structure to create and apply a filter to the second table.
In accordance with another embodiment of the present invention, a computer program product for filtering a table may include a computer usable medium having computer usable program code embodied therein. The computer usable medium may include computer usable program code configured to create a filter in response to a user selecting data in a first table. The computer usable medium may also include computer usable program code configured to apply the filter to at least one other table in response to a user selecting at least one column in the at least one other table.
Other aspects and features of the present invention, as defined solely by the claims, will become apparent to those ordinarily skilled in the art upon review of the following non-limited detailed description of the invention in conjunction with the accompanying figures.
The following detailed description of embodiments refers to the accompanying drawings, which illustrate specific embodiments of the invention. Other embodiments having different structures and operations do not depart from the scope of the present invention.
As will be appreciated by one of skill in the art, the present invention may be embodied as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, the present invention may take the form of a computer program product on a computer-usable storage medium having computer-usable program code embodied in the medium.
Any suitable computer usable or computer readable medium may be utilized. The computer-usable or computer-readable medium may be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a transmission media such as those supporting the Internet or an intranet, or a magnetic storage device. Note that the computer-usable or computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted, or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory. In the context of this document, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
Computer program code for carrying out operations of the present invention may be written in an object oriented programming language such as Java, Smalltalk, C++ or the like. However, the computer program code for carrying out operations of the present invention may also be written in conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
The present invention is described below with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
After selecting the cells or rows containing data of interest to be used in a filter for filtering one or more other tables, in block 104 (
Referring back to
While only a single column is illustrated as being selected to form the filter in
Referring back to
In block 110, the resulting filter may be presented to the user in a predetermined format.
Referring back to
Referring also to
While only a single column 500 is illustrated as being selected to apply the filter in
Referring back to
The computer system 704 may include a system memory or local file system 710. The system memory 710 may include a read only memory (ROM) 712 and a random access memory (RAM) 714. The ROM 712 may include a basic input/output system (BIOS) 716. The BIOS 716 may contain basic routines that help to transfer information between elements or components of the computer system 704. The RAM 714 may contain an operating system 718 to control overall operation of the computer system 704. The RAM 718 may also include application programs 720, other program modules, data and other files 722.
The computer system 704 may also include a processor or processing unit 724 to control operations of the other components of the computer system 704. The processing unit 724 may be coupled to the memory system 710 and other components of the computer system 704 by a system bus 726. The computer system 704 may also include a hard drive 728. The hard drive 728 may be coupled to the system bus 726 by a hard drive interface 730. The hard drive 730 may also form part of the local file system 710. Programs, software and data may be transferred and exchanged between the system memory 710 and the hard drive 728 for operation of the computer system 704.
The computer system 704 may also include multiple input devices, output devices or combination input/output devices 732. The input/output devices 732 may be coupled to the system bus 726 by an input/output interface 734. The input and output devices or combination I/O devices 732 permit a user to operate and interface with the computer system 704 and to control operation of the computer system 704 and programs or applications operating on the computer system, such as the visual table filtering application 702 of the present invention. The I/O devices 732 may include a keyboard and pointing device to select rows or cells in a table as described with respect to the method 100 of
The computer system 704 may also include or be connected to a display or monitor 738. The monitor 738 may be coupled to the system bus 726 by a video adapter 740. The monitor 738 may be used to permit the user to interface with the computer system 704 and to present tables, filters and results from filtered tables as described with respect to
The computer system 704 may communicate with the server 708 and remote databases 742 or database management systems via a network 744. The databases 742 may include tables that the user may access and cross-reference or cross-filter using the method 100 and system 700 of the present invention. The system bus 726 may be coupled to the network 744 by a network interface 746. The network interface 746 may be a modem, Ethernet card, router, gateway or the like for coupling to the network 744. The coupling may be a wired connection or wireless. The network 744 may be the Internet or private network, such as an intranet, extranet or the like.
The computer system 704 may also access the remote server or processor 708 via the network 744. As previously discussed, the remote server/processor 708 may include a visual table filtering application 706 that may be similar to the application 702. In one embodiment of the present invention, the system 700 may include the visual table filtering application 702 operable on the computer system 704. In another embodiment of the present invention, the visual table filtering application 706 may be provided and operable on the server 708. In still a further embodiment both applications 702 and 706 may be provided with different functions or features be performed different the respective applications. The applications 702 and 706 may embody some or all of the elements or features of the method 100 and may include data structures to present tables and filters similar to those in the examples of
The flowcharts and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
Although specific embodiments have been illustrated and described herein, those of ordinary skill in the art appreciate that any arrangement which is calculated to achieve the same purpose may be substituted for the specific embodiments shown and that the invention has other applications in other environments. This application is intended to cover any adaptations or variations of the present invention. The following claims are in no way intended to limit the scope of the invention to the specific embodiments described herein.
Claims
1. A method for filtering a table, comprising:
- creating a filter in response to a user using a computer system to select data in a first table, wherein the filter is useable for filtering another table different from the first table;
- reducing the first table to form a reduced table based on the data selected by the user;
- presenting the reduced table to the user on the computer system:
- allowing the user to select additional data in the reduced table to form the filter for filtering the other table different from the first table:
- presenting the filter for filtering the other table different from the first table to the user on the computer system;
- allowing the user to apply the filter to the other table different from the first table; and
- presenting a resulting table to the user in response to applying the filter to the other table.
2. The method of claim 1, wherein creating the filter comprises including in the filter data contained in any cells selected by the user in the first table.
3. The method of claim 1, wherein creating the filter comprises including in the filter data contained in an intersection of any rows and at least one column selected by the user in the first table.
4. The method of claim 1, wherein creating the filter comprises selecting at least one column in the first table that contains the selected data to be used to filter the other table.
5. The method of claim 1, further comprising creating the filter in response to a user selecting at least one column in the first table that contains the selected data to be used to filter the other table.
6. The method of claim 1, further comprising presenting the filter in a predetermined format.
7. The method of claim 1, further comprising providing means to edit any data in the filter.
8. The method of claim 1, further comprising:
- applying the filter to the at least one selected column in the other table; and
- presenting results of applying the filter.
9. The method of claim 8, wherein presenting the results comprises presenting any rows in the other table with data in the at least one selected column corresponding to data in the filter.
10. A system for filtering a table, comprising:
- a processor,
- a table filtering application operable on the processor for a user to visually filter a second table different from the first table using criteria from a first table, wherein the table filtering application comprises: a module to create a filter in response to the user selecting data in the first table; a module to reduce the first table to form a reduced table based on the data selected by the user; a module to allow the user to select additional data in the reduced table to form the filter for filtering the second table different from the first table; a module to present the filter for filtering the second table different from the first table to the user on the computer system; a module to allow the user to apply the filter to the second table different from the first table; and
- an output device to present a resulting table to the user in response to applying the filter to the second table.
11. The system of claim 10, wherein the table filtering application comprises a data structure to facilitate selecting cells in the first table that contain data to be used to form the filter.
12. The system of claim 10, further comprising a data structure to create the filter as a column filter in response to selecting at least one column in the first table that contains selected data to be used to filter the second table.
13. The system of claim 12, further comprising a data structure to apply the column filter to at least one column in the second table and to present the results of applying the filter.
14. The system of claim 13, further comprising a data structure to present any rows in the second table with data in the at least one column corresponding to data in the column filter.
15. A computer program product for filtering a table, the computer program product comprising:
- a computer usable medium having computer usable program code embodied therein, the computer usable medium comprising: computer usable program code configured to create a filter in response to a user selecting data in a first table, wherein the filter is useable for filtering another table different from the first table; computer usable program code configured to reduce the first table to form a reduced table based on the data selected by the user;
- computer usable program code configured to present the reduced table to the user on the computer system;
- computer usable program code configured to allow the user to select additional data in the reduced table to form the filter for filtering the other table different from the first table;
- computer usable program code configured to present the filter for filtering the other table different from the first table to the user on the computer system;
- computer usable program code configured to allow the user to apply the filter to the other table different from the first table; and
- computer usable program code configured to present a resulting table to the user in response to applying the filter to the other table.
16. The computer program product of claim 15, further comprising computer usable program code configured to create the filter in response to the user selecting any cells in the first table that contain data to be used to form the filter.
17. The computer program product of claim 15, further comprising computer usable program code configured to include in the filter data contained in an intersection of any rows and at least one column selected by the user in the first table.
18. The computer program product of claim 15, further comprising computer usable program code configured to present the filter in a predetermined format.
19. The computer program product of claim 15, further comprising computer usable program code configured to present any rows in the at least one table with data in the at least one column corresponding to data in the filter.
20. The computer program product of claim 15, further comprising computer usable program code configured to allow the user to edit the filter before applying the filter to the other table different from the first table.
Type: Application
Filed: Dec 9, 2008
Publication Date: Jun 4, 2009
Inventors: John H. Fraleigh (Raleigh, NC), Steven Kim (Raleigh, NC), Oludare Adebankole Kumolu-Johnson (Cary, NC)
Application Number: 12/330,934
International Classification: G06F 17/30 (20060101);