Using attribute property to link to dimension members

New to MDX so no sure if what I'm attempting makes sense or not.      
I want to be able to compare Product A to a related product (I've called it B below)
Product A  Product B     
A               N     
B               M     
C               E     
D               D     
E               C     
M               B     
N               NULL     
Product B is itself a value in Product A, and this is always a One to One relationship.      
Will the following work and how Or am I barking up the wrong tree????      
If I create a calculated member that is a count of sales, can I then also create a calculated member that is a count of sales of Product B that I can use to compare to Product A and slice and dice using the prouct dimension (which uses the Product A relationship?
I did think that I could maybe create Product B as a Attribute Property and then pass this in as the member      
i.e.      
WITH      
MEMBER      
Measures.RelatedProduct AS [Product].[Product].Properties( "Related Product")      
MEMBER      
[Measures].[RelatedSales_Count] AS COALESCEEMPTY(SUM(([Product].[Product].&[Measures.RelatedProduct], [Measures].[Sales_Count])),0)      
SELECT      
{Measures.Sales_Count, Measures.RelatedSales_Count} ON COLUMNS      
, {[Product].[Product]}       
ON ROWS      
FROM      
[ProductSales]      

I ended up doing the following which seems to work :)
WITH
MEMBER  Measures.RelatedProduct AS [Product].[Product].Properties( "Related Product")
MEMBER  [Measures].[RelatedSales_Count] AS COALESCEEMPTY(SUM((StrToMember("[Product].[Product].&[" + Cstr(Measures.RelatedProduct) + "]"), [Measures].[Sales_Count])),0)
This allows me to compare two related products.
Which also means that I can implement something similar to look at sales in week 5 this year to last year where my time dimension is non standard and defined by the sale director (week 5 last year is not the same week 5 this year)....

Similar Messages

  • How can i use a Property as Link in the Resource Renderer Setings

    Hi to all,
    i have created a Propertry with the name SFS_NewsLink.
    The content of this Property is
    http://<server>.<domain>/path/sitemap
    Now, how can i use this property in the Visible Propertis? i dont will use use the default "contentLink" i will use as Link the content from the SFS_NewsLink.
    how can i do this? have envery one any ideas?
    Best Regards
    Thomas

    Hello Thomas,
    You can modify your Collection Renderer and Resource Renderer to achieve this functionality.
    Check this weblog, to get ideas:
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3648
    Greetings,
    Praveen Gudapati

  • Expanding Dimension Members Filtered by another Dimension members property.

    I use BPC for SAP NetWeaver 7.5.
    Iu2019ve FI_ Acc dimension. And on the property FLOWTYPE, I define which FLOW types it uses.
    FI Acc dimension members as follows:
    Cash   (FLOWTYPE: Cashflows)
    Treade Receivales (FLOWTYPE: TRflows)
    Trade Payables (FLOWTYPE: TPflows)
    FLOW dimension members as follows:
        Cas_flows (PARENTH1)
           Cash Openning
           Cash In
           Cash Out
           Cash from Credit
    TR_flows (PARENTH1)
        TR Openning
        TR addition from sales
        TR recived
    TP_flows (PARENTH1)
        TP Openning
        TP addition from purchases
        TP paid
    I want to expand FI_ Acc dimension and according to its FLOWTYPE property it expands FLOWs next to it as follows:
    FI_ Acc              FLOW
    CASH                      Cash Openning
                                   Cash In
                                   Cash Out
                                   Cash from Credit
    Trade Receivables    TR Openning
                                      TR addition from sales
                                      TR recived
    Trade Payables        TP Openning
                                     TP addition from purchased
                                     TP paid
    I have one EVEXP which expands FI_Acc dimension and another EVEXP which expands FLOW dimension. On the FILTER I write [FLOW].currentmember.properties("PARENTH1")=[FI_Acc].currentmember.properties("FLOWTYPE")
    I could not get the result. Where do I make mistake? Is there someone can help me on this issue?
    Or is there any other way to do this?
    Edited by: Recep Budak on Nov 4, 2010 12:25 PM

    Hi Bike,
    According to your description, you want to add another dimension attribute based on the record dimension name, right? If in this case, you can use Case When statement to achieve it. Here is a sample query for your reference.
    With Member [Measures].[Test]
    As
    Case [Product].[Category].CurrentMember.Name
    When [Product].[Category].&[4].Name Then "4"
    When [Product].[Category].&[1].Name Then "1"
    When [Product].[Category].&[3].Name Then "3"
    When [Product].[Category].&[2].Name Then '2'
    Else "Null"
    End
    Select {[Measures].[Test]} on columns,
    [Product].[Category].[Category].members on rows
    from [Adventure Works]
    Results
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • Force OBIEE to display attribute as dimension property and not separate dimension

    Hello,
    I have following question - in my project which utilizes Essbase and OBIEE I am interested in display of attribute as a characteristic of dimension and not as separate dimension.
    OBIEE generates following mdx statement:
    With
      set [_Prod.Manufacturer2]  as '[Prod.Manufacturer].Generations(2).members'
      set [_Product6]  as 'Filter(Descendants([Product], 8), (([Product].CurrentMember.MEMBER_Name = "P3336" OR [Product].CurrentMember.MEMBER_ALIAS = "P3336")))'
    select
      { [Measure].[Volume] } on columns,
      NON EMPTY {crossjoin({[_Prod.Manufacturer2]},{[_Product6]})} properties MEMBER_NAME, GEN_NUMBER, [Prod.Manufacturer].[MEMBER_UNIQUE_NAME], [Prod.Manufacturer].[Memnor], [Product].[MEMBER_UNIQUE_NAME], [Product].[Memnor], [Product].[Alias_table_1] on rows
    from [APP.DB]
    while I am interested in achieving following - where attribute Prod.Manufacturer is displayed as property of Product dimension and not as separate attribute
    With
      set [_Axis1Set] as '{Filter(Descendants([Product], 8), (([Product].CurrentMember.MEMBER_Name = "P3336" OR [Product].CurrentMember.MEMBER_ALIAS = "P3336")))}'
       select
      {[Measure].[Volume]} on columns, {[_Axis1Set]} properties [Product].[Prod.Manufacturer],MEMBER_NAME, GEN_NUMBER, [Product].[Memnor], [Product].[Alias_table_1]  on rows
    from [APP.DB]
    OBIEE generates expected syntax for Alias tables, is same possible with attributes?
    How ?
    thx
    Tomek

    Thanks heaps for your answer, Vladim!
    That's funny, huh? As mentioned, in respect to the Workstatus control, SAP made that functionality available for the Owner property of the Entity dimension (i.e. more than one user can be declared as an owner of a e.g. Cost Center and could hence change a particular Work Status).
    Any ideas for a workaround ?
    Have a good weekend...
    Claus

  • Sorting Attribute dimension members

    Other then reloading attribute dimension members in a different order. Is there a possbility with ODI or the SortMember.cmd utility to perform such a task?
    I ask since I know presently while reloading the attribute dimension with ODI it drops the latest member to the bottom. This is not the order I need it in. I tried to mess with the load in ODI and still no fix. I tried to use the SortMember and it only appears to work on all dimension but currency, period, and years as it reads in the planning admin guide. This is for 11.1.2.1.
    Does anybody have any input? If so please reply.
    Thanks,
    DjSmeadly

    It is one area that has never been addressed so sorting attribute members is not so easy, as far as I aware the sortmember utility does not work on attribute dimensions.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to use visual attribute property for the tab canvas

    Hi all,
    i wanted to use set_tab_page_property ,and a visual attribute property for that
    respective tab page .
    but is saying to many declarations to match up . how will i able to do that.
    can any one helip me out ...
    example....
    i wanted to set the page name (just name of the tab page) red color when i query the form under some conditions .
    can anyone help me out in this.
    thanks in advance
    vardhi

    Hi all,
    i wanted to use set_tab_page_property ,and a visual attribute property for that
    respective tab page .
    but is saying to many declarations to match up . how will i able to do that.
    can any one helip me out ...
    example....
    i wanted to set the page name (just name of the tab page) red color when i query the form under some conditions .
    can anyone help me out in this.
    thanks in advance
    vardhi

  • How to use the FORMAT property of an account dimension

    Hi Experts,
    I tried my best but I just can't find any information about the format property of an account dimension. I know that it is a reserved one and I have seen something such as #,##0. In detail I want inc member to look like 1.000.000 and exp member  like -4.000.0000.
    This is probably a stupid question.
    Thanx in advance,
    Cora

    Hi Cora-
    These are Excel custom formats..please review the following link for detailed information:
    [Custom Number Formats in Excel|http://www.ozgrid.com/Excel/CustomFormats.htm]
    For your specific example:  ###,###,### for INC and  -###,###,### EXP should be sufficient.
    Regards,
    Sheldon

  • Should I use the .do or .uix file as the destination attribute on a link?

    Good Morning all,
    What is the difference in using the .do action file or the .uix file as the destination attribute on a link? Is one preferred over the other? Any clairification would be helpful.
    Thank you

    I've spent considerable time on this myself but from the perspective of a GO vs. a link. Why the difference and what do we gain?
    You really need to understand Struts. I am just beginning to. The stuff that comes with 10g on Struts is the tip of the iceberg. I picked up an O'Reilly book (Jakarta Struts) which actually addresses why one should use an action reference vs a direct link to a page (UIX JSP or otherwise). There are many other useful discussions on the MVC and Struts' place in it.
    Briefly, a link to a UIX page bypasses the controller aspect of Struts and you forfeit the opportunity for extensions/customizations etc and basically violate the MVC blueprint (See sun.com).
    My issue was why do I have to do a DataAction and a forward (as all the Oracle collateral would have you do)when I just need to go directly to a page?
    Struts has a class (org.apache.struts.actions.forwardAction) that allows you to do just that without violating the MVC rules and without having to create all the extra actions and forwards when you just want to go to a page without a DataAction.
    Get the book, well worth the $ vs the frustration.
    Hope this helps somewhat.
    Tom

  • Attribute Dimension members in Planning Data form

    Hi All,
    Can we see Attribute dimension members in Planning data form ? Pls. help

    Yes it is possible in 11.1.1.3, for example in your row select a dimension that has attributes associated with it. select dimension properties next to the down drop.
    Tick "Enable custom attribute display (setting applies to all dimensions with associated attributes): "
    Select the attribute dimension
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Can Linked vector logos be used in CC Libraries across invited team members?

    Can Linked vector logos be used in CC Libraries across invited team members?
    Working in a team of five designers, we currently use libraries to consolidate our many logos for multiple brands.
    It would be great to utilise the CC Libraries now available in Indesign to maintain consistency across applications, however after trying, it seems linked vector files placed into a new CC Library are not linking when shared with my colleagues.
    I have tried linking logos from both our internal server and my desktop and then creating a new CC Library, either way, when opened from an invited user, the logo has no link.
    Only recreating a logo as an Indesign graphic will the logo populate across invited users. i,e copying and paste from illustrator to Indesign, then insert the recreated logo into a CC Library. This isn't ideal especially with the amount of logos we use. 
    Alternatively, adding a logo into a CC Library from Illustrator, the logo is an imbedded file when placed into Indesign. Unsure how these files will behave when sending artwork to print. Again, this isn't ideal, opening every logo in Illustrator to add to a CC Library would be fairly time consuming given the quantity we deal with.
    Does anyone have any thoughts or share the similar views on this?
    Many thanks

    @Designer1976 – if you place an AI logo in InDesign and move that placed logo to a CC Library, it should behave like any other image you move to a CC Library. Other people who have access to your CC Library could place the logo, print it, export to PDF, if the file is available on a mutual network drive or a cloud drive like Dropbox etc. And of course, if the loaded file is synched which can take a moment, if you just moved it to a remote drive in the cloud.
    I tested this with eps file types.
    AI files (PDFs with AI code embedded) placed in InDesign should make no difference.
    However:
    1. If I placed an eps file in InDesign
    2. Moved the eps file to my Dropbox account
    3. Came back to InDesign
    4. Relinked the placed eps with the one in my Dropbox
    (all good now in the perspective of an InDesign document)
    I was not able to add that relinked eps file to my CC Library.
    By trying I only heard a "blip" or so. And nothing was added.
    To make it work, I first had to:
    1. Save the InDesign document
    2. Close the document (maybe optional, can't remember)
    3. Reopen the document (maybe optional, can't remember)
    Then I could add the placed eps to my CC Library.
    After that it worked like it should.
    Not as seamless as it should be…
    Uwe

  • Using intersection of dimension members in a SINGLE column/row name

    I need help understanding how a single row/column name in a report can be populated with an intersection of two different dimension members of an Essbase cube (ASO). For example, suppose I have two dimensions members in my cube - Sales and Qtr1. Now I want to create a single column-name in my Smartview or FR report called "Sales in Qtr1" that would store values for Qtr1->Sales. Also, i want to have a single column name such as (Qtr1->Sales % Qtr2->Sales).
    Is this done via a report script or some other method?
    My report would look as follows:
    Sales in Qtr1 | Sales in Qtr2 | Qtr1 Sales as a percent of Qtr2 Sales
    Region1 100 | 200 | 50%
    Region2 25 | 100 | 25%
    Would appreciate any guidance.
    Thanks.
    Axe

    Getting the data the way you've described is really easy, just nest the dimensions in Excel (or whatever reporting tool), one dimension over the other.
    It's the same for rows as it is columns (okay, in rows instead of columns).
    Essbase is very good about doing asymmetrical reports. Take a look at the DBAG and scroll down for the section labelled "Generating Symmetric Reports" -- the second example shows a asymmetric report.
    Making the label one cell? A bit hard in Excel -- you'd have to create separate retrieve ranges and report ranges or play a game with hiding rows. Very easy indeed in Financial Reports -- you basically hide a row and put whatever custom label you want in the dimension that remains (technically speaking you could hide both rows and do this with a text row -- whatever you prefer -- but I've generally seen this with the former technique.
    Regards,
    Cameron Lackpour

  • Dimension formula using a property

    Currently we have an account formula that works like this...
    Iif([ACCOUNT].[WA_DILUTED_SHARES] = 0,0, [ACCOUNT].[PL_NET_INC]/[ACCOUNT].[WA_DILUTED_SHARES]); SOLVE_ORDER = 100
    This fine when we run a report with time period as 2010.JAN, 2010.FEB,.....  But when run for 2010.TOTAL, we would like the share values to be captured from the Time ID 2010.INP which is where we store the year end diluted shares (WA_DILUTED_SHARES) as 2010.TOTAL is a parent.
    I was thinking of adding a property into the time dimension, say TIME_SHARES with values like this...
    ID                              TIME_SHARES
    2010.JAN                 2010.JAN
    2010.FEB                 2010.FEB
    2010.TOTAL            2010.INP
    Not sure how to define the formula with this property.  Any help appreciated.

    Hi,
    G.Vijaya Kumar is correct about the best approach being to do this on the reporting side.
    As background: You cannot do this in a formula because the Netweaver MDX engine does not support the StrToMember function. So while it is possible to read the property value, there is no way to convert that value into a member (2010.INP) and then look up the amount in the member.
    Sorry
    Ethan

  • How to have multiple default dimension members

    Hi There
    I am using AS2008, when editing a role, under the dimension data tab, under advanced, you can define a default dimension member.
    However i need my default dimension member to be members, i have tried using a attribute set to true for many members and creating a hierarchy.
    But neither works, it seems to randomly pick one Key for a set of members and you cannot use a hierarchy to define members.
    How can i define multiple default members ? what i really want is all members except one.
    Thanx

    We're going to need some more details about exactly what you did because it really sounds like you're making a mistake. This extra attribute should work.
    The only situation I can think of where it might not work as intended is if your new attribute is a property of the state attribute... when you slice by the state attribute, it will override the default member on the new attribute.
    What are your attribute relationships in that dimension? What do you get when you run the following MDX queries?
    with
    member test1 as [Geography].[State].DefaultMember.UniqueName
    member test2 as [Geography].[NewAttribute].DefaultMember.UniqueName
    select {test1,test2} on 0
    from YourCube
    select {} on 0,
    [Geography].[NewAttribute].[NewAttribute].Members
    *[Geography].[State].[State].Members on 1
    from YourCube
    As for the calculated member [Geography].[State].[All].[West], you can add to that to the MDX script (the Calculations tab in the cube designer) and it will be available to all sessions.http://artisconsulting.com/Blog/GregGalloway

  • Automatic creation of new dimension members

    Hello all,
    Bit of a long post so please bear with me.
    I am about to embark on only my third BPC project after having spent several years implementing solutions using BusinessObjects Planning (formerly SRC software), and am still struggling to come up with an elegant solution to the fact that I cannot save data to dimension elements unless they are already explicitly defined in the dimension member list (presumably due to cube architecture).
    Those of you who have used BOP/SRC will remember this as unvalidated dimensions.
    I find having to first go to admin and pre create members before being able to use an input schedule to save data against them is very restrictive.
    I'm hoping one of you guys can help me improve on the workaround I currently use.
    For example I have a 'bid submission' input schedule that is used by the user to submit bids for increased budget, capital or revenue, capturing basic costs and commentary. The user selects a bid number from a combo box which is populated by using an EVLST formula to read in pre created dimension members. I have to save a flag to the db which I then use to exclude already used numbers when feeding the combo box on future submissions.
    Which works ok but if I have a hierarchy on bid number based on say, cost centre, how do I get around the fact that number ranges have to be pre-assigned to cost centre, Cost Centre A = 1 to 1000, Cost Centre B = 1001 to 2000 etc. What happens if I go over the 1000 on Cost centre A? I then get non contiguous ranges per cost centre.
    Is it possible for the bid number to be dictated by the user when they start to fill in the bid submission? Or give the impression that they are?
    Or if the client has a bid number format that cannot be pre created? Eg incorporating things like year or person etc. This information could be save separately but not within the bid number. Is it possible to save data to dimension property columns from an input schedule?
    Hope you guys can help
    Many thanks
    Phil

    Philip,
    few questions.
    Which versio of BPC.
    What is your data Source
    there are few post on the below link you may find helpful
    Please list your Question in short with the tings you want.
    Re: AdminTask_MakeDim.dts
    Thanks

  • Hide unrelated dimension members in cube?

    Hi!
    I have built a dimension that is used by a few cubes. The thing is that the dimension has a lot of members (consist of all articles in the company) and one of my cube is only relating to a few of these dimension members (articles). Which means that I get ALOT of empty members in the cube. Is there anyway that I can "filter out" these members that have no relation in the cube?
    Example:
    The dimension consist of these members: Article01, Article02, Article03. The fact table/cube only got rows/values for Article01 and Article02, but I still got Article03 as a member in the cube. I don't want to have this Article03 dimension member showing up in this cube, but Article03 needs to show in other cubes that uses this dimension.
    Is there any way to solve this problem. Tryed to look after some attributesettings to solve the problem, but couldn't find any? Is this problem even possible to solve or do I have to make a new dimension?
    Thanks in advance
    AndersO

    Just a note on this issue.  It seems to me that it would be a good idea to include a dimension key attribute property that allows a designer to restrict dimension members to only those that are related to at least one row in any fact table-measure group partition it is joined to.  Role playing dimensions (dimensions that are reused over and over again such as location or organization), have many members that only apply to certain "roles" but are managed in one dimension for the purposes of achieving enterprise wide conformation (data linkages across datamarts).  A property to limit members to only those found in the fact table / measure group partition would be great.  I assume from this thread no such property yet exists.
    Cognos Transformer has this.  I like SSAS better but...

Maybe you are looking for

  • Video keeps sliding around, is there a way to LOCK VIDEO???

    I'm working on a cue, and I'm making timing adjustments as I go...sometimes it's the start of the session, sometimes the tempo. The bloody video KEEPS MOVING AROUND. I've made absolutely sure that it's not somehow 'selected' when I make changes. The

  • Problem in pipeline while processing an IDOC

    Hi, I am triggering an IDOC in SAP, when i see the same in moni.. it shows a ">" sign and the Q status column shows a green dot.. Any inputs on this is appreciated.. Thanks in advance.. Karthik.

  • Can I use existing 10g iAS install with Application Express?

    I apologize if this has been addressed somewhere else, but I haven't been able to find a definitive answer yet. I have a 10g DB installed on machine A, and have been following the instructions to install Application Express. Instead of installing ano

  • Finding/copying/saving a stream's url from iTunes

    How can I find and copy or save a stream's url? For example, I'm listening to a radio sation now (in iTunes). I want to find the stream's url and copy it into an email. Why? So that when I send the email, the recipient can just click the link from wi

  • Keeping track of focused sub...subcomponents

    How can a container keep track of whether any of its descendent components gets focus? For example, we do          container1.add(container2);          container2.add(component);and somewhere else call         component.requestFocus();How can contain