Working with Formulas

Hello Everyone,
I want to know some Formula for the following Example
I have a Report for 9thoct,2013 ie;My Sale Date.
Now 1: i want to see the report from Month to Date ie:1st oct to 9th oct,
         2: i want to see the report from Quarter to date ie: for july,aug,sept,oct. ie: 1st july to 9th oct
         3: i want to see the report from Year to Date ie: from 1st Jan to 9th oct
For the above condition i have to create the variable? and what are the relative formulas to do so? Please reply its Urgent.
Thanks & Regards,
Foram Shah

You would need to either create a filter at IDT in universe each for QTD , MTD and YTD or two custom objects each for YTD, QTD,MTD for YTD Start Date and YTD End date...
Once the objetcs are available you will need to use those in the reports...
Its not suggested to have these logic at report level but if that is the only choice you will need two variables each for YTD , MTD to filter the data at block level
For info on how to build the logic refer to the blog here ....
Date Variables in Web Intelligence

Similar Messages

  • SmartView working with Essbase: Preserve Formulas

    Hi everybody, has anybody achieved to preserve formulas in the same worksheet as one connected to Essbase using Smart View?
    The documentation says that "The “Preserve Formula on POV Change” option only applies to data forms in Hyperion Enterprise, Planning, and Financial Management".
    I have set options to "Preserve Formula on POV changes" but Im having two main problems:
    - Formulas within the same work sheet as retrieved data and its data disappear when Refreshing the cube
    - Formulas that reference retrieved data and that are in other worksheets get the cell reference converted to #REF when Refreshing the cube.
    I guess that both problems are because this incompatibility between Smart View and Essbase (It should work with Planning and HFM)
    Thanks in advance

    But it's a little bit strange because formula and associated data are only removed when i close, save the excel file, open it agan and do a refresh.
    Then, once the formula and its data has disappear, if I create the formulas again and i do a refresh, formulas are still there, then if save the file, close it, open, refresh... again disappear
    Thanks

  • Suppress Missing Data not work in web form with formula column inside

    Dear All,
    I've a planning web form with formula column inside to calculate the variance and % variance. But missing cell can't be suppressed, although I've checked the 'Suppress Missing Blocks' and 'Suppress Missing Data' options.
    Anyone have face the same problem..?? and how to fixed it..??
    thanks.
    Regards,
    VieN

    There is a known issue that sounds like the problem you are experiencing
    10358200 - If a formula column exists in a data form, selecting the Suppress missing option does not hide rows that do not contain data.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • BW 3.5 - Issue with formula variable with replacement path

    Dear experts,
    I'm facing an issue with formula variable with replacement path.
    Just to clarify, I know replacement paths is raising a lot of questions but I've been using this functionnality extensively in the past, both in 7.0 and 3.5, so I'm not looking for basic information about how to use it.
    I'm trying to setup a simple report that would show total values per plant of Purchase Order < 100 €
    To do so I've setup a calculated key figure as follow:
    VAR1 * ("PO value" < 100 ) * "PO value"
    VAR1 is a formula variable with replacement path on 'purchase order' and value attribute 'constant =1'.
    (The report has to show values summarized by plant but should not show the detail PO by PO, so I'm not looking at a solution based on condition)
    The report as characteristic "plant" in rows and my CKF in columns.
    Now let's take an example. I have 3 POs in Plant 1:
    PO1 -> 150€
    PO2 -> 90€
    PO3 -> 80€
    Because of the variable with replacement path, the result in my query should be:
    plant1 = 170 (even though characteristic "purchase order" is not in my rows, system should evaluate PO one by one and return values only for those two that are below 100).
    But the result coming is 320, which is wrong.
    I've done the same report on many other 3.5 systems and it worked perfectly, and I am not able to get proper support from SAP OSS who keep saying that this functionnality is not ready in 3.5 (although I've provided screenshot of this working on another 3.5 system!!! how frustrating...)
    They have also pointed to problems of Before and After aggregation but that has absolutely no impact. Once again, the scenario is working perfectly on other 3.5 systems with the same query design, so i'm sure it has nothing to do with Query Designer options.
    Would anyone have ever come to an equivalenet problem? I'm wondering whether the DB itself could not play a role in the variable with ref  characteristic 'constant =1' ...
    Any though is welcome!
    thanks

    Hi,
    The text variable is replaced when the exact date is clear for this key figure column according to the restriction.
    To achive this, please make sure that either the variable is directly restricted in the key figure selection, or that the date characteristic is in drilldown.
    Regards,
    Patricia

  • Has anyone not working with .dv files had synchronization problems?

    Has anyone not working with .dv files had sound synchronization problems? I'm not exactly sure what the alternatives to DV are, but I think one of them is HD.
    The reason for asking this question is to help isolate the nature and cause of a very serious flaw in iMovie '11. In the original release of iMovie '11 (version 9.0) there was a small--but serious--synchronization problem. In the 9.01 there is a large synchronization problem. We know of one person who has not experienced the problem, and he is not working with DV files (media). So we want to find out if anyone who is using something other than .dv files is experiencing a lack of synchronization between sound and picture. Knowing the answer to this will help with figuring out where the cause lies. For the initial iMovie '11 release (9.0), you probably would not notice a problem unless you had very long event-clips, e.g., two hours long. Events get this long if you are transferring from analog 8 mm tapes. Even then, it would have to be in scenes in which the connection between event and sound is obvious, e.g., close ups of people talking. It isn't until the 9.01 release that most people would notice anything. All we need to do is establish one case of a synchronization problem in which the person is using something other than DV.
    Message was edited by: Paul Bullen

    Hopefully, the 9.0.2 release will make my question moot. Zyfert must have posted the announcement of the release just as I was formulating my question. Still, if you have information on the subject, it would be interesting to hear.

  • Evaluate_Analytic function not working with VPD enabled

    Experts,
    One of the column formula has evaluate_analytic function in the report. The report works fine with no errors when Virtual Private Database is not checked in the Physical Layer's datasource object, but the same report fails with the below error message when VPD is checked.
    Please share your thoughts on how to resolve the error. Your response is greatly appreciated.
    This is the error message in the answers:     
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 42015] Cannot function ship the following expression: Evaluate_Analytic( MIN(%1) OVER(PARTITION BY %2),([ D901.c3, D901.c4] )).Please have your System Administrator look at the log for more details on this error. (HY000)
    This is in OBIEE 11.1.1.6 version. I haven't tested in old versions.
    Regards,
    Tom
    Edited by: Tom Lype on Oct 1, 2012 2:17 PM

    I found the solution myself. Hopefully it should help others.
    If your fact table is within a data source object which has VPD enabled in the physical layer, all other tables(dimensions) mapped to it should be from a data source object which has VPD checked. I might be wrong but at least in my case after I copied over two tables from a data source (no VPD checked) into the new data source (VPD checked), my evaluate_analytic function is working with no errors. The parameters for the evaluate_analytic function are from those two tables.
    Regards,
    Tom

  • Need help with formula in Numbers for iPad 2

    I have a spreadsheet with a formula such as b2 x c2  very simple.  However, if the formula cells (b2 and 2) are blank then the destination cell contains a zero. How can I make my destination cell b blank while the formula cells are blank? I got thsvresponse from a person working with Mac os x, if this helps...
    I can't seem to make this work in my formula bar on ipad2!
    =if(isblank(<source cell>), "", <What ever your formula is>)
    Thanks for any suggestions!
    iPad 2

    Your friend was close, but forgot one thing. If you want it to be blank if either cell is MT, then you need an OR as well o test if either one or the other is blank...
    =IF(OR(ISBLANK(a1),ISBLANK(b1)),"",a1xb1)
    The isblank can also be represetned by ="" in many cases, usually accompanied with a trim to make sure there are no spaces were entered...
    =IF(OR(TRIM(a1)="",TRIM(b1)="")),"",a1xb1)
    Jason

  • I'm using the Internet Personal Ancestral File Family Search but I'd like to work with the old version. Could you help me how to use it? Thank you

    I was working with the old version of Family Search Personal Ancestral File through Internet but I cannot deal with the new version which uses Firefox. Could you help me to work with the old version? Thank you

    Junho wrote:
    However, in Numbers, I cannot do the same thing with same procedure..
    What should i do to get all of those 4 at the same time?
    Please let me know..Thank you!
    First, be aware that Numbers is not MS Excel, and Excel is not Numbers. Features available in one of these two applications are not necessarily available in the other.
    LINEST in Numbers works somewhat differently from what you describe. The function is well described in the "iWork Formulas and Functions Help" document, available through the Help menu.
    I'd start there, with a search for LINEST.
    Regards,
    Barry

  • Working with duration and numbers

    I have rental apartments and I am building a spreadsheet to show how many months each tenant has occupied his apartement and how much rent he paid in total.
    Column A shows the move-in date
    Column B shows the move-out date
    Column C shows the number of months : (B-A)/30
    Column D shows the monthly rent amount
    Column E shows the total amount paid for the duration of the tenancy : C*D
    Everything works out fine except for the amount shown in Column E.  Here is an example :
    Column A (move-in date) : 2011-08-01
    Column B (move-out date)  : 2012-05-31
    Column C (total months) : 10
    Column D (monthly rent)  : $500.00
    Column E (total paid) : $5066.67
    Column E should show $5000.00. 
    I know that Column C is the problem.  Although the number shown in the cell is 10, the real number in the background looks like this : 10:3:12:00.
    How do I get Numbers to multiply the amount in Column D by the number that appears in the cell (number 10)?

    You are working with three types of value here: Date and Time values, Durations, and numbers.
    When you subtract a Date and Time value from another, the result is a Duration. If both D&T values were entered as dates, the time part of those values will have been set to 00:00:00 (midnight at the beginning of that day), and the duration value will be an even umber of days.
    The equation in column C assumes that all months have 30 days. Makes things neat, but unfortunately doesn't jibe with reality as defined by the calendar makers. B-A in your example returns 304d (304 days)
    The result (5066.666666...) is correct for a rate of 304 days @ 500/30 days
    The easiest fudge factor to make the number in C work out correctly is to convert the value in C to a number, then ROUND the number to the nearest whole number. For long periods, this will differ from the number of whole months, and it will not correctly calculate the results where the tenant moves in (or out) mid-month. If that's an issue, we can look for a more detailed solution (or check in the files to find a previous one, assuming I kept a copy).
    Replace the formula in C with: =ROUND(DUR2DAYS(B3-B2)/30,0)
    Regards,
    Barry

  • Alerts not working when formula is in the cell

    I am having a problem where my alerts are not working in the preview mode.  They work fine when I hard code the alert range.  But I need the alert to change under differnt conditions and I am using an IF statement
    the formula is simple
    =IF('TXF Inputs'!D27=3, C34/2, C34)
    output is either 0.375 or 0.375/2 = 0.1875
    if i hardcode the cell with either of these values the alert works, but it does not work with the formula.  The confusing part is that I have other alerts that have IF statements in them and they all work.
    They also work fine in the main screen, ie it shows yellow if my default values =0.1875, but then when I preview or publish they don't work
    bw

    Can u give us the details like which component you are using for alerts.

  • Multi-suggestions/questions/problem: (1)garageBand: working with cycle regions; (2) ToS note;  (3) apple user accounts

    (1) GarageBand:  "Working with Cycle Regions"
    Preamble:  Cycle regions are very nice.  Thank you for recycling the concept.  That'd probably be great (unless you argue it'd be 'enabling') to include libraries of scripts that work with cycle regions  ('such as' note 1).  Thank you for cycle regions in GarageBand.
    "'such as' note 1"   if C[i] is a cycle region, C[1] is the first take, C[2] the second take...
    The ability to select/program different values of i for C[i] emplacements from a controller box, that could accomodate basic scripts that select i values from libraries, or generate them by simple formulas, or generate them by taking values from an "input text document" that could be easy output from basic custom software.  
    Issue:  Basic improvements to cycle region management.  Currently, if I want to know what music is in C[i], I have to set the i value from a drop down menu by clicking on the region.  If I want to search for that passage, I have to maximially do that n many times (n = the number of cycles per cycle region).  One faster way to search would be to allow pasting of sequential +1 iteration-wise cuts from that cycle region, and fast forwarding through that, or whatever.  Another way, is that while recording, some visual notification could be present, telling me which take # is being recorded.  (Maybe die-hard musicians used to counting don't worry about it.)
    (2) Terms of Service  Issue
    An "email Terms of Service" button would be nice.
    Also, a "readers digest" cliff notes version of practical center points would be nice.  Such could come with disclaimers that the notes don't necessarily reflect views of apple, although could be popularized "3rd party watchdog sides" that rate applicability of such disclaimers.
    (3) Apple User Account
    Some third party algorithm generated this user name.  I never wrote that in myself.  What is that about?  Is my account security in some crisis?
    Thanks!

    Please reply and let me know i if this was helpful or I am missing something. this worked for me and it has been about a week and my backups are still running.

  • Working with Validation of Data

    Hi. VC Experts.
                             I am currently working with VC 6.0. Where I am working with Validation of Data.
    we have fields like Emp, Earea, Joining date (month & Year),  Ending date((month & Year) etc.,
    Here we have one push button 'select'.
                         Here what my client asks is unless and until, user fills all details then only
    the submit but should be enabled. Otherwise submit button should be in disable mode.
    I could be able to write formula for 'submit' button's properties( Disable) like this.
    BOOL(IF(LEN(@Emp_code)<>0 AND  LEN(@Earea)<>0 AND LEN(@Edept)<>0 AND DSUB(DVAL(@Joining_date), DVAL(@Ending_date),'D')<0 ,false,true))
                     Here condition is always make sure that 'Joining date' should be greater than 'Ending date' .  where it is working fine for all fields except Calender Year month(Joining date & Ending date).
                                the calender year month format is  Example : """" May 2007""""
    But it is considering only month But not year.
                  Can you kindly provide your inputs.
                                                                                 Thanks & Regards

    Hi Vijay,
    sorry
    please rewrite the formula for the button disable as::
    NOTE:: in the formula i have used '<''>'  which nothing but a lessthan symbol and greater than symbol without single quotes (i.e. not equal to)
    BOOL(IF(LEN(@Emp_code) '<''>'0 AND LEN(@Earea)'<''>'0 AND LEN(@Edept)'<''>'0 AND DSUB(DVAL(@Joining_date), DVAL(@Ending_date),'D')<0 ,false,true))
    and make sure you have placed the date picker UI controls for your date functionality.
    this will not work for calender UI control on the form.
    and othe important point is the joining date should be less than ending date then only the button will be enable..
    if you want your joining date should be greater than ending date then write the formaula like this::
    BOOL(IF(LEN(@Emp_code)<>0 AND LEN(@Earea)'<''>'0 AND LEN(@Edept)'<''>'0 AND DSUB(DVAL(@Joining_date), DVAL(@Ending_date),'D')>0 ,false,true))
    i tried this
    its working for me
    Regards
    Srinivas

  • Features missing for working with large spreadsheets

    Have worked with some large spreadsheets,
    mostly at work, and numbers is missing some key elements.
    or tell me if I am wrong
    In no particular order:
    1) there is no stop automatic recalculation.
    With a large spreadsheet you want to turn autocalculate off
    and be able to push a button when you want it to calculate.
    2) no split window.
    you have to be able to split the window
    have the first row on the top split, the last row on the bottom split
    add the formula to top cell in column, select cell,
    select bottom cell in column (in lower split)
    fill down and hit calculate.
    I am sure there are others but these are biggies for me.

    _Go to "Provide Numbers Feedback" in the "Numbers" menu_, describe what you wish.
    Then, cross your fingers, and wait _at least_ for iWork'09
    Yvan KOENIG (from FRANCE samedi 19 juillet 2008 16:58:13)

  • Cell formatting problem with formula

    I have a table in my spreadsheet document, which contains working time details of my job. Column B is time of beginning, column D is time of stop. Both B and C columns are formatted as "date and time". In column E, there is a formula "=C2-B2", and so on for other rows, formatted automatically as "duration".
    After a several rows (closing a month), in column F (at F14), there is a SUM formula of column E "=SUM(E2:E14)".
    I tried to calculate the total sum for my monthly invoice at G14, with formula "=F14*6000", and i formatted this cell (G14) as Currency, but i see this cell as duration, after formatting the cell as currency too.
    Thanks.

    Thanks, Badunit!
    You saved my day
    I switched from OpenOffice.org to iWork 2 weeks ago, and this duration format tricked me second time.
    Numbers is a bit strange for me now, but i learn quickly...

  • Transport error when transporting a transformation with formulas/routines

    Hi All,
    I have migrated some 3.5 dataflow (Datasource, Transfer rules, Update rules, Infosource etc..) to 7.0. I am able to load the datatargets using the DTP's just fine.
    The problem I am facing is transporting these dataflows to Quality and Production systems. I am specifically having problem with transporting transformations which has formulas/routines.
    I was able to transport the transformations with direct mapping from source field to target fields (no formulas/routines) without any problem and it works fine in Quality system. I tried to transport couple of transformations with formulas/routines, all of them give a shortdump ASSERTION_FAILED (transport fails with error code 12).
    I am not sure what the problem is. We are on support package 16. Has anyone faced this problem before? Any suggestions are appreciated.
    Points are assured
    Thanks,
    Sirish.

    Hi,
    What is the dump message you are getting? Check in ST22 and let us know. And try the process which is said in the previous post collect all the transformations through transport connections and transport them.
    Khaja

Maybe you are looking for