Advanced filtering/grouping question (pivot-table?)

Ahoy. I have come across a few flies in the final varnish of an image database I'm working on. I don't yet know the best way to ask the question. I think what I am looking for is some kind of pivot-table like grouping capability. I think I could do this with nest-able Smart Albums -- but you can't nest Smart Albums in Aperture. (Journler, for those who used it, had, imho, a brilliant implementation of nest-able filters.)
Let me give what should be able to serve as a good generic example: a Library of dog images. These are organized into Projects based on shoots. The images are keyworded with the dogs' breeds, their type, their coat type and color, their individual names (when known), and other "normal" dog characteristics (gender, age when known, etc.). There are also some special keywords, such as a set for expressions (Relaxed, Angry, Teeth Bared, Questioning, Attentive), and, where needed, details of ailments (Sore, Rash, Teeth, Gums, Wound).
I have set up Smart Albums to show many of these, e.g.:
. Spaniels
. Huskies
. Retrievers
. Cocker Spaniels
. Labrado Retrievers
. Details of Angry expressions
etc.
The database problem I am trying to resolve is: how best to narrow selections of groups of Smart Albums? Using the example above, for instance, I have Smart Albums to show me all the detail images of expressions:
. Dog is Angry
. Dog is Attentive
. Dog is Asleep
. Dog is Tired
. Dog is Questioning
. Dog is Relaxed
How best to narrow those to, for instance, just Huskies? or just Working Dogs? or just the individual dog known as "Nanook's Shadow"?
Clearly, if each of those is a keyword (or a keyword container), I can simply add the keyword to the Filter. But I want much greater functionality than that.
By "best" I mean to include the ability to change the variable -- to chose not just "Huskies", but also "Retrievers", and not just "Working Dogs" but also "Hounds". And I want to change this at once -- not individually for each Smart Album.
What I've come with is clever and borders on elegant (imho - ), but remains a kludge.
Smart Albums can be subordinate to only Projects and Folders. Subordinating them to Projects does me some, but little, good. (Subordinating them to other Smart Albums, or to regular Albums, would do me more good, but is not allowed.) I therefore created a new parent Folder for each set of Smart Albums I wanted to be able to readily filter as a group, and copied a set of Smart Albums into it. I then set each Smart Album's "Source" to the containing Folder rather than to "Library". At this point, the Smart Albums show no images, which is good. Now, all I have to do is create an Album of images I want the Smart Albums to operate on, and drag that Album into the containing Folder. So I go to my "Hounds" Smart Album, select all images, create new Album with selected images, and drag that into my Folder "Dog Expressions". The Album filters the universe of my Library to just "Hounds" and the Smart Folders filter from that narrowed group.
This is relatively flexible: If I want to include "Retrievers" as well as "Hounds", I just make another Album and drag it into the "Dog Expressions" Folder. If I want to see only Retrievers, I drag the "Hounds" Album out of the "Dog Expressions" Folder. (So I made a holder Folder called "Sets for Smart Albums" and I keep Albums such as "Retrievers" and "Hounds" there.) I now have a relatively supple drag-and-drop method of filtering groups of Smart Albums all at once.
But you can already see the problems. First among them is that the Albums are static. I will need to create new Albums in order to include any new images or Versions or whenever I get around to keywording, etc.
Still with me? Can you help me do better?
Is there any reason one couldn't have a pivot table based on metadata? One which not only filters but also groups, so that I could have a view showing (for instance) details of Huskies expressions grouped by expression?
Thanks in advance. If this catches you on Friday, enjoy the weekend.
Message was edited by: Kirby Krieger

LOL. Thanks for the laugh -- the slideshows part is especially funny. Are you Aperture certified yet? The test has no surprises at all. It is very well done (exemplary for on-line testing, imho) and covers all parts that it says it will.

Similar Messages

  • TSQL query to calculate Count / Sum grouping by date on a Pivot Table

    Hi All
    I need help to group the pivot table output to group by dates and sum/count the values. I have a table like shown below.
    Date
    Student 
    Subject
    Hunt
    Marks
    18/02/2014
    Sam 
    Maths
    1
    20
    18/02/2014
    Sam 
    Maths
    1
    10
    18/02/2014
    Sam 
    Maths
    2
    30
    18/02/2014
    Luke
    Science
    1
    50
    17/02/2014
    Sam 
    Maths
    2
    50
    17/02/2014
    Luke
    Science
    2
    60
    16/02/2014
    Luke
    Science
    2
    20
    16/02/2014
    Luke
    Science
    3
    20
    I want to Group by dates and move the Hunt to columns calculating their counts and sum their marks too. Like given below.
    I wrote a pivot query like below but If i group it with dates and calculate the total marks it throws aggregate errors.
    Create Table Student_Log ([Date] datetime ,Student varchar (20), Subject varchar (20) ,Hunt int ,Marks int )
    Go
    INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-18 15:00:00.000','Sam ','Maths','1','20')
    INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-18 15:00:00.000','Sam ','Maths','1','10')
    INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-18 15:00:00.000','Sam ','Maths','2','30')
    INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-18 15:00:00.000','Luke','Science','1','50')
    INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-17 15:00:00.000','Sam ','Maths','2','50')
    INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-17 15:00:00.000','Luke','Science','2','60')
    INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-16 15:00:00.000','Luke','Science','2','20')
    INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-16 15:00:00.000','Luke','Science','3','20')
    Go
    select * from Student_Log
    select [DATE] , [Student], [Subject] ,[1],[2],[3],[4],Total =([1]+[2]+[3]+[4])
    from
    ( select [Date], [Student], [Subject],[Hunt],[Marks] from Student_Log
    )x
    pivot
    count ( [Hunt]) for [Hunt]
    in ([1],[2],[3],[4])
    )p
    order by [Date] desc
    I have done this far only. More than this I need to enhance it with the Percentage of Hunts for each Student.
    ie like below table.
    On 18th Sam in Maths he had 2 rows on 1st hunt  and 1 row on 2nd hunt. So On the Pivot table is it possible to represent it on percentage using the Total Attempts column.
    Thanks a lot in advance.
    Its runnung in SQL 2000 Server.

    Create Table Student_Log ([Date] datetime ,Student varchar (20), Subject varchar (20) ,Hunt int ,Marks int )
    Go
    INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-18 15:00:00.000','Sam ','Maths','1','20')
    INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-18 15:00:00.000','Sam ','Maths','1','10')
    INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-18 15:00:00.000','Sam ','Maths','2','30')
    INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-18 15:00:00.000','Luke','Science','1','50')
    INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-17 15:00:00.000','Sam ','Maths','2','50')
    INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-17 15:00:00.000','Luke','Science','2','60')
    INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-16 15:00:00.000','Luke','Science','2','20')
    INSERT INTO Student_Log ([Date],Student, [Subject],Hunt,Marks) VALUES('2014-02-16 15:00:00.000','Luke','Science','3','20')
    Go
    select * from Student_Log
    ;with mycte as
    Select [Date], [Student], [Subject] ,
    Count(CASE WHEN [Hunt]=1 Then Hunt End) as Hunt1,
    Count(CASE WHEN [Hunt]=2 Then Hunt End) as Hunt2,
    Count(CASE WHEN [Hunt]=3 Then Hunt End) as Hunt3,
    Count(CASE WHEN [Hunt]=4 Then Hunt End) as Hunt4,
    Count(CASE WHEN [Hunt]=1 Then Hunt End)
    +Count(CASE WHEN [Hunt]=2 Then Hunt End)
    +Count(CASE WHEN [Hunt]=3 Then Hunt End)+
    +Count(CASE WHEN [Hunt]=4 Then Hunt End) as Total,
    ISNULL(SUM(CASE WHEN [Hunt]=1 Then Marks End),0) as Mark1,
    ISNULL(SUM(CASE WHEN [Hunt]=2 Then Marks End),0) as Mark2,
    ISNULL(SUM(CASE WHEN [Hunt]=3 Then Marks End),0) as Mark3,
    ISNULL(SUM(CASE WHEN [Hunt]=4 Then Marks End),0) as Mark4
    from Student_Log
    Group By [Date], [Student], [Subject]
    Select [Date], [Student], [Subject]
    , Cast(Hunt1*1./Total*100 as int) as [1]
    , Cast(Hunt2*1./Total*100 as int) as [2]
    ,Cast(Hunt3*1./Total*100 as int) as [3]
    ,Cast(Hunt4*1./Total*100 as int) as [4]
    ,Total,Marks=( Mark1+Mark2+Mark3+Mark4)
    from mycte
    order by [Date] DESC, Student desc
    drop table Student_Log

  • Need Pivot Table to hide only the rows in the table, now the entire sheet.

    Hello,
    I have an basic pivot table (account type, account number, location, fees assessed) and wish to have a small summary table a couple of columns to the right of the data in the pivot table.  
    Is there a way to be able to have the pivot table only hide the part of the rows that are actually in the table (like A4:D4) and essentially 'lock' my summary table, so parts of it aren't hidden when filtering in the pivot table?

    Hello,
    I have an basic pivot table (account type, account number, location, fees assessed) and wish to have a small summary table a couple of columns to the right of the data in the pivot table.  
    Is there a way to be able to have the pivot table only hide the part of the rows that are actually in the table (like A4:D4) and essentially 'lock' my summary table, so parts of it aren't hidden when filtering in the pivot table?

  • Unable to group with page breaks when creating pivot table in BIP

    Hi,
    I'm using BIP 10.1.3.4 and I need some assistance with report with pivot tables. I used the wizard to successfully create the pivot table but i need to add a group and break the page on that group. Is there any way i can do this?
    Thanks.

    HI Bala,
    I am Durgaprasad from Pune-INDIA, working as a OBIEE developer, I have one query which I mentioned below can you please go threw it.
    I have done migration Discoverer Admin EUL Layer into OBIEE repository using below methodology.
    Navigate to the <installdrive>\OracleBI\server\Bin directory. There are two important files in this directory: the migration assistant executable file named MigrateEUL.exe and a properties configuration file named MigrationConfig.properties.
    Could you please help me how to migrate discoverer plus workbooks and worksheets into OBIEE Answers?
    go through below link, It will show navigation steps for migrating of EUL from Discoverer to OBIEE.But i need migration of workbooks and worksheets from Discoverer into OBIEE Answers.
    http://www.oracle.com/technology/obe/obe_bi/discoverer/discoverer_1012/discomigration/migrate_disco_biee.htm
    This is very great full help to me …
    Advance thanks for your suggestions.
    Regards
    Duraga Prasad.

  • Limit a Pivot Table filter to just one group (Excel 2010)

    I use Excel 2010 and want to apply a filter to just one group of data within a Pivot Table.
    It appears that filters are applied to the entire Pivot table; is there a way to limit the scope of a filter so it is applied to just a single group of data (grouped using the group function within a Pivot). Alternatively could I apply a filter to just a
    selection of rows within the Pivot?
    I have tried breaking my pivot into separate tables and applying the filters individually but the tables interfere with each other when expanded/collapsed and generate the Excel "overlapping tables" error message.
    Any suggestions gratefully received.
    Regards
    Pete

    just use filter is no possible that apply a filter to one group. maybe slicers is a good choose.
    http://office.microsoft.com/en-us/excel-help/use-slicers-to-filter-pivottable-data-HA010359466.aspx
    KR

  • Pivot table group by is not working

    Hi Gurus,
    I am using OBIEE 10g
    I have Dimension and Fact table. In fact table i have some measures and which are calculated and some are aggregated functions. The Geo dimension has Division, region and Market.
    In pivot table when i am grouping the values based on the Division & grand total the aggregate columns are showing the value proper where as the calculated columns gives wrong values.
    Example : Measure1 : Sum(tickets), Measure 2: Sum(repeat ticket), Measure 3: sum(repeat ticket) / Sum(ticktets)
    When i am grouping based on Division, i am getting the proper values for Measure 1 and measure 2 where as measure 3 is giving me different value or some time a region value.
    I am not able to figure out where grouping total will be done. i checked the log file it has the simple SQL query, but i dont no where it groups the data.
    Please help me its Urgent.
    Regards
    Ali

    Hi Deepak,
    Thanks for taking time and seeing my query.
    In Pivot table i am using the diemnsions are Division and Region. When i am making the total of based on Division it is taking random region values and stamping on the total of division where as grand total is giving correct value. In below example Measure1 and Measure 2 is Sum( Measure1), Sum(Measure 2) where as Measure 3 is Weigted average of Sum(Measure2) / Sum(Measure1). It is giving the value correct for indivual regions where as the division total is getting worng.
    Example :
    Division Region Measure1 Measure 2 Measure3
    Northeast NY 100 50 .5
    Northeast NJ 50 25 .5
    Northeast CI 100 25 0.25
    Northeast total :   250          100        .4
    i want the above value but i am getting like this
    Division Region Measure1 Measure 2 Measure3
    Northeast NY 100 50 .5
    Northeast NJ 50 25 .5
    Northeast CI 100 25 0.25
    Northeast total :   250          100       .5
    Let me know if you need any further information.

  • Pivot table that uses a Stored Procedure parameter and filters the data based on it

    Hello, my 1st post.  I am lost.  Please help.
    I am trying to create an Excel Pivot Table that has data that comes from an ODC but needs to be filtered based on a parameter from a Stored Procedure.  This involves Project Server.  I need to filter the results based on the RBS value of the logged
    in user.  My Stored Procedure can return the RBS as long as the ResourceNTAccount value is given.  I cant figure out how to tie this all together.

    Hi,
    Based on your description,I think this issue should be  more related to Programming/coding, you can sumbit a new case to MSDN forum.
    As I'm not quite formular with Project Server, all I can tell you is that it is easy to running a Stored Procedure within Excel, however, if you have to pass dynamic parameters you’ll have to turn to VBA.For detailed information,please refer
    to:
    http://blogs.office.com/2010/06/07/running-a-sql-stored-procedure-from-excel-no-vba/
    Wind Zhang
    TechNet Community Support

  • Question about inputting data to a pivot table

    Hi,
    I have 2 questions about using the ADF pivot table component (I would like it for data input).
    1. Is it possible to paste into multiple cells (i.e. using cut in Excel for example, and then pasting the cells into the pivot table) ?
    2. What is the recommended approach for the case where there is no data values (no rows on the database table)? For example, if I have regions, products, measures and time periods and then want to be able to select some regions and some products to enter new sales figures - and then create the rows on the database with save button, is there a recommended way to do this?
    (Jdeveloper version: 11.1.2.0.0)

    Anybody able to help with this?

  • Question on how to create a pivot table

    Hi,
    I am trying to create a dynamic pivot table (the number of column and row layers change for each request) and I cannot use a data base structure to back it up.
    I thought of doing it through a managed bean but in order to do it I need to know how to create the PivotTableModel.
    The pivot table model requires a data source object and I do not know how to create it to support multiple row and column layers.
    Is there a default data source object that I can extend, or better yet is there a written example on how to create a pivot table model using a managed bean.
    Thanks,
    Or

    Hi,
    duplicate of ADF -11g : Question on how to create a pivot table

  • One question in measures table heading of a pivot table view when using 11g

    Hi experts,
    I have been working on OBIEE 10g for 2 years, and lately I started developing on OBIEE 11g. It is great to discover so many new features which make reporting so much easier and look better, meanwhile, I got confused by some detail changes they have made. I was able to overcome most of the difficulties I have met with, but now there is *1* I can not figure out. Any idea or suggestion is appreciated.
    In OBIEE 10g, when we develop a report using a pivot table, we put column A and B in Rows aera and column C Measures aera, the result would look like this:
    / / A / / B / / C / /
    //VA1 //VB1// VC1//
    //VA1// VB1 //VC1//
    But now I am using 11g, when I put these columns in the same aeres as I did in 10g, the result is surprising like this:
    / / BLANK / / C / /
    / / A / / B / / blank //
    //VA1 //VB1/|/ VC1//
    //VA1/|/VB1 // VC1//
    It looks weird that it should put Rows labels and Measure labels in different lines and create blank labels, and barely makes any sense. I am OK with the blank above the Row labels, but not with the blank below the measure label. A blank label that separates a label and its value is not what I want.
    Can anyone help me to make the pivot table look the same as it does in 10g? Or at least remove the blank label below the Measure label?
    Thanks in advance.

    Hi,
    I am facing the same issue, have you solved it?

  • Question about exporting FBL3N data in Pivot table format

    Dear all
    I have a question about the "exporting file" function of ECC 6.0.
    We started to use ECC 6.0 system, and it appears that we are no longer able to export "FBL3N data" to a local PC in pivot table format.
    Is there a way to do it?
    We used to be able to do so when the system is 4.6.
    I appreciate your support!
    Kind regards

    Dear:
                 You can do that. Execute report FBL3N with desired GL account in it. After when report has been executed right click on it. There will be an option Spread Sheet. Select all available format. In drill down select 08 (Excel in existing XXL format) and press OK. There you will get pivot table option for downloading., Hope this will help you resolve your query.
    Regards

  • Group by problem at pivot table

    Hi,
    firstly i am making a table, everything is ok,
    after i click pivot table, st_desc column writes same value again, i couldnt understand the reason.
    please check my screen shots below,
    http://www.odilibrary.com/index.php/oracle-data-integrator/99-group-by-problem
    kindly advise please

    that my fault
    there is a null at the beginning of the value, they are different,
    sorry

  • Help me regarding pivot table group by

    Hi ,
    i am developing an bi publisher rtf template using ms word .
    i had an issue with pivot table.
    i have a table something like this
    table_code     Indicator1     year     value
    1                    a                2008     20
    1                    a                2009     40
    1                    b                2008     10
    2                    a                2008     20
    2                    a                2008     20
    2                    a                2008     20
    in table view i am doing this .. i am grouping my table by table_code
    <>TABLE_CODE
    INDICATOR1 YEAR VALUE
    INDICATOR1 YEAR VALUE
    By doing so , i am getting all the tables in my database
    like
    1
    indicator      year      value
    a                 2008     20
    a                 2008     10
    a                 2009     20
    2
    indicator      year      value
    a                 2008     20
    a                 2009     20
    b                 2008     20
    . so on
    Now i want pivot table view like
    1
    Indicator    2008   2009    2010
    a                20     30         40
    b                10     40         40
    2
    Indicator    2008   2009    2010
    a               20     30         40
    b               10     40         40
    how can this be achieved??
    how to create a group by in pivot table? where to write the group by clause?
    struck here from 1 week. any help will be appreciated .
    Thank You,
    Sunny.

    i have to use table_code also in the view??
    C H ACCTABLE_CODE
    INDICATOR1
    G YEARE
    G RSTABLE_CODE
    G INDICATOR1
    G 999.00E E
    and where to write the code.outside the table or  on which tag?? and what to write.
    please help me.
    Thanks

  • ADF -11g : Question on how to create a pivot table

    Hi,
    I am trying to create a dynamic pivot table (the number of column and row layers change for each request) and I cannot use a data base structure to back it up.
    I thought of doing it through a managed bean but in order to do it I need to know how to create the PivotTableModel.
    The pivot table model requires a data source object and I do not know how to create it to support multiple row and column layers.
    Is there a default data source object that I can extend, or better yet is there a written example on how to create a pivot table model using a managed bean.
    Thanks,
    Or
    Edited by: user638363 on Dec 18, 2008 7:02 AM

    Hi,
    beyond the documentation, the pivot table is described in
    http://technology.amis.nl/blog/2593/adf-faces-11g-reloading-the-matrix-using-the-pivot-table-component
    http://technology.amis.nl/blog/3786/creating-a-salary-heat-map-with-the-adf-11g-faces-pivottable-component
    http://technology.amis.nl/blog/3673/adf-11g-richfaces-a-closer-look-at-the-pivot-table-data-visualization-component
    I am not aware of any sample that directly meets your requirement
    Frank

  • SSRS matrix click on the count like a pivot table to get details

    Hi,
    I am trying to create a matrix report to work similar to a pivot table, where when a user clicks on the count, the details are displayed. When I add the action to open a sub-report, how do I pass in the parameter values for the group that was selected? meaning
    if in row group- I have company name, and column group I have job title, when the count gets clicked, i need to pass in the company name for the row that was clicked along with the column group. How can I proceed?
    Thanks in advance!

    Hi NewCSharpUser,
    According to your description, you have created a main report which contains company name as row group and job title as column group. And a drill through report which contains company name as a parameter to filter the data. When you click the data region
    in the main report, you want to display corresponding details in the drill through report filtered by the company name, right?
    In your scenario, you could add a “Go to report” action, then specify a parameter to filter the drill through report. Please refer to steps below:
    1. Design the main report like below:
    2. Preview the report.
    Reference:
    Drillthrough Reports (Report Builder and SSRS)
    If the method couldn't meet your requirement, please share you report design and expected results for our analysis.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

Maybe you are looking for