Value & date measure problem

Morning,
    I am having an issue and would like to see if anyone could help me out...Here is my problem.
I have a prior YTD measure which is a sum of all of 2010 in a $ amount. What I am trying to do is return a value from this prior YTD figure that takes into account todays date with 'Calendar Month'. I am very close to solving this but I have run into a problem. My formula:
=[Prior YTD Figure] Where ([L01 Calendar Month]<= FormatNumber(MonthNumberOfYear(CurrentDate());"#"))
so for example when this forumula is run today in a WEBI, it returns values for not only January and Februray which it should but it also returns values for October, November and December which it should not. I have a temporary fix;
=[Prior YTD Figure] Where ([L01 Calendar Month]<= FormatNumber(MonthNumberOfYear(CurrentDate());"#")) And [L01 Calendar Quarter] InList ("1";"2";"3"))
Can anyone recommend a solution where i dont have to rely on my temporary fix? In a way to automate the forumula?
When broken down in the WEBI it should look like this(because todays month is Februay):
calendar month1 value
calendar month2 value
instead it looks like this:
calendar month1 value
calendar month10 value
calendar month11 value
calendar month12 value
calendar month2 value
Thanks,
Thomas
Edited by: Carter Russell on Feb 25, 2011 9:26 AM
Edited by: Carter Russell on Feb 25, 2011 9:30 AM

Even better, without modifying your Universe you could fix it by adding a ToNumber function to your formula, just like this.
=[Prior YTD Figure] Where (ToNumber([L01 Calendar Month])<= ToNumber(FormatNumber(MonthNumberOfYear(CurrentDate());"##")))
This way they will be treated like numbers.

Similar Messages

  • Stacked 100% bar chart - Problem with datatips for zero value data points

    I have a stacked 100% bar chart that shows datatips in Flex 4.   However, I don't want it to show datatips for
    data points with zero values.   Flex 4 shows the datatip for a zero value data point on the left side of a bar if the data point is not the first in the series.
    Here's the code that illustrates this problem.    Of particular concern is the July bar.    Because of the zero value data point problem, it's not possible to see the datatip for "aaa".
    Any ideas on how we can hide/remove the datatips for zero value data points ?        Thanks.
    <?xml version="1.0"?>
    <s:Application
    xmlns:fx="
    http://ns.adobe.com/mxml/2009"xmlns:mx="
    library://ns.adobe.com/flex/mx"xmlns:s="
    library://ns.adobe.com/flex/spark"creationComplete="initApp()"
    height="
    1050" width="600">
    <s:layout>
    <s:VerticalLayout/>
    </s:layout>
    <fx:Script><![CDATA[ 
    import mx.collections.ArrayCollection;[
    Bindable] 
    private var yearlyData:ArrayCollection = new ArrayCollection([{month:
    "Aug", a:1, b:10, c:1, d:10, e:0},{month:
    "July", a:1, b:10, c:10, d:10, e:0},{month:
    "June", a:10, b:10, c:10, d:10, e:0},{month:
    "May", a:10, b:10, c:10, d:0, e:10},{month:
    "April", a:10, b:10, c:0, d:10, e:10},{month:
    "March", a:10, b:0, c:10, d:10, e:10},{month:
    "February", a:0, b:10, c:10, d:10, e:10},{month:
    "January", a:10, b:10, c:10, d:10, e:10}]);
    private function initApp():void {}
    ]]>
    </fx:Script>
    <s:Panel title="Stacked Bar Chart - Problems with DataTips for Zero Value Items" id="panel1">
    <s:layout>
    <s:HorizontalLayout/>
    </s:layout>
    <mx:BarChart id="myChart" type="stacked"dataProvider="
    {yearlyData}" showDataTips="true">
    <mx:verticalAxis>
     <mx:CategoryAxis categoryField="month"/>
     </mx:verticalAxis>
     <mx:series>
     <mx:BarSeries
    xField="a"displayName="
    aaa"/>
     <mx:BarSeries
    xField="b"displayName="
    bbb"/>
     <mx:BarSeries
    xField="c"displayName="
    ccc"/>
     <mx:BarSeries
    xField="d"displayName="
    ddd"/>
     <mx:BarSeries
    xField="e"displayName="
    eee"/>
     </mx:series>
     </mx:BarChart>
     <mx:Legend dataProvider="{myChart}"/>
     </s:Panel>
     <s:RichText width="700">
     <s:br></s:br>
     <s:p fontWeight="bold">The problem:</s:p>
     <s:p>Datatips for zero value data points appear on left side of bar (if data point is not the first point in series).</s:p>
     <s:br></s:br>
     <s:p fontWeight="bold">For example:</s:p>
     <s:p>1) For "June", eee = 0, mouse over the left side of the bar to see a datatip for "eee". Not good.</s:p>
     <s:br></s:br>
     <s:p>2) For "July", eee = 0 and aaa = 1, can't see the datatip for "aaa", instead "eee" shows. Real bad.</s:p>
     <s:br></s:br>
     <s:p>3) For "Feb", aaa = 0, datatip for "aaa" (first point) does not show. This is good.</s:p>
     <s:br></s:br>
     <s:p>4) For "Mar", bbb = 0, datatip for "bbb" shows on the left side of the bar. Not good.</s:p>
     <s:br></s:br>
     <s:p fontWeight="bold">Challenge:</s:p>
     <s:p>How can we hide/remove datatips for zero value data points?</s:p>
     <s:br></s:br>
     </s:RichText></s:Application>

    FYI.
    Still have the issue after upgrading to the latest Flex Builder 4.0.1 with SDK 4.1.0 build 16076.   
    Posted this as a bug in the Adobe Flex Bug and Issue Management system.     JIRA
    http://bugs.adobe.com/jira/browse/FLEXDMV-2478
    Which is a clone of a similar issue with Flex 3 ...
    http://bugs.adobe.com/jira/browse/FLEXDMV-1984

  • VI for measuring FRF having data writing problem

    Respected Sir/Mam,
                                        I have created a Vi for measuring the signal during modal analysis. The Vi is giving a very good signal but the problem is in writing the data. The no of samples is given as 10K and rate is 100k but it writes only 5k datas in the file. The signals are good but the data logging is the problem. I have attached the VI. Your earliest reply will be very much helpfull to carry out my further work.
    thanking you
    ram
    Solved!
    Go to Solution.
    Attachments:
    RAM.vi ‏141 KB

     I first of all thank you for your valuable reply in the labview forum.                        I posted a question sayiny the " VI for measuring FRF ( Freqency Response Function ) having data writing problem"  Sir actually the data i am storing is to be further used for plotting the mode shapes.
                                1. When i plot the data i am not getting back the orginal plot that i acquired during my experiment.
                                2. No of samples to read i have mentioned is 10K. But the VI reads only 5K data.
                                3. The rate is given as 100K
                          Sir i have attached the image of plot which i got from the experiment.The experimental plot is good the problem is qwith the data being saved it in not completly storing the data.
                           The problem is VI is storing only 5K data from 10K it is missing 5K of data while writing to file. I am attaching the VI and plot.
    Attachments:
    RAM.vi ‏141 KB
    FRF PLOT.JPG ‏279 KB

  • HPE 1420b Measurement Problems

    I have an HPE 1420B freq/cntr board. I can read frequencies using the hpe1420b_stand_meas()
    NI driver calls (CVI 5.0), HOWEVER, for low frequency signals I get time-out
    errors.
    It is not symetrical across channels (occurs near 150 HZ on inp2 but low
    frequency ~3Hz works on inp1). I'm using the same code for both channels.
    What it appears NOT TO BE:
    * an aperature problem
    * trigger level problem
    * signal amplitude
    * AC vs DC coupling
    * a board problem (2 boards show same effect)

    Hello
    pinnacle1406,
    I was
    wondering if you could clarify some of the information about this problem:
    1. When you
    say the measurements are incorrect, what do you mean? I have attached a circuit
    diagram below. What are the values when measured at point 1 (across both
    resistors), point 2 (across 3.3k ohm resistor) and point 3 (across 4.7k ohm
    resistor)?
    2. You said
    you tried the measurement on about 6 different NI ELVIS’s, are the measurements
    consistent on each station?
    3. How are
    you measuring the current with the NI ELVIS? Are you using the Digital
    Multimeter Express VI in LabVIEW? Are you using the NI ELVIS Instrument
    Launcher?
    4. What DAQ
    card are you using to take measurements from your NI ELVIS?
    5. Are you
    using the proper null correction to lower the noise error?
    From the NI
    ELVIS Suite data sheet, the current specifications are given as:
    DC accuracy ........................................
    0.25% ±3 mA2
    2Proper
    null correction at the common-mode voltage can reduce ±3 mA error to 200 μA
    noise.
    Even with
    proper null correction, your current may be too small for the NI ELVIS to
    measure. If you are just trying to demonstrate the current dissipated in a
    simple circuit, I would recommend changing the resistor values so that you have
    a larger current running through your circuit.
    I hope this
    information is helpful. Please let me know if you have any additional
    questions.
    Message Edited by Matt A on 01-18-2007 07:30 PM
    Message Edited by Matt A on 01-18-2007 07:30 PM
    Message Edited by Matt A on 01-18-2007 07:31 PM
    Matt Anderson
    Hardware Services Marketing Manager
    National Instruments
    Attachments:
    circuit.GIF ‏3 KB

  • The fixed value date is empty and not displayed in the VA05 report

    Hi SD Gurus,
    With in the Sales Order in the line item level in the billing tab we have the fixed value date (VBKD - VALDT) were entered. 
    But when we try to execute the report VA05 were the fixed value date column shows empty (i.e without the date it shows the blank).  Can you any one help me with regard.
    We would like to fix this problem.
    Thanks in advance for providing solution to this query.
    Thanks and Regards,
    SAP-SD group

    Hi janarthanam,
    Ok.
    Goto t-code SQVI,SAP Quickviewer.
    Give a name to your query and enter description ,etc.
    Next enter the table from which you want to fetch data,ie,VBKD .
    Select "Layout mode" for displaying data on the SAP screen or "Basis mode " if you want to extract the data to a word doc,excelsheet or a flat file.
    Next you can select the fields you want to display into your report,their position and ascending/descending order,Here make sure u select
    the field u need to display ie. the fixed value date ( VALDT) .
    also select the fields u wish to have in the selection criteria.
    Enter these required information and u would get a report on the SAP screen or in your desired format.
    Hope it will suffice you.
    For any queries ,your are welcomed.
    Thanks,
    Umesh.

  • Asset Value Date in Settlement

    Hello!
    We would like to settle investment measure to a completed asset, so the settlement rules have been updated with the completed asset, status of the order has been changed to TECO (technically complete).
    When we settled the order (not via u201Cko88u201D but via automated program which uses our client) it turned that out asset value date is different than posting date, so the system takes the date when investment measureu2019s status has been changed to TECO instead of posting date, as asset value date.
    Would anybody know where and how to change config, so asset value date is the same as the posting date?
    Thanks in advance for any hints.
    Regards,

    Hi,
    Are you looking for below mentioned settings...
    Financial Accounting (New)->Asset Accounting->Transactions->Specify How Default Asset Value Date is Determined
    Best Regards,
    Madhu

  • Fixed Value Date at line item level is not in changable mode when copied

    Dear SDN Team,
    Hi i have a problem in the Fixed Value date at the line item level in the Return sales order.
    The Problem is When creating the return order with reference to the scheduling agreement (10.03.2010).  In the Return sales Order at the line item level the fixed value date is coping from scheduling agreement item (fixed value date eg: 31.12.2009)
    But i would like to have the fixed value date in the return order as 10.03.2010  but the field is greyed out.
    But normally when the sales document is created with reference to the preceding document the same will be copied.  But field is greyed out and it is not in changable mode.
    Can any one help how to solve this.
    I have checked also SAP Note where i did not find any messages.
    In normal scenario - when the order is created without any reference the fixed value date is in changable mode until the document is in open.
    Pleas help me to resolve this.
    With Regards,
    Jai

    Hi Lakshmipathi,
    I am sharing the resolution which was done to this requirement.
    We have a specific condition type with statisticaly used and with routine to have KWERT with zero value,
    Based on the different key combination. We have a specific key combination for the SA and SDoc and for this we need to maintain a condition record for the condition type with fixed value date and which will be linked to only the specific document.  Once this is done.
    We need to do update pricing in the sales order for the particular line item. by doing this the Fixed value date will be changed in the particular line item.
    Thanks and Regards,
    Jana

  • Value date cross company code postings

    Dear all,
    it is possible to influence the value date on a company code level via the transaction OB68. With this transaction you can state that the current date is used as the default value for the value date when entering line items.This works fine when posting a G/L posting within the same company code.
    When entering a cross company code posting, the indicator in transaction OB68 is ignored and the document date is used to be proposed as default value for the value date.
    Does anyone know which SAP parameters can influence the value date for cross company code postings ? If this is not standard SAP possible, does anyone already encountered this problem and, if so, how did one solve this issue ?
    Many thanks,
    Regards,
    Kristof

    thank you for the reply ... unfortunately I expected some Z-programmation

  • F110 DME payment file: add a number of lead days to posting and value date

    Hello,
    For an Italian company, the DME payment file (F110) needs to be checked and approved by an accountant after it is created. This takes 3 to 4 days after which the file is sent to the bank. The bank will reject the file if the value date  is three days late (date which the bank uses to process the file on). For fiscal reasons the accounting clerks need the have the same posting date as the value date
    I managed to set the value date in the DME files a couple of days later. The setting I used (FBZP -> bank determination -> value date) adds the number of lead days to the value date on the basis of the posting date as defined by the user in F110. For some reason I cannot set it to 0 days, it always adds up 1 day. Is that a normal effect or have I changed the settings in the wrong way?
    I found another setting in customising ("define value date rules") which seems to have the same functionality. In the help function it is said that the setting does not influence the payment program and that the program manages the value date. Is there another setting? Can this problem be solved without the help of a programmer?
    Thank you very much!
    René
    functional consultant
    Edited by: ConsultantSAINT-OBAIN on Apr 8, 2010 10:24 AM

    Here's a section of code that does exactly that:
    CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
      EXPORTING
        CORRECT_OPTION                     = '+'
        DATE                               = G_WORKAREA3-CREATEDON
        FACTORY_CALENDAR_ID                = L_S_PLANT-FACTCAL_ID
      IMPORTING
    *   DATE                               =
       FACTORYDATE                        = L_FCDATE
      EXCEPTIONS
        CALENDAR_BUFFER_NOT_LOADABLE       = 1
        CORRECT_OPTION_INVALID             = 2
        DATE_AFTER_RANGE                   = 3
        DATE_BEFORE_RANGE                  = 4
        DATE_INVALID                       = 5
        FACTORY_CALENDAR_NOT_FOUND         = 6
        OTHERS                             = 7.
      L_FCDATE = L_FCDATE + L_S_ZLEAD-/BIC/ZLEAD.
      CALL FUNCTION 'FACTORYDATE_CONVERT_TO_DATE'
        EXPORTING
          FACTORYDATE                  = L_FCDATE
          FACTORY_CALENDAR_ID          = L_S_PLANT-FACTCAL_ID
        IMPORTING
          DATE                         = L_DATE
        EXCEPTIONS
          CALENDAR_BUFFER_NOT_LOADABLE = 1
          FACTORYDATE_AFTER_RANGE      = 2
          FACTORYDATE_BEFORE_RANGE     = 3
          FACTORYDATE_INVALID          = 4
          FACTORY_CALENDAR_ID_MISSING  = 5
          FACTORY_CALENDAR_NOT_FOUND   = 6
          OTHERS                       = 7.
    * result value of the routine
      RESULT = L_DATE.

  • Flash Builder 4 Beta 2 ---- Data Management Problem

    Flash Builder 4 Beta 2 ---- Data Management Problem
    I have a simple datagrid, a PHP service and a MySQL database. When I run the code I get multiple(7) records returned to the datagrid.  Once I enable Data Management and run the exact same code, I only get 1  record returned.
    Is there a setting in Data Management that affects the number of records returned?
    Here is the MXML code I am testing. 
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                         xmlns:s="library://ns.adobe.com/flex/spark"
                         xmlns:mx="library://ns.adobe.com/flex/halo" minWidth="1024" minHeight="768" xmlns:carasgndataphp="services.carasgndataphp.*">
          <fx:Script>
                <![CDATA[
                      import mx.controls.Alert;
                      import mx.events.FlexEvent;
                      var inptdata:String = "1";
                      protected function dataGrid_creationCompleteHandler(event:FlexEvent):void
                            getAsgnDataResult.token = carAsgnDataPHP.getAsgnData(inptdata);
                ]]>
          </fx:Script>
          <fx:Declarations>
                <s:CallResponder id="getAsgnDataResult"/>
                <carasgndataphp:CarAsgnDataPHP id="carAsgnDataPHP" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
                <!-- Place non-visual elements (e.g., services, value objects) here -->
          </fx:Declarations>
          <mx:DataGrid x="115" y="91" id="dataGrid" creationComplete="dataGrid_creationCompleteHandler(event)" dataProvider="{getAsgnDataResult.lastResult}" width="558" height="298">
                <mx:columns>
                      <mx:DataGridColumn headerText="A" dataField="numAsgn"/>
                      <mx:DataGridColumn headerText="T" dataField="numTopic"/>
                      <mx:DataGridColumn headerText="U" dataField="numUnit"/>
                      <mx:DataGridColumn headerText="P" dataField="numProblem"/>
                      <mx:DataGridColumn headerText="TP" dataField="PType"/>
                      <mx:DataGridColumn headerText="P" dataField="numSeqPresent"/>
                      <mx:DataGridColumn headerText="F" dataField="numSeqFeedback"/>
                      <mx:DataGridColumn headerText="D" dataField="numDelay"/>
                      <mx:DataGridColumn headerText="ID" dataField="idAsgnData"/>
                      <mx:DataGridColumn headerText="IDP" dataField="idProblem"/>
                </mx:columns>
          </mx:DataGrid>
    </s:Application>

    Hello,
    Data Mangement expects unique values for id property.This issue may occur when you select 'Identity' property in Data Mangement wizard which is not unique in the Table.For eg:, you have selected 'name' field as identity property. And your MySQL database table has multiple rows with identical values for 'name' column.
    Can you verify if you have similar setup?
    Thanks,
    Radhakrishna

  • Posting date = Value date does not work

    hi,
       this is the problem given by them,
    symptom:
    When the parameter 'Posting date is value date' is active, the posting date of all movements of a bank statement is the bank statement date and not the value date of the individual movements of the bank statement.
    other terms:
    RFEBBE00,CODA,Belgian Bank statement,PAR_VALD,FEBPDO-BEVALD,FEBBEVALD
    Reason & Prerequisites:
    The program converts the belgian bank statement format to the Multicash format.The multicash format uses the bank statement date as the posting date.
    I want to know how the logic is done so that we will get the posting date = value date and in which user exit is it written?
    Plz help me.
    Regards,
    Shalini

    Basically can you please clarrify your requirement as to what you want to change ..what I understand you would need to change the code for ABAP - RFEBBE00
    Value Date code in the above abap
            IF PAR_VALD = 'X'.
              MOVE C2-VALDT TO HLP_VALDT.  "  VALUE DATE
             write hlp_valdt to umsatz-budat dd/mm/yy.
            ELSE.
              MOVE C8-BALDT TO HLP_BALDT.
              MOVE HLP_BALDT TO HLP_VALDT.
            write hlp_valdt to umsatz-budat dd/mm/yy.
            ENDIF.
               MOVE HLP_VALDT(2) TO UMSATZ-BUDAT.
               MOVE HLP_VALDT2(2) TO UMSATZ-BUDAT3.
               MOVE HLP_VALDT4(2) TO UMSATZ-BUDAT6.
    Regards
    Anurag
    Message was edited by: Anurag Bankley

  • Automatic payment: OBBA Define Value date rules

    hi experts,
    Have you ever tried OBBA to define Value date rules? I met a problem with it.
    In OBBA, my configuration is as follows:
    House banK Account ID Transaction R C1 S Dev C2  A
    CIT1               CNY                              3 CN -    1   CN  -
    CN is the Factory Calendar China.
    According to this configuration, I suppose the Value date will take Due date as reference date, minus one day, and if the Value date calculated is Weekend or Public holiday, it will use the last week day as the Value date.
    But I made two tests:
    In the first test, my OBBA configuration is exactly like above one I listed, in my payment proposal, the invoce Due date is 20-Jun, Value date is also 20-Jun, but I think according to the configuration, the Value date should be 20-Jun minus one day=19-Jun which is a weekend, so should be the last week day 18-Jun.
    My first test tell me the Deviation from reference date in days and the Calendar does not work.
    In my 2nd test, I changed the Reference date to 2 (Posting date), but in my payment run, the Posting date is 9-Jun, the invoice Due date is 20-Jun, the Value date is still 20-Jun.
    My 2nd test tell me the Reference date for determining the value date does not work.
    Have you met such problem, it seems the OBBA totally dose not work.
    many thanks!
    best regards
    Sophie

    Hi Sophie,
    I guess it is too late for you already but maybe this helps to other people with similar issues. You also need to assign the transaction created in OBBA to a specific payment method:
    But what is even more important is that you need to tick this box in the payment method company code settings - "payment per due date".
    Regards,
    Ondrej

  • Essbase Date Measures  in OBIEE

    Dose Essbase Date Measures supported by OBIEE. Can we have a Essbase Date Measures display as a DATE in OBIEE?
    Thanks

    Hi Nilaksha,
    I thought you might say that, I think this is because Essbase doesn't use data types as such, all data is stored as a value and characteristics of that data or how it is treated are more like meta data. This certainly rings true for the time dimensions I have seen. I think your best bet is to look at how you can format the numbers in the columns to make them appear in the format you require.
    Regards
    Ed

  • Essbase Date Measures as DATE in OBIEE

    Hi,
    We have created an ASO Cube in Essbase 11.1.1 with a Date Measure member call "Maturity Date" in Measure dimension (Tagged as Accounts).
    Once we create the Physical layer Administrator tool on OBIEE this member refers as a double data type. And also when we create a criteria on Answers and displays the result it is shown as a number.
    But on excel (with essbase add-on) data shows as a date. (Ex: 2009-09-20)
    Can anyone tell what has to be changed to display a Date Measures as Date type on OBIEE or suggest another alternate.
    Thanks!
    Nilaksha.

    Hi Nilaksha,
    I thought you might say that, I think this is because Essbase doesn't use data types as such, all data is stored as a value and characteristics of that data or how it is treated are more like meta data. This certainly rings true for the time dimensions I have seen. I think your best bet is to look at how you can format the numbers in the columns to make them appear in the format you require.
    Regards
    Ed

  • Define assets value date.

    Dear experts,
    i have one problem, when i am posting f-90 of assets acquisition (giving current date) geeting one error meesage that is.
    "check assets value date" but i do not understand where i have to define this assets value date what is relation with f-90.
    pls tell me the t-code so that i can define.
    pls reply me.
    Bikash.

    HI Bikash,
    Asset value date is to be specified by the user, it help to determine the quantum of deperciation for specific period. You can get more understanding on asset value date by following the link given below:-
    [SAP Help (FI-AA)|http://help.sap.com/saphelp_erp60_sp/helpdata/EN/4f/71e122448011d189f00000e81ddfac/frameset.htm]
    Just write back to me if you have any doubts.
    Regards,
    Anand

Maybe you are looking for