Flatten Hierarchy By Filtering Out Unnecessary Limbs

We have numerous hierarchies in our organization that faciliate various reporting views.  Some of those views are slight variations of one another.  One common theme that we have encountered is the need for the same basic view, but with less granularity in terms of rollups.
Example (alphas are limbs, numerics are leafs):
Master Hierarchy
A
     B
          C
               1
               2
          D   
               3
               4
     E
          5
          6
We need to derive a custom export that eliminates all the in-between nodes and just rolls all the leafs up to Node A.
A
     1
     2
     3
     4
     5
     6
This type of flattening may happen at any level within the hierarchy (not necessary all rolling up to the top level).  So we need a somewhat dynamic way to achieve this.  I am thinking that a property could be built to flag certain key levels that are required for the custom export, but still not sure how to get those key levels flagged as parents for the leafs, regardless of which level the leaf is at in the Master hierarchy.
Any thoughts?    

Hi Denzz,
What kind of OR condition could be written that would not only filter certain limb nodes out, but also realign the parent/child relationships accordingly.  For example:
Master Hierarchy
A
     B
          C
               1
               2
          D   
               3
               4
     E
          5
          6
We need to derive a custom export that eliminates rollups C & D.
A
  B 
     1
     2
     3
     4
  E 
     5
     6
I can understand creating a formula/property to filter in or out certain rollups.  But we would also need to effectively change the parent value of 1, 2, 3, 4 to B (instead of C or D).  Are you suggesting a formula that checks the immediate parent for the filter property, and if not found, then go to grandparent, then next grandparent and so on until found?

Similar Messages

  • Hierarchy Node Filtering Challenge

    I'm experiencing a bit of a challenge with creating required report for our business and was wondering if anyone could shed some light on this issue.
    We have a hierarchy.  Within this hierarchy we have nodes A & B.  We want to filter out node A.  However, nodes A & B have one value underneath them in common.  When we apply the filter to exclude node A it is not entirely excluded.  We still get the filtered out node name and the one common value appearing in the report.
    How do we completely filter out node A?  Is it even possible?  If not, why not?

    When you have inserted for the second time the common value what option did you put :
    - copy duplicate node
    or
    - transfer the duplicate node as Link Node ?
    I think that you put the second. Try to put the other one ... I think it will be ok !
    Message was edited by: Aleksi

  • [svn:fx-trunk] 9287: Fixes bug with shader-transition effects ( AnimateTransitionShader, Wipe, and CrossFade) when acting on targets that either have filters or are inside a hierarchy with filters .

    Revision: 9287
    Author:   [email protected]
    Date:     2009-08-13 15:53:43 -0700 (Thu, 13 Aug 2009)
    Log Message:
    Fixes bug with shader-transition effects (AnimateTransitionShader, Wipe, and CrossFade) when acting on targets that either have filters or are inside a hierarchy with filters. Fix was to capture the bitmap snapshot of the target without any of its own filters applied and to then use the ShaderFilter in conjunction with the target's filters during the animation.
    QE notes: Probably need more tests in this area, now that we handle it
    Doc notes: none
    Bugs: sdk-20250
    Reviewer: Jason
    Tests run: Checkintests, Mustella (spark/effects/[AnimateTransitionShader|Wipe|CrossFade])
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/sdk-20250
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransitionShader.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransiti onShaderInstance.as

    Lots to be excited about. BUT...Just updated to 8.1 on one of my computers to test it out...
    Sadly, the following issue is NOT fixed for me. Is it with new projects only?  I haven't started a new project on 8.1 I've only opened an old project but the issue that I'm referring to which involves also a delay/freeze of anywhere from a few seconds to a MINUTE while the render bar goes from yellow to red and then back to yellow is still there. Boo.
    On the list above...
    Switching between sequences can turn the render bar red.
    This issue is incredibly easy to replicate. I really do hope it gets fixed. Here are the steps:
    1) Create two sequences with multiple short clips (the more clips the better)
    2) Make sure GPU acceleration is enabled.
    3) Add warp stabilizer to the clips in both sequences. Again, the more clips the longer the delay/freeze will be as the render bar goes from YELLOW to RED and then eventually back to YELLOW again.
    4) Hit SAVE.
    5) Now, toggle between sequences. You'll hit a short delay with a few clips stabilized and a LONG delay with lots stabilized. In my case this delay is around a full minute. The render bar will go from YELLOW to RED and then back to yellow...eventually.
    6) Toggle back to the original sequence and the delay occurs again.
    7) Once you've toggled between sequences and have gone through this delay, that's it, there is no longer a delay...UNTIL...(and here's the big kicker)...until the project is SAVED again. After that the issue returns when you toggle between sequences. Both saving manually and AUTOSAVING cause this issue. No way around it except not editing with GPU acceleration.
    Not sure what the issue is...caching issue when saving maybe? Either way, it stinks and it's still there in 8.1. Big bummer.
    Again, lots to be excited about with this release but I really was hopefully this specific issue was resolved.
    Sigh.

  • Need help on filtering out one record from a report and open in new page

    Hi I am new and embarrassed to write in the forum asking silly questions. Thing is I am learning all from scratch without help from anyone. I have created a database (have previous knowledge only from Access) and have managed to create a beautiful report from a search filter. This report lines up several records matching what I needed. Now, I want to make the whole report with hyperlinks to a detailed page on each of the records in the report. I have tried using the feature where one can make one column hyperlinked and redirect to a new page, where I am getting all the records again - instead of only getting the record I am clicking on. I have looked and looked in the forums without finding solution and I have tested and tried various methods without luck. I am suspecting that I need some sort of knowledge on how to write a select query with where conditions that can apply to filtering out a record from one report to get another detailed on only one object (i.e. record). :/ Stupid or what?

    Hrefna.
    What you need to look into is two things:
    1) The link you defined, needs to set additional attributes for the target page. In the "Column Link" box, you have set the link to "Page in this Application" and followed by the page number (let's say, Page 10). Below that, you should set an Item to an item on you target page (let's call that P10_PRODUCT_ID). This item should be the primary key of your detail table (on the targe page). You can select this item from the popup list. The Value of the item should be picked from a popup list as well, being the value from the record you clicked on. This should then transfer your selected item to your page. The URL will then have something like P10_PRODUCT_ID:5 at the end.
    2) On the target page, 10, you must change the query slightly, so that it adds a WHERE clause:
    WHERE PRODUCT_ID = :P10_PRODUCT_ID
    Now, you should be set.
    Hope this helps.
    Borkur

  • Create a Navigational Hierarchy for filtering with the Table API

    Hello,
    I've built a WAD report acourding to the how to document: "Create a Navigational Hierarchy for filtering with the Table API".
    It works great but i dont know How to make the hirarchey to show the key and the text.
    Please Advice.
    David

    Hi Kenneth,
    please have a look in the source of the executed Web Application. What is inside of the <div> with the id filter?
    You should also find a td tag with id hier_xyz with xyz the filter inside of the <div>-Tag with id filter.
    Also check whether you have a javascript error.
    Have a look on the Javascript function set_style. Perhaps you can paste it here, than I can have a look.
    Heike

  • Some of my email is getting filtered out so I don't receive them.

    Some of my emails are getting filtered out after it is accepted and received by me.com services.

    How can it be corrected?

  • Pass Prompt values into Legend / '-ALL-' filter filters out all records

    Hi
    I have 2 questions for the same chart so I hope it's OK to add them in one post.
    Firstly I have created a chart & added three Select List filters which work fine, the query is below, problem is that when I change back to '-ALL-' I get no data, it has filtered out all records as no data matches the value of '-ALL-' does anyone know the code to get around this?
    My chart query;
    select null link, P_MONTH AS MONTH, SUM(CALLS) AS data
    from DATA.MAIN_DATA
    WHERE WAREHOUSE = :P1_WAREHOUSE
    AND ANS_UNANS = :P1_ANS_UNANS
    AND PRODUCT = :P1_PRODUCT
    GROUP BY P_MONTH
    As I will have several queries like the one above for different options on the same chart, I would like the Legend to show what the user has chosen each time the options are changed ie;
    Something like the bolded text in the query to display the chosen values in the legend;
    select null link, P_MONTH AS MONTH, SUM(CALLS) AS 'P1_WAREHOUSE' || 'P1_ANS_UNANS' || 'P1_PRODUCT'
    from DATA.MAIN_DATA
    WHERE WAREHOUSE = :P1_WAREHOUSE
    AND ANS_UNANS = :P1_ANS_UNANS
    AND PRODUCT = :P1_PRODUCT
    GROUP BY P_MONTH
    Any ideas/suggests?

    Thanks Andy
    I'm having some problems with applying this so it may be best if I show you how I've applied this code.
    Here's an example of my data on a made up 'EMP' table;
    ENAME     SAL     DEPTNO     DEPARTMENT
    SMITH1     1871     345     DEPT1
    SMITH2     1953     345     DEPT2
    SMITH3     2239     345     DEPT3
    SMITH4     492     345     DEPT4
    SMITH5     2431     345     DEPT5
    SMITH6     2331     345     DEPT6
    SMITH7     1003     369     DEPT7
    SMITH8     1688     370     DEPT8
    SMITH9     2284     371     DEPT9
    So I'm only using one table - 'EMP'
    I've created 2 LOVs, 'DEPTNO' & 'DNAME'.
    'DEPTNO' LOV has the values for the 'DEPTNO' field in the table.
    'DNAME' LOV has the values for the 'DEPARTMENT' field in the table.
    I then created a chart with the below SQL query as its source;
    SELECT NULL LINK,ENAME LABEL,SAL VALUE
    FROM EMP
    WHERE (DEPTNO = :P1_DEPTNO OR :P1_DEPTNO = 0)
    ORDER BY ENAME
    The 'Chart Title' field under the 'Chart Attributes' tab has the below added;
    Department - &P1_DNAME.
    The COMPUTATION is as below;
    SLECT NVL(DEPARTMENT, '-ALL-')
    FROM EMP
    WHERE DEPTNO = :P1_DEPTNO
    Could you advise where I may be going wrong as I have the following errors;
    1. The chart is working OK with the added '(DEPTNO = :P1_DEPTNO OR :P1_DEPTNO = 0)' clause - but I still get no results for '-ALL-'
    2. I can't get the chart to display the current value in the legend - where exactly should I put this line - 'Department - &P1_DNAME.'
    3. The Computation is stopping any data from showing in the chart

  • Ruling/filtering out Activities due for shipping

    Hello.
    First time poster. Tried to search the forums for a solution, but couldn't find apparently.
    In our company, the warehouse has the responsibility of printing out activities, but we would like to filter out any entries that does not have sufficient stock available. As per now, we see a growing list of orders that won't print simply because we do not have the needed materials. We also see orders of return - which is not our responsibility.
    So, is there an option of ruling or filtering out, so that we only see activities due for shipping with available materials?
    Thanks in advance.

    Try TCode VL10A.
    Standard/default CalcRuleDefltDlvCrDt is 2-Today and tomorrow, which will include sales doc due for delivery within Today & Tommorrow.
    (Where, Rule for determining default value for deliv. creation date = CalcRuleDefltDlvCrDt)
    You can also use
    3 for *Due for shipment by the end of next week ( past-due delivs)*+
    4 for Due for shipment tomorrow (includes past-due deliveries)
    Regards
    JP

  • ME92F - Filtering out PO's without a "Rough GR" type of Confirmation Date..

    Dear Colleagues,
    ON ME92F,is there any way in filtering out the PO's that don't have a "Rough GR" date entered into them?
    All help is appreciated,
    PAPJ1.

    Cheers Nick.
    Think I will approach this from a different point of view.Thanks again.
    PAPJ1.

  • EREC: Filtering out locked candidate profiles in the quick search fn

    Hi,
    When a candidate registers in SAP e-Recruiting application, they have two option to set their profile status
    i.e. 'Locked' and 'Released'.
    Locked - Applicant is inactive or not looking for change. So when recruiter does a search, they won't see 'Locked' profiles.
    The requirement is that for the quicksearch option the the locked profiles need to be filtered out.
    I have tried implementing the BADI - HRRCF00_SEARCH_HIDDEN_INFO method RETRIEVE_HIDDEN_INFORMATION( )
    by populating et_hidden_info table for iv_search_task EQ 'quicksearch'. It gives a syntax error "The syntax of your entries in the full text search is incorrect ".
    Is there a way for the locked profiles to be filtered out inorder that recruiters don't see the locked candidate profiles?
    Thanks for your help!

    Hi Sally,
    Thanks for your reply.
    I have verfied if the correction mentioned in the sap note you've mentioned has been incorporated in the system, and I observe that it has been modified per the note.
    I have already added the TREX attributes as below:
        ls_hidden_info-ses_attr_name = me->gc_hidden_info_cand_status. ('hidden_info.candidate_status.key')
        ls_hidden_info-ses_attr_value = me->gc_cand_status_released. ('RELEASED')
    for the iv_search_task EQ 'quicksearch' and appended it to the exp. internal table et_hidden_info.
    After this am getting the error message 'The syntax of your entries in the full text search is incorrect'.
    Many Thanks,
    Wincy

  • Stop unwanted emails that are filtered out on laptop but come to iphone

         stop unwanted emails that are filtered out on laptop but come to iphone

        We don't want pesky emails coming to your phone when you don't want them, kazoojoe. When you have them filtered on your laptop, are you using Outlook to view your email or are they being filtered directly by your email provider on their website? What email service (Yahoo, AOL, etc) are you using?
    JenniferH_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

  • Filtering out non-English characters

    Anyone know of a way to use the Junk Mail filters to filter out email that has non-English characters in the subject line? I get a lot of spam that has either Asian or Russian characters in the subject and body of the email.
    Thanks, Jim

    Jimbot,
    you might want to take a look at Junk Matcher - it allows you to flag mail based on character sets used - it seamlessly integrates with Mail's spam filter - once you have set it up to match your preferences, it should improve Mail's spam filter a lot:
    http://junkmatcher.sourceforge.net/
    Andreas

  • Filtering out specific language in mapping

    Hi all,
    I have an interface IDoc -> PI -> Legacy file system (XML file). There is a string field in source and target messages of the mapping. This field may contain text in English or non-English language. Assume that combination of both will not occur. The legacy file system can accept only English characters. So is it possible to filter out the non-English language and allow only English ? In other words, if the incoming text is in English, it should be mapped ahead. But if it's non-English, then the target field should be mapped with blank.
    It's not feasible to filter out non-English language in source system, as there are some other parties that do want non-English data from that system. Pls advise if there is any easy way to accomplish this in PI. Thanks in advance!
    -Shankar

    Hi ,
    May be given link usefull for you craeting JAVA UDF ..
    http://stackoverflow.com/questions/431159/how-do-i-identify-language-of-a-text-document-in-java
    http://www.codecommit.com/blog/scala/bloom-filters-in-scala
    Regards,
    Amit

  • Filtering out MATMAS IDoc based on a condition

    Hi All,
           We are distributing a Material Master IDoc (Message Type MATMAS / IDoc Type MATMAS05) from an ECC 6.0 (WebAS 700) system to an external Non-SAP system via SAP XI.
           Now our requirement is that the users will maintain a Z-table with all the SAP plants that are relevant for the external system. They can add or delete plants from this table in the future
           If the MATMAS Idoc is created/extended for a plant which is not in the Z-Table then it should not get distributed.
    E.g. If MATMAS IDoc contains plant 5000 and 5000 is not in the Z-Table then the Idoc should not even be created
    We Tried a lot of enhancements: -
    SMOD Enhancement - MGV00001
    Enhancement Spot - ES_SAPLMV01 at different call up points
    But none of them give the required exact result.
    If we implement the enhancement spot inside the function module MASTERIDOC_CREATE_MATMAS, we get a message "1 Master IDoc created, 0 Communication IDocs created". So something is getting created and that's incomplete anyway.
    So I am not sure how reliable this is
    <b>One last approach I have is</b>: -
    1) Send the IDoc to XI (without filtering)
    2) Let XI look at the Plant code and compare with the Z-Table in ECC (via a Z-RFC function module) and then decide whether to send the IDoc or not send it to external system
    Please let me know if my approch is correct or I am missing something here
    Thanks and Regards,
    Aditya

    Hi Aditya,
    If the Communication Idoc is not created it means that the IDOC is not sent out of the system. The Master Idoc creation does not mean the Idoc is sent to the XI adapter.
    The purpose of Restricting at the Plant level will be satisfied if you delete the Idoc data with in the function module MASTERIDOC_CREATE_MATMAS.
    It will work. Consequently you can add an additional check in XI to do this check, but this will increase the number of connections made to R3.
    Hope it helps.
    Thanks,

  • Filtering out "private" tagged images

    I have two questions concerning "Smart albums" in iPhoto 5:
    In my library I have photos that I don't want others to accidently stumble over when looking through my albums, so I created a keyword called "Private" which I tag those photos with.
    I've created an album with a filter rule that matches "Private", displaying only those private photos:
    Match [All] of the following conditions:
    [Keyword] [is]: [private]
    And in my other albums, I've added a filter rule which will not display any "private" photos which would otherwise show up there:
    Match [All] of the following conditions:
    [Keyword] [is not]: [private]
    1) I'd like to use the "private" keyword together with several other keywords in a smart-album. How can I do that? The filters only seem to allow an "all" filter or an "any" filter, not a combination of both "and" and "or".
    Let me explain:
    I would like for all images with "John" and all images with "Lisa" keywords to be shown in that album, but not if they're also tagged as "private".
    What I'm basically looking for (which I can't see being possible in iPhoto) is:
    Match [any] of the following conditions:
    [Keyword] [is]: [John]
    AND
    [Keyword] [is not]: [private]
    OR
    [Keyword] [is]: [Lisa]
    AND
    [Keyword] [is not]: [private]
    2) Adding the filter rule of leaving out any "private" tagged photos from a particular album works fine using the example in the beginning of my message.
    But this means that I have to remember to add it to any smart-album filter that I know will otherwise display those private photos, or add that filter to all of my smart-albums regardless.
    However, isn't there an easier way? Is it somehow possible to do it the other way round: to create a filter that says that "private" images should never be displayed?
    Then, for that one smart-album I do want them displayed I specifically ask for them to be displayed.
    In other words, the default for my library being that "private" images aren't shown in any album.
    I hope some of that was understandable

    Should do. Remember that the Library Filter is a *filter*, so fitlering the current assets. To be certain you've got all videos, make sure All Photographs is selected in the top left panel.
    Alternatively, you can set up a smart collection.

Maybe you are looking for