Can I use multiple values for a rollup key on the same Endeca record?

We have a business need to to aggregate our records using different criteria, based on user navigation. We are thinking of using a rollup key with multiple values to help with the aggregation, but we are running into some issues.
Here is a made-up xample of what we want to do: assume we have a group of products and these products can be organized into groups using parent-child relationships. We would like to create an aggregate record for each parent, and we want the aggregate record for each parent to include all the children for the parent. To achieve this, we use a field called "parent_rec_spec" that holds the parent record spec and we set the same value on the field for the parent and its children. When we do rollup using the parent_rec_spec as the rollup key, we are able to see one aggregate record for each parent (with its children).
The previous setup worked perfectly for us so far. But now we are getting a business requirement that allows children nodes to be linked to multiple parents at the same time. We were hoping of using another dimension to limit the records based on user roles/characteristics , so that only applicable parents/children are displayed (for example, we can use "market" as an additional filtering property, and we decide to show all parents/children for "North America", while hiding the parents/children for other markets).
This caused an odd behavior when children are linked to multiple parents. For example, assume that SKUs A and B were linked to parents in "North America" and "Europe" at the same time, and assume that the user chose the "North America" market. The navigation state would eliminate the parents/children that are no in North America, and will also cause the parents/children that are labeled for North America to show up and be aggregated correctly. This however will lead to the creation of additional aggregate records for the A and B using the parent_rec_spec values that would have linked them to the Europe parents (even though the parents are hidden away).
Here is an example index file that we used to load the test data:
Update||1
Market||North America
Record Type||Product
Name||Parent 1
rec_spec||P1
parent_rec_spec||P1
EOR
Update||1
Market||Europe
Record Type||Product
Name||Parent 2
rec_spec||P2
parent_rec_spec||P2
EOR
Update||1
Market||North America
Record Type||Product
Name||Child A
rec_spec||A
parent_rec_spec||P1
EOR
Update||1
Market||North America
Market||Europe
Record Type||Product
Name||Child B
rec_spec||B
parent_rec_spec||P1
parent_rec_spec||P2
EOR
Update||1
Market||North America
Market||Europe
Record Type||Product
Name||Child C
rec_spec||C
parent_rec_spec||P1
parent_rec_spec||P2
EOR
Update||1
Market||Europe
Record Type||Product
Name||Child D
rec_spec||D
parent_rec_spec||P2
EOR
In this setup, we have parent P1 marked for North America with children A, B and C, and parent P2 marked for Europe with B, C and D as children. When we use North America as a filter in the navigation state, and parent_rec_spec as the rollup key, then we will see an aggregate record for P1, A, B and C. But we will also see an aggregate record for B and C by itself (presumably because of the other parent_rec_spec value on these records).
The actual data that we are testing with is more complicated, but the end result is similar. We also noticed that the additional aggregate records would not be created always, depending on the ordering of the records.
The question that I need help with is this: is there a way to fine tune the rollup logic so that it can only include certain records (in the example above, we can change the rec_spec from PA and PB to PA_North_America and PB_Europe and then we would be interested in rolling up using values that end with NorthAmerica).
By the way, we considered using separate rollup keys for each context (like parent_rec_spec_north_america and parent_rec_spec_europe), but the number of contexts is dynamic, and might grow large. So it is not easy for us to create the additional properties on the fly, and we are concerned about the possible large number of dimensions.

http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=2&threadid=1157850

Similar Messages

  • Any way to pass Multiple Values for a single Label in the Parameter?

    I have a Report that Contains 2 Parameters, @Customer & @Area. When trying to set up the Available Values for @Area, I'm having issues using multiple values for one Label, i.e. = "4006" Or "4610"
    One of the Filters in the Report is an Operation number, which is the [OPERATION] field, which is setup as a filter on the Tablix referencing the @Area parameter. 
    PROBLEM: I cannot retrieve any data when trying to use the ‘Or’ Operator here. If I simply put “4006” or “4610” I retrieve data, but when trying to combine it returns no data.
    Example, I need to allow a user to select ‘Chassis Incoming’, which would include data from Operations 4006 & 4610.
    QUESTION:
    Any way to pass Multiple Values for a single Label in the Parameter?
    I realize the typical solution may be to use ‘Multi-Value’ selection, but in this case we want the User to select the Area and the multiple values for Filtering will be automatically determined for them. Otherwise, they are subject to not getting
    it correct.
    I have tried several different ways, such as =”4006” Or “4610”, =(“4006”, “4610”), = In(“4006”, “4610”), etc….
    Note: We are using Report Builder 3.0

    Based on my experience, there's no way to 'intercept' the query that gets passed back to SQL Server, so a Split wouldn't work.
    Try creating either a function or stored procedure using the code below (compliments to
    http://www.dotnetspider.com/resources/4680-Parse-comma-separated-string-SQL.aspx) to parse the string: 
    CREATE FUNCTION dbo.Parse(@Array VARCHAR(1000), @Separator VARCHAR(10))
    RETURNS @ResultTable TABLE (ParseValue VARCHAR(100))AS
    BEGIN
    DECLARE @SeparatorPosition INT
    DECLARE @ArrayValue VARCHAR(1000)
    SET @Array = @Array + @Separator
    WHILE PATINDEX('%' + @Separator + '%' , @Array) <> 0
    BEGIN
    SELECT @SeparatorPosition = PATINDEX('%' + @Separator + '%', @Array)
    SELECT @ArrayValue = LEFT(@Array, @SeparatorPosition - 1)
    INSERT @ResultTable VALUES (CAST(@ArrayValue AS VARCHAR))
    SELECT @Array = STUFF(@Array, 1, @SeparatorPosition, '')
    END
    RETURN
    END
    Once created you can do things like this:
    SELECT * FROM Parse('John,Bill,David,Thomas', ',')
    SELECT * FROM (SELECT 'John' AS TestName union select 'David' AS TestName) AS Main
    WHERE TestName IN (SELECT ParseValue FROM dbo.Parse('John,Bill,David,Thomas', ','))
    This is what your SQL query would probably look like:
    SELECT OperationID, OperationName FROM dbo.Operations
    WHERE AreaID IN (SELECT ParseValue FROM dbo.Parse(@Area, ','))
    You may need to fiddle around with the Separator depending on whether SQL Server inserts a space between the comma and next value.

  • Can 2 different users with 2 different Iphones use the same itunes to backup each phone separately? if not how can I have a backup for 2 different iphones on the same laptop?

    can 2 different users with 2 different Iphones use the same itune program to backup each phone separately? if not how can I have a backup for 2 different iphones on the same laptop?

    Here is your answer:
    http://support.apple.com/kb/HT1495

  • Can I use more than one blue-tooth device at the same time on IPhone 4S? Like a wireless headsets and speed and cadence sensor for cycling computer, receive the data and listen music simultaneously

    Can I use more than one blue-tooth device at the same time on IPhone 4S? Like a wireless headsets and speed and cadence sensor for cycling computer, receive the data and listen music simultaneously

    As long as the profiles are different (ex. HID vs AD2P) you will not have any issues. But say if you try to use 2 keyboards at once, it won't work. Or 2 headsets at once. Your scenario seems fine.

  • How can I edit multiple clips with different frame rates on the same timeline

    how can I edit multiple clips with different frame rates on the same timeline

    You do not want to edit material from different frame rates on one timeline. You CAN do this, but it is a very bad idea - and this is why.
    Once you establish the sequence frame rate - lets say it is PAL material at 25fps, any material that you drop into the sequence other than 25 fps will have to be changed to play at 25 fps. If the material you add is NTSC (29.97), FCP will DROP 5 frames per sec to bring the frame rate down to 25 fps. Which 5 get thrown away? Every 6th one. This yields a funky cadence that becomes even more complex as as there are also interlaced fields (DV/NTSC is an interlaced format). Oh, and by the way, the image sizes are different as well. DV/PAL has 576 lines of resolution and DV/NTSC has 480. FCP has to scale up the NTSC to fit the PAL frame.
    You do not want FCP adjusting these things on the fly. You want to do a thoughtful (and time consuming) conversion so that you end up with all your material in one format with the best possible image from the conversion process. Compressor can do an adequate job with Frame Controls turned on. The Natress Standards Conversion FCP plugin is another way to go. A third option is to find a post house that can do the conversion for you using a hardware based process.
    The good news is, once everything is in the same format, editing it will be painless and the output process very quick.
    Whatever frame rate/ image size you select, I'd suggest using ProRes for the codec. It is 4:2:2 color and will withstand color correction and composting with much more grace than any variant of DV based codecs.
    Have fun.
    x

  • HT1386 Can i sync multipler iOS devices like iPad, iPhones on the same iTunes? Can each iOS device have different contents which are subsets of the iTunes complete library

    Can i sync multipler iOS devices like iPad, iPhones on the same iTunes? Can each iOS device have different contents which are subsets of the iTunes complete library

    You can share a library with as many devices as you want but they cannot have seperate subsets like you wish. They would all have access to all information in the library. You could "Manually" sync content to each device by doing the following:
    On Mac: iTunes > Preferences > Devices Tab > Put a check in the box next to sentence that says "Prevent iPods, iPhones, and iPads from syncing automatically > Then click ok.
    On Pc: Edit > Preferences > Devices Tab > Put a check in the box next to sentence that says "Prevent iPods, iPhones, and iPads from syncing automatically > Then click ok.
    To manually sync data from iTunes to devices see article below:
     http://support.apple.com/kb/HT1351
    If you do not want all devices to have access to all the media from the main library, you would need to create a library for each device. See the article below for more info:
     http://support.apple.com/kb/HT1495
    Hope this helps.

  • Can I use two apple TVs in different locations in the same house?

    Can I use two apple TVs in different locations in the same house?

    Welcome to the Apple Community.
    You can use 2 or more Apple Tv's in different locations in the same house. You can even use them at the same time and watch the same content on each or choose different content.

  • Can I connect multiple bluetooth headsets to my iPod at the same time?

    Can I connect multiple bluetooth headsets to my iPod at the same time?

    After 1 or 2 reboot system I managed was enter my MacBook Pro my AppleID and it is connected I managed so to have the flow of "Stream Photo" from my iPhone 4 S to my iPad 2 on the MacBook. But incomprehensible how the function "find my Mac" not recognize the MacBook Pro in "iCloud.com" or App in the iPhone 4 / iPad 2. Thus I do little "see the iMac, iPhone 4 and my iPad 2" and not the Macbook Pro !?!
    I am sorry about my English quality but I'm not English speaking this text is translated by Microsoft Translator.

  • Can I use a shuffle and a 1st gen on the same mac

    I use my 1st gen ipod for pod cast in the car. I want to get a shuffle to take just a few podcast with me when walking. Is it possible to use a shuffle and another i-pod on the same mac. can I manually transfer a couple of pod cast to a shuffle?
    Thanks
    Joe

    Itunes 4.9 is fine but I really would recommend getting the latest Ipod updater they just made another bug fix for the shuffle in the latest Ipod updater. http://www.apple.com/ipod/download/

  • Can I use one GBIP-Interface with two programs at the same time?

    Hi, I have one PCI-GBIP-controller with multiple instruments installed. Now I want to use these instruments with two differents programs at the same time.
    E.g.: program 1 uses GPIB0::1 and GPIB0::3
    and program 2 uses GPIB0::4 and GPIB0::7
    Is this possible??
    When I have tried to do this, I always got timeout errors..
    Thanx in advance.
    Philipp

    Hi,
    You shouldn't have any problems accessing different devices from different programs using the same interface. I even used the two VIs to communicate with the same device. Although not the best approach, VISA didn't return any errors.
    DiegoF.

  • Can I migrate multiple reports to a newer version at the same time?

    If I have an older version of Crystal Reports can I migrate them all to a newer version at the same time?  Is there some documentation that will provide instructions?  I dont' want to have to upgrade them one at a time.
    Thanks - Mike

    There is no utility that will do that for you. Not from SAP. Perhaps some 3rd party (google Ken Hamady), etc. Or, you could create an application in VS .NET or java to do it though.
    But depending on what you are migrating from and what you are migrating to, you may not need to do any updating at all...
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Can't press more than 2 directional arrows keys at the same time

    I just noticed that in the Macbook Pro Retina that I bought recently there's no way to press more than 2 arrow keys at the same time, or at least the system does not seem to handle it.
    All other keys can be pressed at the same time without any problems, so I think that the problem affects only the arrow keys.
    I'm surprised that in a modern computer can exist this type of limitation
    I think Apple should update the system to allow this - car gamers like me will thanks or feel less disappointed...
    Any help would be appreciated!
    Thanks
    GM

    @kalos
    Uninstalled everything PA, also uninstalled mangler which was the only thing that depended on PA. It didn't work anyway.
    No pulseaudio --kill command so I couldn't run.
    Checked systemd journal and there is no mention of PA this time.
    Checked top, and grepped ps aux and there is no PA there either.
    I also rebooted the machine completely just to make sure. However VLC and HTML5 have the same incompatibilities.
    _ vlc Videos/anime/fmab/01.mp4
    VLC media player 2.1.5 Rincewind (revision 2.1.4-49-gdab6cb5)
    [0x1bc30f8] pulse audio output error: PulseAudio server connection failure: Connection refused
    [0x1af4118] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
    Fontconfig warning: FcPattern object size does not accept value "0"
    Fontconfig warning: FcPattern object size does not accept value "0"
    Fontconfig warning: FcPattern object size does not accept value "0"
    Fontconfig warning: FcPattern object size does not accept value "0"
    [0x7fb604001248] main vout display error: Failed to resize display
    But the video and audio did work until I ran some HTML5 video, after which the audio worked, and then I opened it again and it didn't work...
    @nomorewindows
    I see. That's too bad. At least we're not alone.
    Last edited by Greduan (2014-11-14 01:34:29)

  • Can I use multiple IDs for one iTunes and multiple devices

    We have one family computer with iTunes, my older brother has an iPhone and I have an iPhone. A family ID was previously used to purchase songs for the family to share. My older brother has created an apple ID for his iPhone, and l have a yet unused apple ID. my brother downloaded songs etc onto the family iTunes that I would like to share, there are songs on the family apple ID that we would both like. Can you download purchases from multiple apple IDs into one iTunes  account, then sync that data onto multiple phones that each have a separate ID? Is iTunes linked to one ID? Can purchases from multiple IDs be grouped together in our family account. Also do I Actually need a separate Apple for my iPhone to prevent private messages and contacts being shared?
    Thanks for any advice

    I forgot to add my iPhone is brand new and unused, and also that the iTunes account has non purchased songs on there. Can these be shared. As it is a new computer the purchases from the family ID have not been downloaded yet

  • Can I use MD5 value for indexing files ?

    I would like to know if MD5 value for each unqiue file is also unique. I am wonder if U can use MD5 value of a file for indexing. Any suggestion ??

    I would like to know if MD5 value for each unqiue file
    is also unique.No, since the number of MD5 hashes is less than the number of possible files. Of course, if you don't have many files the probability of clashes is pretty low. There's some theory about this which you'll find in algorithms textbooks where they talk about hash tables.
    I am wonder if U can use MD5 value of
    a file for indexing. Any suggestion ??Why? Don't you want your index to tell you something about the contents of the file?

  • Can I Use multiple HTTPHeaders for authentication?

    Hello,
    I got a question about login into portal with HTTP Headers.
    My system has two different reverse proxys with their respective agents of authentication, and each one of them gives me a HTTP Header with a different name, but the content will be always the same: the user name.
    Can I configure a Login Module Stack with two HeaderVariableLoginModules? I guess it's possible, but I'm not really sure. If it's possible, will be something like the next?
    EvaluateTicketLoginModule     SUFFICIENT    {ume.configuration.active=true}
    HeaderVariableLoginModule     OPTIONAL      {ume.configuration.active=true, Header=HEADER1}
    CreateTicketLoginModule        SUFFICIENT     {ume.configuration.active=true}
    HeaderVariableLoginModule     OPTIONAL      {ume.configuration.active=true, Header=HEADER2}
    CreateTicketLoginModule        SUFFICIENT     {ume.configuration.active=true}
    BasicPasswordLoginModule    REQUISITE {}
    CreateTicketLoginModule        OPTIONAL     {ume.configuration.active=true}
    Thank you in advance

    Hi Marc,
    What you have is exactly right - we are using a very similar stack.
    In essence, you can chain any number of authentication modules using the form:
    EvaluateTicket - SUFFICIENT
    Module1 - OPTIONAL
    CreateTicket - SUFFICIENT
    Module2 - OPTIONAL
    CreateTicket - SUFFICIENT
    ModuleN - OPTIONAL
    CreateTicket - SUFFICIENT
    BasicPassword - REQUISITE
    CreateTicket - OPTIONAL
    The principle is that CreateTicket will only be successful if there is a valid user in the context (from the previous Module), so the logic progresses down the stack until a Module correctly gets a user, and then exits with a successful Sufficient CreateTicket.
    The last two lines provide a fallback position which is to allow a username/password login if all else fails.
    Hope this helps,
    Darren

Maybe you are looking for

  • Content Server SQL Server 2000 Connection Error (very annoying)

    All of the diagnostic tests are failing because of SQLServer connection error (see below for diagnosticTests.jsp output). I checked database.content.properties file, all connection information is correct. The portal is running on the same SQL server.

  • Error in Workflow log

    Hi All, I have got very little knowledge of workflows thus seeks the help from all of you. The problem is as folows. When I execute tcode SWI1 and click on any task it goes to the workflow log. When I click on the details of the workflow so the agent

  • Change of costing in mm2 (the field is disabled) -(standard price)

    Hi Gurus change of costing in mm2 (the field is disabled) -(standard price). how to change the standard price ? is there any thing like standard TC. what is consting run? Please let me know any in puts? Thanks Greg

  • Interlace problem or compression artifact?

    Premiere 6.5 XP sp2 Quad-core 266 4 Gb RAM 7200 rpm SATA HDD for video projects I am working on a volunteer project for a local museum wherein some old VHS tapes need to be digitized.  The final video (probably MPEG-2) will be accessible from researc

  • Import procedure confusing, frustrating

    I have a folder with some wave files (created from recording in the basement), and I want to import them into ITunes as MP3s with my own artist name, album name, etc. The only way I can seem to do this is to double click one at a time, pause it, then