MDX: Forming Complex "Structures" (for lack of a better term)

I'm trying to create a "structure" that contains (Customer, Date of First Purchase, Date of Last Purchase) where the last 2 items are members from the same dimension attribute. This structure will form the basis of some more complex logic...for
example, I may have another "structure" containing (Customer, Date of Event1, Date of Event2) that needs to be intersected with the first:
Intersect(
Struct1 (Customer, Date of First Purchase, Date of Last Purchase)
Struct2 (Customer, Date of Event1, Date of Event1)
One option I'm considering (since a tuple cannot contain multiple members from the same dimension attribute according to
this article) to create additional date dimensions with the same relationship to the fact tables and use LINKMEMBER.
Another option would be to create a set consisting of 2 tuples for each customer:
(Customer A, Date of First Purchase),(Customer A, Date of Last Purchase),
(Customer B, Date of First Purchase),(Customer B, Date of Last Purchase),
...and then using some FILTER/GENERATE logic to work through the remaining logic...but I'm not convinced this would be any easier than simply maintaining 2 separate sets:
(Customer A, Date of First Purchase),
(Customer B, Date of First Purchase),
(Customer A, Date of Last Purchase),
(Customer B, Date of Last Purchase),
Any suggestions/recommendations?
Is my approach way off?
BI Developer and lover of data (Blog |
Twitter)

hi,
another idea: take the same attributes from different hierarchies , make  pseudo hierarchies if needed.
Philip,
thanks - that is also a good idea. However, and just like with the option of creating extra role-playing date dimensions, the drawback is that it isn't "dynamic" - I would need to know ahead of time the max number of possible members from the dimension attribute
to include. 
I'm essentially trying to implement complex temporal logic dealing with events in time...and while so far I've only seen the need to have 4 members from the same dimension attribute in a "structure" future requirements may call for more than that.
BI Developer and lover of data (Blog |
Twitter)

Similar Messages

  • It sounds like my hard drive is "leaking" or popping, for lack of a better term.

    First of all, I got a Macbook Pro MD104LL/A 2 1/2 weeks ago and the trackpad started being defective to a point to where it was a pain to mess with. So I ended up swapping it out for another one earlier today. Now after researching a bit, my hard drive (right side of trackpad only) is popping with an occassional loud pop. What is the problem, has anyone else ever had 2 defective macbook's in a row? Man, I've enjoyed the experience, but I've had better luck with windows than this. I am even thinking about just returning the whole purchase in general. How can you pay $2100 dollars for two defective products in a row! I've seen people recommending going into the terminal to do super user codes and downloading a file into the bin directory, which is really easy to do in my opinion. But why would I have to pay 2100 dollars to get into a terminal and download a file in a brand new directory when this problem shouldn't have happened in the first place. If someone has any answer to why this is happening, please help out. I don't want to have to return this, but I guess I might have to for a 2nd time. I guess 3rd times a charm huh?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    In Firefox 4 [http://kb.mozillazine.org/Safe_mode Safe mode] disables extensions and disables hardware acceleration.<br />
    If disabling hardware acceleration works then check if there is an update available for your graphics display driver.
    * Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)

  • My Firefox menus and tabs and text are all warped and slightly out of focus for lack of a better term. What kind of issue is this. I only have the default theme/persona Strata installed. It's quite annoying.

    My tabs and text seem slightly corrupted. There's an apparent curviture to the corners and the tops bow. The text is affected but the font's don't appear to have been edited to different fonts. It looks like some photoshop corruption effect to be honest, but this just happens to firefox everytime I use it now. It comes up normal for a second then 'fades' into this corrupt looking version.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    In Firefox 4 [http://kb.mozillazine.org/Safe_mode Safe mode] disables extensions and disables hardware acceleration.<br />
    If disabling hardware acceleration works then check if there is an update available for your graphics display driver.
    * Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)

  • Passthrough (for lack of a better term) a WRVS4400N

    I already have a Cisco ASA for a firewall, but I need a wirelss and I was recently given a WRVS4400N. But I want the wireless device to have the same IP range on both sides of the router. My LAN uses a 10. range, and of course the linksys wants to assign a different range. I don't want the router to assign IP addresses, I want the ASA to do it.
    I found an article once before on how to do it, but I can't recall how, and I can't figure out what key words I searched with:-(
    Anyone?
    Thanks! Brian

    Hi.
    These products are being handled by the Cisco Small Business Support Community.
     See the complete list here.
    OnnagokorO

  • PICTURE CALLS (for lack of a better term)

    The Droid Razr comes with a front facing camera, but I cannot find the software or the proper app to use during phone calls.
    Can someone give me some in"sight" on it?
    I thank you!!!

    Search video call in the market.  The most popular is Skype, but I think there are a couple others.  Who ever you are calling also needs to have the same thing on their end.  One good thing about Skype in particular is that it can used on a computer as well.  There is nothing that will work for "regular" calls (turn them into video calls).

  • Display a complex structure for edit - BUS_EI_EXTERN

    Good day Everyone
    I need to display a complex structure (BUS_EI_EXTERN) to a user in a BSP and allow the user to change one or more required fields of this structure. I thought about using a recersive algorithm to iterate through the structure and display the table names in a tree. When the user clicks on a node (table) they will get a list of all the attributes of the table which they can edit.
    Would this be the 'easiest' route to go?
    I tried to use LVC_FIELDCATALOG_MERGE to get the attributes of the structure, unfortunantly it flattens the structure, any other way i can try and go through the structure?
    I dont suppose there is a nice function module that already does what i want?
    Thank you for all your help.
    Sincerely,
    Marc

    Hi,
    use function DDIF_FIELDINFO_GET to get the information about any structure/table and in its parameter DFIES_TAB you get the data that you need.
    Later you can build your tree with that data.
    Regards

  • Has anyone ever had a problem with their screen going all "choppy" for lack of a better word. It happens when I go from one window to the next and they sort of mesh together.

    In addition to doing this today my mouse went all crazy and it was like I had no control over it. Once I restarted my computer it was fine. I took it into the genius bar a few weeks ago, but they couldn't find anything wrong with it. If anyone has experienced something similar OR has any idea what in the world might be causing this please let me know!

    Did anyone ever suggest you reset your PRAM?
    http://docs.info.apple.com/article.html?artnum=2238
    Also might want to try resetting the SMC, although I
    doubt there's an issue there.
    http://docs.info.apple.com/article.html?artnum=304123
    I'm getting tired of people who supposedly know what
    they're doing simply guessing that resinstalling the
    OS might solve the issue. It's like trying to dissect
    a frog with a sledge hammer, and wondering why you
    didn't learn anything about anatomy in the process.
    These sorts of things, although bizarre, should be
    (and probably are) fixable without major surgery.
    Thanks for the suggestion... but I think my first question would be why these parameters would need re-setting? This is a new machine... It has never been shut down hard. It is used at most 10 hours per week... mostly using Office 2004 for MAC. I need to figure this out as I will soon need it as a Cs2/CS3 - Aperture workhorse.
    I too agree that it is best not to use a sledge when a scalpel is needed... but as a novice to the MAC world I may have been misled by Apple support. I seems to have fixed the symptoms ( some) but appears NOT to have addressed the cause... which is what I am after.
    Would TechTool Pro detect a bad HD or RAM?
    Thanks....

  • My iPods sound is iffy, for lack of a better word. At times it's fine, but most the time it doesn't work. The volume dials don't show up either. What's wrong with it and how should I fix it?

    My friend said the speakers might be blown, but the sound still works at times. And I'm sure if he speakers were broken then the volume dials would show up as well. So I need help figuring out whys going on.

    - Try cleaning out/blowing out the headphone jack. Try inserting/removing the plug a dozen times or so.
    Try the following to rule out a software problem
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iPod.
    - Make an appointment at the Genius Bar of an Apple store. Seems you have a bad headphone jack or other hardware problem.
    Apple Retail Store - Genius Bar
    If not under warranty Apple will exchange your iPod for a refurbished one for this price. They do not fix yours.
    Apple - iPod Repair price                  
    A third-party place like the following will replace the jack for less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the jack yourself
    iPod Touch Repair – iFixit

  • How to use content conversion for Complex structure

    Hi All,
    I want to know how to use content conversion for the following complex structure:
    Data               
    ...Details            1 to Unbound
    .....Header           1 to 1
    .......HF1
    .......HF2
    .......HF3
    .......ITEM           1 to unbound
    .........ITF1
    .........ITF2
    all are of type string.
    Thanks & Regards,
    Viswanath
    Message was edited by: Viswanath Mente

    Hi,
    In the content conversion,
    give ur
    1.document name as message type
    2.give ur recordstructure as Details,,Header,1,ITEM,
    3.mention ur keyfield.
    conversion parameter
    Header.fieldFixedLength - give the field lengths
    Header.fieldNames=mention all the field name
    Header.keyField=enter the value of keyfield
    Header.endSeparator='nl'
    repeat the same  for Item
    regards
    jithesh

  • Declaration for smart form importing structure

    Hi to all experts,
    I have to create a structure for smart form to declare it in the smart form interface (importing ) .The structure should be of the type below. I tried but getting type mismatch dump ....please help
    DATA: BEGIN OF ZISEG OCCURS 20.
            INCLUDE STRUCTURE ISEG.
    DATA: BTEXT LIKE T064B-BTEXT.          
    DATA: GIDAT LIKE IKPF-GIDAT.          
    DATA: MAKTX LIKE MAKT-MAKTX.        
    DATA: STEXT LIKE T064T-STEXT.        
    DATA: NAME1 LIKE T001W-NAME1.
    DATA: END OF ZISEG.

    Hi Abdul,
    sorry my answer was incomplete.You need to declare two structures,one for u r data retrival(including other 4 fields) and other for the smartform(same as DDIC structure).After retrieving you need to transfer the data from one table to other.
    Hope u got what Iam trying to say,if not PLZ rewert back.
    Thanks & Regards,
    Rock.

  • Error mesg "Generated DDIC structure for form ZPAYSLIP1 contains errors"?

    Hi,
    I tried to create a payslip using TCODE HRFORMS.
    I clicked on Create button, i specified all the details,
    i.e Form Name   
        Country Grouping
        Form Class
    Here i specified Country Grouping as "40". And Form Class as "PAYSLIP"
    After this i saved it. And i tried to Activate it. Its throwing an error message like....
    "Generated DDIC structure for form ZPAYSLIP1 contains errors"
    Any helps.....

    Hi,
    That is CEDT only. I wrote in my thread description of that i.e PAYSLIP...
    Regards,
    Shankar.

  • Complex structures in Sender File adapter

    Hi Experts
    I am working on XI 3.0 SP 22. How do we handle the complex structures in sender file adapter in file content conversion.
    Please help me out.
    Regards
    Hari

    Hi,
    FCC can support upto max 3 levels, find below link for more help
    http://help.sap.com/saphelp_nw70/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
    Content Conversion ( The Key Field Problem )

  • Proper security structure for Single Sign on Server

    We are all used to how we design security structure for vCenter Server if you have had an existing VMware environment prior to 5.1.  Who should have administrative privileges in vCenter Server, what roles, permissions, and so on should be assigned to what users and groups - these questions have already been addressed in our current configuration.
    Now Single Sign on introduces a significant new point of consideration for determining issues of access and authentication.
    I'd like to get some ideas on how this should be handled.  For example, should previous VMware administrators by definition become Single Sign on Administrators? Should the administrators of the Active Directory domain now start to get involved with the Single Sign on Server?
    For example, Single Sign on now forces VMware administrators to configure things like:
    -Password Complexity Policy for SSO
    -Password Expiration for SSO
    -Lockout Policy
    We already probably have these things tightly controlled in AD and locked down with group policy, but you can't apply group policy directly to an SSO server and make it receive a GPO from Active Directory.  (You can make the Windows OS that SSO is running on have a GPO applied, but it won't configure SSO itself, just the OS).
    VMware admins are looking at a new set of questions relating to authentication and authorization.  Someone has to have written something or will be writing something to help us get the big picture of what is changing with SSO if anything and how we need to look at SSO from a security design and best practices.
    Should we just make existing vCenter Server admins SSO admins or do we need to take a step back and reconsider?

    Hello,
    Actually, yes. SSO is fairly robust in 5.5. It has a few limitations around email of expired passwords, but that is mainly because some people do not use them. I use SSO to provide the usernames and passwords for all my VMware vCenter and related product service accounts. I.e. an account for vdp, Horizon, vCops, Log Insight, etc.  This is more about keeping systems segregated once more with no real need for AD for services. But AD via SSO is used by users.
    Read the documentation, and determine how SSO fits into your current password policy and take a long hard look at your virtualization management environment. Is there a 1 service account per service talking directly to vCenter? If not, SSO can help you implement that. The key is to match its functionality to your security policy.
    Best regards,
    Edward L. Haletky
    VMware Communities User Moderator, VMware vExpert 2009, 2010, 2011,2012,2013,2014
    Author of the books 'VMWare ESX and ESXi in the Enterprise: Planning Deployment Virtualization Servers', Copyright 2011 Pearson Education. 'VMware vSphere and Virtual Infrastructure Security: Securing the Virtual Environment', Copyright 2009 Pearson Education.
    Virtualization and Cloud Security Analyst: The Virtualization Practice, LLC -- vSphere Upgrade Saga -- Virtualization Security Round Table Podcast

  • Error while creating Complex Structure

    Hi Friends,
         When I am creating a complex structure with KOMG,KONH,KONP,which are related to pricing conditions data.
    But I am getting the error as "<b>Field name 'ZZEMPL1' can already exist in a subsequent system</b>" for some of the customer fields in the KOMG structure.I am unable to understand what is the subsequent system?
    So please help me to solve this issue.
    Regards,
    Anil

    hi guru,
    just component name as --- your field name.
    where as component type as give just data element k.
    no need to give tablenme-fieldname k.
    component         component type .
    f1                        matnr----
    data element
    thanks anji.
    Moderator message: please do not use SMS speak, what does that "k" mean, short for "OK"? please get your act together, these are professional forums.
    Edited by: Thomas Zloch on Nov 15, 2010 9:10 AM

  • Directory structure for servlets and webservices in one application

    hi,
    Can any one help me for creating servlets and webservices in one
    application and deploying in Jboss 4.2.0.
    I want to know exactly what is the directory structure for creating this
    application and what are the additional .xml files for deploying this application.
    if any one know this answere please tell the answere.

    I figured out a solution - it's a problem of policies. In detail: Server1's codebase entry (file:) refers to the class directory of Server1's project. In the simple case of only Client1, which has no codebase entry, it works fine without a file permission on the side of Server1. In the complex case of Client1+Server2, which has to have a codebase entry (file:) refering to the class directory of the Server2's project on a separate machine, for exactly the same method call from Client1 to Server1 a file permission entry on the side of Server1 is needed for Server1's class directory. But WHY ???
    It seems to be a little confusing with the codebase entries, many of the posts are contrary to others and to my personal experiences. Some comments given by Adrian Colley throw a little light upon some aspects. Is there anybody, who can explain the whole topic, when, why, and which part of RMI application deals with codebase entries, also in case of not dynamic code downloading ? May be there is also a reference into the java docs, which I didn't found up to now.
    Thanks in advance
    Axel

Maybe you are looking for

  • File associations have been lost. Photoshop 2014 CC.

    My file associations were working perfectly. Suddenly they have gone and the normal ways of establishing them do not work. Photoshop, Lightroom and Bridge do not even appear on the list of programmes. If I navigate to the .exe file it does not stick.

  • Blurring of images imported from photoshop?

    I have latest version of iMovie and OS. When I import images from photoshop, I get blurring of the image and sometimes pixilation. I looks normal in the workspace viewer but when I play the timeline the image deteriorates.

  • Cannot load script for execution.

    hi   iam creating  the  sisi package  with in script task . script task   was  build successful .  but when i was executive the ssis packages vs 2012.  it get  error :Cannot load script for execution..  the code is     Microsoft SQL Server Integratio

  • Stupid ArrayLists... or is it me?!

    I have this code in my enqueue class:      int newNode = (_queue.size() + 1);      _queue.ensureCapacity( newNode );      _queue.add( newNode, node ); node is my own node class and queue is defined as ArrayList queue = new ArrayList(); I'm getting a

  • Cisco AnyConnect Secured Mobility Client not saving the VPN url after disconnecting from session/restarting client

    Hello there. I am having a problem with Cisco AnyConnect version 3.1.04072. When one of my colleagues disconnects from the VPN session, closes out the program, and then later on, reopens the client, the address that he manually entered did not save a