Substitution Variable across two dimensions

Hello,
I was wondering if we could define a single substitution variable across two dimensions. For instance, we have two dimensions Year (FY10,FY11,FY12, etc) and Period (QTR1, JAN, FEB, MAR, QTR2...)
I understand we can define a range of values in a single subvar such as &period is Jan:Dec.
However, given the above two dimensions we would like something like this Jan.FY10:Dec.FY13. I know this would be easier if years and months belonged to the same dimension but they are two different dimensions. So, essentially we want to define a single subvar involving two dimensions.
Please let me know, if this is possible on Essbase 9.
Thank you.
Edited by: user10678366 on Sep 15, 2010 9:56 AM

Thanks for all your responses. As Gary and Srinivas pointed out @XRANGE definitely works with a subvar with a few limitations;
1. Cannot be used in a FIX statement
2. For accurate months across different years, the order of the subvar should be FY11->FEB, FY13->DEC and not not FEB->FY11, DEC->FY13 since in my db, the Period dimension is DENSE and appears before the YEARS dimension in the outline.
3. It works in a IF statement
However one lingering issue I have is with a @PRIOR statement on conjunction with @XRANGE within my IF statement:
Note: subvar &RANGE = FY11->FEB, FY13->DEC
STAT1(
IF(@ISMBR(@XRANGE(&RANGE)))
IF(STAT1 = 20)
STAT1 = @PRIOR(STAT1)
ENDIF
ENDIF
The problem is STAT1 gets calculated accurately for all months for that year. However, all months the following year donot get calculated. So, essentially the BEGBALANCE (also at level 0) doesnt get calculated for the next year. Here an illustration of before and after:
          FY11     FY12     FY13
Stat1     BegBalance               
     Jan     #MI     #MI     #MI
     Feb     #MI     #MI     #MI
     Mar     #MI     #MI     #MI
     Apr     #MI     #MI     #MI
     May     #MI     #MI     #MI
     Jun     20     #MI     #MI
     Jul     #MI     #MI     #MI
     Aug     #MI     #MI     #MI
     Sep     #MI     #MI     #MI
     Oct     #MI     #MI     #MI
     Nov     #MI     #MI     #MI
     Dec     #MI     #MI     #MI
Stat1     BegBalance     #MI     #MI     #MI
     Jan     #MI     #MI     #MI
     Feb     #MI     #MI     #MI
     Mar     #MI     #MI     #MI
     Apr     #MI     #MI     #MI
     May     #MI     #MI     #MI
     Jun     20     #MI     #MI
     Jul     20     #MI     #MI
     Aug     20     #MI     #MI
     Sep     20     #MI     #MI
     Oct     20     #MI     #MI
     Nov     20     #MI     #MI
     Dec     20     #MI     #MI
The expected result is:
Stat1     BegBalance     #MI     20     20
     Jan     #MI     20     20
     Feb     #MI     20     20
     Mar     #MI     20     20
     Apr     #MI     20     20
     May     #MI     20     20
     Jun     20     20     20
     Jul     20     20     20
     Aug     20     20     20
     Sep     20     20     20
     Oct     20     20     20
     Nov     20     20     20
     Dec     20     20     20
So, essentially though the @XRANGE takes into account BegBalance and calculates for each year based on prior year->dec, which is good. However, introducing the @PRIOR doesnt calculate BegBalance. Looks like I dont have any option other than using @MDSHIFT instead of @PRIOR when it comes to using @PRIOR with @XRANGE.
Unless I am incorrectly using the @PRIOR statement with @XRANGE. Please suggest.

Similar Messages

  • How to get Distinct Count of Products across two dimensions

    Hi,
    I have two dimensions, Item and Presentations. I need to get distinct count of products for IMD_Id + Merc_Pres_Id. IMD_Id is the lowest member in Item and Merc_Pres_Id is lowest in Presentation. My MDX query is given below but when I apply filters to
    slice it, it does not work and does not give right count. It always gives the count for all.
    /* Last Year Demand - Demand for 12 months back of selected months */
    With
    Member [Measures].[LYDemand]
    as
    Sum(
    Generate(
    EXISTING[All Date].[Fiscal Month Name].[Fiscal Month Name].Members,
    {parallelperiod([All Date].[Fiscal Month Name].[Fiscal Month Name], 12
    ,[All Date].[Fiscal Month Name].CurrentMember)}
    ,[Measures].[Proj Demand]
    /* Last to last Year Demand - Demand for 24 back of selected months */
    Member [Measures].[LLYDemand]
    as
    Sum(
    Generate(
    EXISTING[All Date].[Fiscal Month Name].[Fiscal Month Name].Members,
    {parallelperiod([All Date].[Fiscal Month Name].[Fiscal Month Name], 24
    ,[All Date].[Fiscal Month Name].CurrentMember)}
    ,[Measures].[Proj Demand]
    /* Current Year Active Products */
    Member [Measures].[CYCount]
    as
    CASE
    WHEN
    [Measures].[Proj Demand] > 0
    THEN
    DistinctCount(Existing(([All Items].[IMD Id].[IMD Id],[All Merchandise Presentations].[Merch
    Pres Key].[Merch Pres Key])))
    ELSE
    NULL
    END
    /* Last year Active Products */
    Member [Measures].[LYCount]
    as
    CASE
    WHEN
    [Measures].[LYDemand] > 0
    THEN
    DistinctCount(([All Items].[IMD Id].[IMD Id],[All Merchandise Presentations].[Merch Pres Key].[Merch Pres
    Key], [All Items].[Style Name].CurrentMember, (StrToMember('[All Date].[Fiscal Month Name].&[201401]',CONSTRAINED).Lag(12)
    : StrToMember('[All Date].[Fiscal Month Name].&[201411]',CONSTRAINED).Lag(12))))
    ELSE
    NULL
    END
    /* Last to last Year Active Products */
    Member [Measures].[LLYCount]
    as
    CASE
    WHEN
    [Measures].[LLYDemand] > 0
    THEN
    DistinctCount(([All Items].[IMD Id].[IMD Id],[All Merchandise Presentations].[Merch Pres Key].[Merch Pres
    Key], [All Items].[Style Name].CurrentMember, (StrToMember('[All Date].[Fiscal Month Name].&[201401]',CONSTRAINED).Lag(24)
    : StrToMember('[All Date].[Fiscal Month Name].&[201411]',CONSTRAINED).Lag(24))))
    ELSE NULL END
    SELECT
    [Measures].[CYCount], [Measures].[LYCount], [Measures].[LLYCount],
    [Measures].[Proj Demand],[Measures].[LYDemand],[Measures].[LLYDemand]
    ON
    COLUMNS,
    Non
    Empty([All Items].[Demand Center Name].[Demand Center Name], [All Items].[Style Name].[Style Name])
    ON ROWS
    FROM
    (SELECT (StrToSet('[All Items].[Style].[ALL]'))
    ON COLUMNS
    FROM
    (SELECT (StrToSet('[All Items].[Demand Center].[ALL]'))
    ON COLUMNS
    FROM
    (select (STRTOSET('[All Items].[Merch Group].&[MG-110]'))
    on Columns
    FROM
    (SELECT (StrToSet('[All Merchandise Presentations].[Merch Pres Chnl Dkey].&[MPC-1]'))
    ON COLUMNS
    From
    [FMI Forecasting]
    WHERE {strToMember('[All Date].[Fiscal Month
    Name].&[201401]',CONSTRAINED) :
    StrToMember('[All Date].[Fiscal Month Name].&[201411]',CONSTRAINED)}
    Requirements are as follows:
    1. Distinct Count should not include products where Proj Demand is 0, when I am using Filter function to remove products with 0 demand, query is really slow and execution time goes up from 35- 40 secs to 8-9 Minutes.
    2. When we apply filter (parameters) Distinct Count should be in the context of filters( which are mentioned in the select statement like Style, Demand Center and Merch Group). Currently after applying filters count does not change.
    Thanks for help.

    Hi Skd78,
    Thank you for your question. 
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated. 
    Thank you for your understanding and support.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Substitution variable not working

    I have used a substitution variable for year dimension in my forms but when i changed its value from EAS console and refreshed the database it did not changed the value in the forms on which substitution variable was being used. Am i missing any step in between? Kindly guide me how to resolve this issue.
    Regards,

    Substitution variables are cached and they should be refreshed from essbase after 5 minutes by default, more information at :- http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/ch07s05.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Essbase substitution variable used for SQL Dimension load-URGENT

    Hi All,
    I am creating one dimension through SQL Dimension load rule writing by parent child build rule. The SQL query is like below---
    distinct trim(dist_mobile),trim(ret_mobile) from dist_retailer al1 where al1.proc_dt=to_date(&Proc_date,'dd/mm/yyyy')
    When I fixed the value of proc_date (e.g.- '27/09/2008') then it is retrieving data properly, but when I try to make the same as a essbase variable as shown above (to give user the priviledge to select for which date data will be fetched from RDBMS to create the dim) and after setting the aforesaid value of that variable in essbase subs var screen and click 'OK/Retrieve' in rule,it is returning no rows executing the query as well as no error coming.
    I guess in query nothing is wrong but the subs variable part is not working. Can anybody please give some insight to resolve the problem.
    In this context, I would like to mention that I will have to use substitution variable in some other rule file also to automate the load process. How can I use essbase subs variable in SQL load rule? Could you please show me a proper summarise query illustrating how to use the subs var in aforesaid purpose for the sake of understanding?
    Thanks in advance.

    Hi,
    Sorry for delayed response. Appreciate your inputs. At last I have found out the solution which is as below----
    distinct trim(dist_mobile),trim(ret_mobile) from dist_retailer al1 where al1.proc_dt=to_date('&Proc_Dt','dd/mm/yyyy')
    after setting the substitution variable as Proc_Dt and set the value as 27/09/2008 (without any quotation mark or such sign) now I checked and now it is retrieving fine.
    Thanks & Regards.

  • Substitution Variable in Cross Referencing dimensions

    Hi All,
    Can we use substitution variable for cross referencing dimensions.
    Example:
    "Region" = &currmth->&curryear->"New York";
    Thanks in Advance
    Bal.

    Hi John,
    If I use substition variable the answer/value for 'DOM' comes vague. If I hardcode the variables, the values for 'DOM' it comes perfect/accurate.
    Can you please help sir ?
    The Calc script is (Hardcoded value are Sep, FY09,Budget)
    //ESS_LOCALE English_UnitedStates.Latin1@Binary
    SET CACHE HIGH;
    SET LOCKBLOCK HIGH;
    SET AGGMISSG OFF;
    SET UPDATECALC ON;
    SET CREATEBLOCKONEQ ON;
    /* Material Expenses Allocation */
    FIX(&xscenario,&xyear,&xmonth,"NoLocation","NoModel",&xversion,@LEVMBRS("KD PARTS TOTAL",0),@LEVMBRS("VEHICLES",0))
    "DOM" = ("Sep"->"FY09"->"Budget"->"NoRegion"->"InputVersion") * ("Indigenous component cost-Domestic-%"->"REGION"->"ENTITY"->"Budget"->"Sep"->"LOCATION"->"MODEL"->"FY09"->"InputVersion")/100;
    ENDFIX
    Many Many thanks in advance.
    Bal

  • A dimension table outer join across two databases

    I have two databases of the same schema but may have different data that I would like to do comparisons on. For this discussion, each has two tables, Dimension and Fact. I created a common dimension which would show dimension data that exists on both databases. However, I want a common dimension which is a full outer join of the two Dimension tables that can be used to view data on the Fact tables on the two databases; this seems to be a little difference than a fact which may having missing value, isn't it? should this outer join occurs at the physical or logical? Can I even do it at physical if the data are from two different source? Any recommendation on what is the best way to do so? Thanks

    It depends on how you are defining your BM. Always, BM is for creating joins on folders within BM, in the sense that each folder can contain data from within multiple databases. So, create it in Physical layer and also create new joins for your defined facts dimensions in BM. But remember, cross database joins are not recommended. If both your schemas reside on 2 different oracle databases, you would be better off creating a single view (by creating a dblink between these 2 databases). So, create a single view and include that in the physical layer.
    Thanks,
    Venkat
    http://oraclebizint.wordpress.com

  • Issue with rule file and Substitution variable

    Hi All,
    I am using Essbase 9.3.3
    I created a rule file with 5 dimensions in which 3 dimensions I defined in columns and two dimensions I gave it as header in data column with comma seperated.
    Among those two dimension members, one is an account member with "/" in it within quotes and other is a substitution variable.
    The member assigned for that Substitution variable has a space in between and is updated within quotes in variables list.
    When I try loading data, I am getting an error saying that two members are not valid.
    Eg: "Tax/Unit",&Scenario is not valid.
    &Scenario - "Budget Q1"
    Can some one please suggest on the issue.
    I am not facing any problem in calc scripts or reports scripts using the substition variable.
    Thanks in advance

    Mark,
    Modifying the default files is dangerous and ill advised. You could always just add a style sheet (inline or linked) to your application that overrides that one setting while you wait on the permanent fix.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen

  • Substitution Variable update issue

    Hi,
    I am using Essbase 9.2.0.3. I have noticed a problem afetr updating Substitution Variable.
    The calculation script which uses the Substitution Variable works well after updating the variable.
    But the Member formula doesn't work, unless we restart the application .The member formula is in Period dimension to calculate QTD/YTD.
    Formula is: QTD=@MEMBER(@CONCATENATE (QTD,&ActEnd));
    Have anyone come across this? why the outline formula is not taking the updated value fronm Substitution Variable?
    Thanks,
    Tarini

    Hi,
    I reported this issue to the support and it was classified as: Bug 13072601: USING SUBSTITUTION VARIABLES IN FORMULAS OF OUTLINE MEMBERS.
    But as support didn't see this behavior as unusual or as a bug I went deeper and requested for enhancement. I asked them if it is possible to introduce a config setting which would switch on/off automatic updates of subs vars in outline as well as in partitions.
    Status is: Approved for Future Release, but there is no fixed version available yet.
    The ER# is: 13107378: AN ESSBASE CONFIG SETTING WHICH MAY SWITCH ON/OFF AUTOMATIC UPDATES OF SUBSVARIA
    So anyone interested can requested them for status.
    Regards,
    Adam

  • Outline Order, Calc Script Performance, Substitution Variables

    Hi All,
    I am currently looking in to the performance side.
    This is mainly about the calculation script performance.
    There are lot of questions in my mind and as it is said you can get the results only by testing.
    1. Outline order should be from least sparse to most sparse
    (other reason : to accomodate as many sparse members in to calculator cache) correct me if I am wrong
    2. Is Index entry created based on the outline order. For example I have outline order as Scenarios, Products, Markets then does my index entry be like scenario -> Products -> Markets ?
    3. Does this order has to match with the order of members in FIX Statement of calculation script?
    4. I have 3 sparse dimensions. P (150 members), M (8 members), V (20 members).
    I use substitution variables for these three in the calculation script. And these three are the mandotary things in my calculation script. Now when I see the fix statement, these three are the first 3 parameters of the fix statemtn and since I am fixing on a specific member, placing these three members as the first 3 sparse dimensions in the outline, ill it improve performance?
    In one way, I can say that a member from P, M,V becomes my key for the data.
    Theoritically if I think, may be it will...but in practical terms I don't see any of such thing.. Correct me If my thinking is wrong.
    One more thing, I have a calc script with say around 10 FIX statements and this P,M,V is being used in every FIX statemnts. Since my entire calculation will be only on one P, one M, one V. Can I put everything in one FIX at the beginning and exclude it from remaining FIX statememts?
    5. I have a lot of cross dimensional operations in my calc scripts for accounts dimension (500 + ) members.
    Is there a way to reduce these?
    6. My cube statistics..
    Cube size : 80 GB +
    Block Size : 18 KB (Approx)
    Block density : 0.03 . This is what I am more worried about. This really hurts me.
    This is one of the reason why my calculation time is > 7 hours and some times it is horrible when there is huge amount of data (it takes aound 20 + hours) for calculation.
    I would be looking forward for your suggestions.
    It would be really apprecialble if It is Ok to share your contact number so that I can get in touch with you. That could be of great help from your side.

    I have provided some answers below:
    There are lot of questions in my mind and as it is said you can get the results only by testing.
    ----------------------------You are absolutely right here but it helps to understand the underlying principles and best practices as you seem to understand.
    1. Outline order should be from least sparse to most sparse
    (other reason : to accomodate as many sparse members in to calculator cache) correct me if I am wrong
    ----------------------------This is one reason but another is to manage disk I/O during calculations. Especially when performing the intial calculation of a cube, the order of sparse dimensions from smallest to largest will measurably affect your calc times. There is another consideration here though. The smallest to largest (or least to most) sparse dimension argument assumes single threading of the calculations. You can gain improvements in calc time by multi-threading. Essbase will be able to make more effective use of multi-threading if the non-aggregating sparse dimensions are at the end of the outline.
    2. Is Index entry created based on the outline order. For example I have outline order as Scenarios, Products, Markets then does my index entry be like scenario -> Products -> Markets ?
    ----------------------------Index entry or block numbering is indeed based on outline order. However, you do not have to put the members in a cross-dimensional expression in the same order.
    3. Does this order has to match with the order of members in FIX Statement of calculation script?
    ----------------------------No it does not.
    4. I have 3 sparse dimensions. P (150 members), M (8 members), V (20 members).
    I use substitution variables for these three in the calculation script. And these three are the mandotary things in my calculation script. Now when I see the fix statement, these three are the first 3 parameters of the fix statemtn and since I am fixing on a specific member, placing these three members as the first 3 sparse dimensions in the outline, ill it improve performance?
    --------------------------This will not necessarily improve performance in and of itself.
    In one way, I can say that a member from P, M,V becomes my key for the data.
    Theoritically if I think, may be it will...but in practical terms I don't see any of such thing.. Correct me If my thinking is wrong.
    One more thing, I have a calc script with say around 10 FIX statements and this P,M,V is being used in every FIX statemnts. Since my entire calculation will be only on one P, one M, one V. Can I put everything in one FIX at the beginning and exclude it from remaining FIX statememts?
    --------------------------You would be well advised to do this and it would almost certainly improve performance. WARNING: There may be a reason for the multiple fix statements. Each fix statement is one pass on all of the blocks of the cube. If the calculation requires certain operations to happen before others, you may have to live with the multiple fix statements. A common example of this would be calculating totals in one pass and then allocating those totals in another pass. The allocation often cannot properly happen in one pass.
    5. I have a lot of cross dimensional operations in my calc scripts for accounts dimension (500 + ) members.
    Is there a way to reduce these?
    -------------------------Without knowing more about the application, there is no way of knowing. Knowledge is power. You may want to look into taking the Calculate Databases class. It is a two day class that could help you gain a better understanding of the underlying calculation principles of Essbase.
    6. My cube statistics..
    Cube size : 80 GB +
    Block Size : 18 KB (Approx)
    Block density : 0.03 . This is what I am more worried about. This really hurts me.
    This is one of the reason why my calculation time is > 7 hours and some times it is horrible when there is huge amount of data (it takes aound 20 + hours) for calculation.
    ------------------------Your cube size is large and block density is quite low but there are too many other factors to consider to simply say that you should make changes based solely on these parameters. Too often we get focused on block density and ignore other factors. (To use an analogy from current events, this would be like making a decision on which car to buy solely based on gas mileage. You could do that but then how do you fit all four kids into the sub-compact you just bought?)
    Hope this helps.
    Brian

  • Can I use a variable across events?

    Hi there,
    SDK newbe! I'm successfully parsing an GroupWise WebAccess event log.
    At the beginning of each days log is a line with the server name and IP
    address. Subsequent events only have the date/time and event message.
    How can I capture the name and IP of the sever and then use it for
    SourceIP and SourceHostName for all the other subsequent events?
    if (this.s_RXBufferString.search(/^.*?IP Address: (\w+) \((.+)\)/) !=
    -1) {
    /^.*?IP Address: (\w+) \((.+)\)/.exec(this.s_RXBufferString);
    var InitSrvr = RegExp.$1;
    var InitSrvrIP = RegExp.$2;
    this.evt = "Test_IP_Variable";
    this.bm = this.s_RXBufferString;
    this.sip = InitSrvrIP; //This does work
    this.shn = InitSrvr; //This does work
    this.sun = ("KirkWasHere " + InitSrvr);
    instance.SEND_EVENT = true;
    return true;
    // give the following a try. $1-$3 are mm-dd-yy, $4-$6 are hh-mm-ss,
    else if (this.s_RXBufferString.search(/(\d{2})-(\d{2})-(\d{2})
    (\d{2})\d{2})\d{2}) (Login failed): (\S+)/) != -1) {
    /(\d{2})-(\d{2})-(\d{2}) (\d{2})\d{2})\d{2}) (Login failed):
    (\S+)/.exec(this.s_RXBufferString);
    this.evt = RegExp.$7;
    this.sun = RegExp.$8;
    this.sip = InitSrvrIP; //This does not work?
    this.shn = InitSrvr; //This does not work?
    this.bm = this.s_RXBufferString;
    this.sev = "3";
    instance.SEND_EVENT = true;
    return true;
    kmaule
    kmaule's Profile: https://forums.netiq.com/member.php?userid=306
    View this thread: https://forums.netiq.com/showthread.php?t=46902

    kmaule,
    First, ARGH! Why can't systems create audit data? Or if just logging
    data, why can't they do something sensible like have a date in there like
    everything else? *sigh*
    Okay, I feel better now. I have not tried either of the following ideas,
    but I want to share them so you can figure them out and hopefully post
    back their feasibility. I'm hoping to have time to test this next week,
    but who knows with how things have been lately... busy busy. Here are the
    two ideas:
    1. Collector development has the idea of a 'Session' object which is made
    to span across two events. This is useful when you need to link two
    original events to create one Sentinel events, such as with OES and
    filesystem auditing; in that case the OES system sends three lines per
    filesystem event and Sentinel must group them to create one Sentinel
    event. Similarly, eDirectory object-create events are actually two events
    (object create without object class, and add-value with the object class)
    that become one in Sentinel (eDir auditing is just THAT lost-level...
    crazy) and also LDAP events from eDir consist of the LDAP Request event
    and the LDAP Response event. Session objects make this possible, but they
    are meant to exist for a short period of time (I think usually one second
    or so, though they have a customizable timeout as I recall) and are meant
    to be created and then used when other conditions are satisfied. My hope
    is hat you can abuse this functionality to store a variable between events
    and then nuke the old session object when a new date comes through. More
    on sessions:
    http://www.novell.com/developer/plug..._sessions.html As I
    read more about this I think it's not going to be as possible as I
    thought. Hmmmm
    2. Set a variable on the collector object somehow, and I mean in-memory,
    not in the hard-coded plugin or something. I need to get the debugger
    going to see how this could work, but the problem with your local
    variables is that they're local variables, so they do not persist when the
    current variable scope (the current function/method) returns to whatever
    called it, so the next time something calls it then they are brand new
    again. The logic needs to set these variables somewhere that will persist
    (Session or collector object instance level) so that it can be retrieved
    from there for each subsequent event.
    Other dirty things I would not recommend, but which may work. I believe
    you can get at dynamic list data in collectors. You could potentially
    store the date there when it comes in and then retrieve it on subsequent
    events.
    Other dirty things... use the current date for everything. Pulling this
    up in code should be trivial, but it implies that events come in on the
    current date. That's probably a safe assumption 99.99% of the time, but
    some events may come in wrong at the start of a new day, though you could
    add logic to help with that too.
    Ideally GW needs better logs, and more than that it needs a true auditing
    interface of some kind.
    Good luck.
    On 02/21/2013 08:54 AM, kmaule wrote:
    >
    > Hi there,
    >
    > SDK newbe! I'm successfully parsing an GroupWise WebAccess event log.
    > At the beginning of each days log is a line with the server name and IP
    > address. Subsequent events only have the date/time and event message.
    > How can I capture the name and IP of the sever and then use it for
    > SourceIP and SourceHostName for all the other subsequent events?
    >
    > if (this.s_RXBufferString.search(/^.*?IP Address: (\w+) \((.+)\)/) !=
    > -1) {
    > /^.*?IP Address: (\w+) \((.+)\)/.exec(this.s_RXBufferString);
    > var InitSrvr = RegExp.$1;
    > var InitSrvrIP = RegExp.$2;
    > this.evt = "Test_IP_Variable";
    > this.bm = this.s_RXBufferString;
    > this.sip = InitSrvrIP; //This does work
    > this.shn = InitSrvr; //This does work
    > this.sun = ("KirkWasHere " + InitSrvr);
    > instance.SEND_EVENT = true;
    > return true;
    > }
    >
    > // give the following a try. $1-$3 are mm-dd-yy, $4-$6 are hh-mm-ss,
    > else if (this.s_RXBufferString.search(/(\d{2})-(\d{2})-(\d{2})
    > (\d{2})\d{2})\d{2}) (Login failed): (\S+)/) != -1) {
    > /(\d{2})-(\d{2})-(\d{2}) (\d{2})\d{2})\d{2}) (Login failed):
    > (\S+)/.exec(this.s_RXBufferString);
    > this.evt = RegExp.$7;
    > this.sun = RegExp.$8;
    > this.sip = InitSrvrIP; //This does not work?
    > this.shn = InitSrvr; //This does not work?
    > this.bm = this.s_RXBufferString;
    > this.sev = "3";
    > instance.SEND_EVENT = true;
    > return true;
    >
    >

  • Conditional suppression using substitution variable in Hyperion financial r

    Hi all,
    Is there a way that I can suppress a column using substitution variable in hyperion financial reporting?
    For eg, i want to suppress the column if the value of the substitution variable curr_mnth = jun.
    Is there a way to do this? In conditional suprression dialog box, I dont find this option.
    Please suggest.
    Your response is appreciated.
    Thanks,
    Sirisha.

    Hi Sirisha
    In my earlier reply I think I may have mislead you as I thought that you could set the member name equal to that in a row/column and I've managed to get into a HFR studio session this morning and realised that the conditional suppression only allows you to suppress where member name = 'XXX' (specific text) so that doesn;t meet your requirement.
    Different people will have different ways of achieving what you want and everyones requirements are different. If it helps my preferred way of conditionally suppressing periodic data (for Planning/Essbase) is to add a dynamic calc account member called 'TP-Index' into the database, set up a formula so that each period returns a numeric value from 1 to 12 to match the fiscal/calendar year as required.
    Then in reporting bring the account and period dimensions into rows/columns so that you are able to retrieve data for the TP-Index account and the period as defined in your substitution variable. You can then choose how the suppression works based on a numeric value, commonly you may want to suppress if greater than, e.g. you have a multi-period report where your actual data is to June so you want to suppress everything from July onwards.
    I'm sure that a similar thing could be achieved in HFM as well if that is your underlying system instead of Essbase.
    Does that help?
    Stuart

  • Using substitution variable in sql -- Issue

    Hello All
    I am trying to do a sql operation from command prompt of my system and that sql requires substitution variable which i am passing it but when i pass the variable ( there are two) the first one assign as " \c" and second gets both what i am passing.
    I am not sure what exactly happening here, i have done this on AIX but here its not working any ideas?
    System : uname -a
    Linux ## 2.6.18-128.1.1.el5 #1 SMP Mon Jan 26 13:58:24 EST 2009 x86_64 x86_64 x86_64 GNU/Linux

    AIX and Linux are not the same. An output of "\c" may indicate a compatibility issue of your shell script with your current command line interpreter (shell). A \c can be used to suppress a newline with the echo command. Bash understands both formats echo -n and echo \c, but other shells like Ksh don't. Try to run your script under a Bash, which is the default under Linux. If the problem persists you will need to post your script for any further analysis.

  • Problems using substitution variable in Web Analysis

    Dear all,
    I have a Web Analysis report that I need to show a raking table with the current month.
    For that I create a variable in Essbase that is updated with that date (E.g.: varCurrentMonth).
    After that I use it as my substitution variable to filter my date dimension in a report data source (E.g.: Scr5, row: product, column: date dimension & measure):
    2008 (current month)
    Product $ qty.
    AAA 100 10
    BBB 90 7
    CCC 80 5
    The problem is that in our cube we need to use an alias in every dimension not to have duplicate members (E.g.: DT.Date, MS.Measure, PD.Product, etc). And when we use it we need to set up the variable in Essbase using that alias (E.g.: DT.Feb/05/08). And if we use that variable as a substitution variable in the report data source the label displayed is the DT.2008 and not 2008 as expected.
    Does anybody have an idea how to solve that?
    Many thanks,
    Thiago Gabriel

    You usually get this error message if you are trying to assign a value from a sub var to a member that does not exist.
    e.g. trying to put FY08 which is a year member against a period dimension
    or trying to use a sub var of FY09 which does not yet exist in the essbase, so say you added a new year in planning FY09 and used the sub var in the form but have not refreshed the database then it would fail because the year would not have been pushed down to essbase yet.
    or the value of the subvar does not match a member name exactly
    or using a sub var name that does not exist in essbase, e.g. using &nextYear but the sub var has not been created in essbase.
    You can definitely use subsitution variables in columns in the version you are using and prior version.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Substitution Variable in WA error

    Hi there,
    We have moved our server's IP beacuse we promoted developement (server07) to production (server08). Prior to that all reports worked fine. Now we're having some problems with the Substitution Variables, because everytime we select them, to include them in a report, it displays the following error:
    *"Actual_Month is not a valid substitution variable for dimension Period"*
    In fact I've tried to create a new variable with a new name and I get the same error. What intrigues me is that if we use the same variable for Dynamic Time Series let's say Y-T-D(Actual_Month) it works and displays a value.
    Maybe is there something in the connection but still with no clue how to fix it. Any database or setting at the config file to set?
    Thanks!

    I don't know about PL/SQL developer but in sqlplus you need single quotes around the variable.
    SQL> define freq = 'Weekly'
    SQL> select null from dual
      2  where &freq = 'Weekly';
    old   2: where &freq = 'Weekly'
    new   2: where Weekly = 'Weekly'
    where Weekly = 'Weekly'
    ERROR at line 2:
    ORA-00904: "WEEKLY": invalid identifier
    SQL> edi
    Wrote file afiedt.sql
      1  select null from dual
      2* where '&freq' = 'Weekly'
    SQL> /
    old   2: where '&freq' = 'Weekly'
    new   2: where 'Weekly' = 'Weekly'
    N
    SQL>

  • Financial Reporting and substitution variable

    Hello,
    i have a problem with FR and substitution variable. I create the substitution variable in Essbase for example antYear but i dont'see in dimension layout in FR studio and workspace.
    Thanks.

    You'll need to restart FR studio, after you have created the substitution variables. As the studio only performs one read of the sub var database on startup.
    It also won't show up unless you assign a member to it.
    Hope this helps.
    Iain

Maybe you are looking for

  • Formatting chapter titles in table of contents

    I am finishing up my dissertation and am having trouble with the TOC. My chapter titles are usually a couple of lines long: e.g. Chapter 1 Blah Blah Blah Blah Blah Blah Blah It looks nicer on separate lines like this. But when I insert a TOC, it's li

  • Photoshop CS4 Pen Tool Visibility Problem

    I recently upgraded to CS4 and started using Photoshop to do some work. Working on some clipping path with the pen tool I've come to notice how incredibly light the pen tool outline is. I cant see where or what im tracing cause I can't tell where the

  • IPod click wheel not recognised in Windows/iTunes and glitchy

    I appear to have an iPod software related problem - no problems connecting my partner's iPod and iTunes is working fine with that one, I have reinstalled iTunes anyway just in case. The problem iPod is not showing any error symbols and I can get it i

  • OTN Search not working

    I often get a JSP error when attempting a search on OTN. Here is the most recent error I received: OracleJSP: oracle.jsp.provider.JspCompileException: Errors compiling:/u01/app/oracle/product/IAS904/j2ee/OC4J_Portal/application-deployments/wwwotn/www

  • Equalizer on the 2010, 160GB iPod Classic

    A friend recently showed me how to make custom equalizer settings in iTunes and now that I have tweaked a couple things and found what works for me, I want to move that equalizer preset to my iPod. Is this possible? Because I have fiddled around and