Obtaining data within a date range in XL Reporter

Dear All,
I'm currently working on BS in XL reporter.
I was trying to extracting data in a date range, setting PER( Code >= @MthFrom Or Code <= @MthTo ) in report default tab.
However, the result is shown as all data as of current date. E.g. Selection criteria: >=200808, <=200809, the result is shown as from Begining to 200810.
Please kindly advise.
Thank you.
Regards,
Julie
Edited by: Julie Wan on Oct 1, 2008 1:10 PM

Dear Gordon,
Thank you for your reply.
However my case is different to your given link.
In my case, there is a result coming out, but not within the correct range i selected. It shows all instead.
I tried to set the period range in report default tab,  in column tab of a expanding column, and in cell tab of an individual cell, but none have worked. E.g. PER( Code >= @MthFrom or Code <= @MthTo )
Regards,
Julie

Similar Messages

  • How to capture the data within the given range of maximum and minimum values ? from csv files

    My requirement,
    1. Here, the user will provide the range like maximum and minimum values, based on this range, the VI should capture the data within the given range. ( from CSV file as attached )
    2. Then VI should calcluate the average value for captured data and export it to excel.
    This is my requirement can anyone help me on this.
    Many thanks in advance
    rc_cks
    Attachments:
    sample_short.csv ‏2439 KB

    Hi,
    Thanks for remnding me. I forgt to attach the VI, 
    Here I am attaching the VI, what I tried. 
    From attached CSV file, I have to find an average value for columns B,C,D,E,F,G,H,I and AJ, AK. ( data range will be defined  by user ), focused only on these columns
    Here, the scope is to calculate an average value for given data range by user as MAX and MIN data.  
    FYI:  I tried manually for two instance i.e column H & I.  As per H column one steady state values from  7500 to 10500 and similarly in I column 7875 to 10050. So, I gave these as a limit to capture and calculate the average value. But unfortunaltely, requirement has been modified as per below requirements.
    More Info on requirement: 
    --> The user will define the range of data by giving some MAXIMUM and MINIMUM values(for above mentioned columns induvidually), then VI should capture          that data range and it has to caculate the average value for that range of data. This is the task I have to complete. 
    --> I am stuck in creating a logic for data capturing for given range of MAX and MIN value from user, 
         Can anyone help me on this. 
    If my explanation is not clear, Please let me know.  
    Many thanks, help mw
    rc
    Attachments:
    VI_rc.vi ‏25 KB
    sample.zip ‏4166 KB

  • Getting last-day-of-week dates within certain date range

    Hi all,
    I have the following Challenge:
    I want to know the dates of the last day of all the weeks within a certain range of dates.
    For instance if my range would be 01-jun-2002 - 31-jun-2002
    then the returned days should be (lastday of the week is sunday):
    . 02-jun-2002
    . 09-jun-2002
    . 16-jun-2002
    . 23-jun-2002
    . 30-jun-2002
    I want to accomplish this by only using sql (no pl/sql) in a ora 8.0.x rdbms
    How would I do this? (if it's possible)
    Tia,
    Martin

    Christian's solution returns
    01-JUN-02
    08-JUN-02
    15-JUN-02
    22-JUN-02
    on my system. The first day of the week is dependent on NLS settings.
    SELECT MAX(realdate)
    FROM (
    SELECT TO_CHAR(TO_DATE('31-may-2002','dd-mon-yyyy') + ROWNUM,'IW') weekno,
           TO_DATE('31-may-2002','dd-mon-yyyy') + ROWNUM realdate
    FROM all_objects
    WHERE rownum <= TO_DATE('30-Jun-2002','dd-mon-yyyy') - TO_DATE('01-Jun-2002','dd-mon-yyyy')
    GROUP BY weeknoThe IW format model give ISO standard week numbers and a week always starts on Monday.

  • Populate dates within the date range columns in a table

    Hi ,
    I have a Students table with StudentID, StartDate and EndDate. For one of the requirements, I need to populate all the dates within and includeing the StartDate and EndDate for all the students. Please find the DDL for the source table samples and also below
    samples of Source table columns and how the output should be.
    create table #Students (ID int,startdate date,Enddate date)
    insert into #Students values (1000, '2014-01-01',
    '2014-01-10')
    insert into #Students values (1000, '2014-02-22',
    '2014-02-28')
    insert into #Students values (1001, '2013-07-01',
    '2013-07-12')
    insert into #Students values (1001, '2013-08-01',
    '2013-08-03')
    insert into #Students values (1001, '2014-04-01',
    '2014-04-05')
    --select * from #Students order by id,startdate
    --drop table #students
    Thanks in advance  for your help!

    Hi vskindia,
    A recursive way to achieve the expected output.
    create table #Students (ID int,startdate date,Enddate date)
    insert into #Students values (1000, '2014-01-01',
    '2014-01-10')
    insert into #Students values (1000, '2014-02-22',
    '2014-02-28')
    insert into #Students values (1001, '2013-07-01',
    '2013-07-12')
    insert into #Students values (1001, '2013-08-01',
    '2013-08-03')
    insert into #Students values (1001, '2014-04-01',
    '2014-04-05')
    ;WITH cte AS
    SELECT ID,startdate,Enddate FROM #Students
    UNION ALL
    SELECT ID,DATEADD(DAY,1,startdate) AS startdate,Enddate FROM cte
    WHERE startdate<Enddate
    SELECT id,startdate FROM CTE ORDER BY ID,startdate
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • How can I extract trading data within sales data

    hi experts,
                    How can I extract trading data (2LIS_46_ITM) with sales data (2lis_11_VAITM) ? I want only one data source and extract data of both data source. I have noticed that many fields are common but other fields are not common.
    Message was edited by:
            rakesh jangir

    Hi ganesh,
                    Thanks for answer. it is correct that Generic is the final solution.
    But is there any other solution if i don't want to create generic data source due to some issues.
    Message was edited by:
            rakesh jangir

  • Problems computing dates within a given range based on conditions

    Hello. I'm working on a part of a scheduling app and am having a problem with this one section. I tried doing some searches on this forum, but no one seems to be trying to compute anything similar to what I'm doing.
    Basically, I have a select list with the values: "Every", "Every Other", "Every 1st", "Every 2nd", "Every 3rd", and "Every 4th". I also have a checkbox with the values for the days of the week, from Sunday to Saturday. What I'm trying to do is that if I have a start and an end date, how to compute which days (from the various combinations of the select list and checkbox items chosen) fall in this range. Are there any functions available to help with this task? Someone mentioned the next_day() function, but looking at that function it seems like this is still pretty complicated logic-wise. Is it, or am I missing something?

    Hi,
    As Etbin said, if you can get dbms_scheduler (or some other supplied code) to do all or part of your job, that's the best thing to do.
    Assuming you have to produce a list of targeted run dates, here's a SQL query that does that.
    The query uses four bind variables:
    (1) :start_dt, a date in DD-Mon-YYY format (other formats would work as well; easily modified)
    (2) :end_dt
    (3) :freq_txt, one of 'Every', 'Every Other', 'Every 1st', etc.
    (4) :day_txt, a comma-delimited list of days wanted, e.g. 'Tue,Thu'. (They don't have to be in order. If you're using 3-letter English abbreviations, they don't really have to be delimited.)
    I assume your app can produce these from the screen inputs.
    WITH     d     AS
    (     -- Begin sub-query d to find all dates in range
         SELECT     TO_DATE (:start_dt, 'DD-Mon-YYYY') + LEVEL - 1     AS dt
         FROM     dual
         CONNECT BY     LEVEL <= TO_DATE (:end_dt, 'DD-Mon-YYYY')
                        + 1
                        - TO_DATE (:start_dt, 'DD-Mon-YYYY')
    )     -- End sub-query d to find all dates in range
    ,     w     AS
    (     -- Being sub-query w to compute week_num
         SELECT     dt
         ,     1 + FLOOR ((dt - TRUNC (dt, 'MM')) / 7)     AS week_num
         FROM     d
         WHERE     :day_txt     LIKE '%' || TO_CHAR (dt, 'Dy') || '%'
    )     -- End sub-query w to compute week_num
    SELECT     TO_CHAR (dt, 'DD-Mon-YYYY Dy')     AS run_dt
    ,     week_num
    FROM     w
    WHERE     (:freq_txt = 'Every')
    OR     (:freq_txt = 'Every Other'     AND     week_num IN (1, 3, 5))
    OR     (:freq_txt = 'Every 1st'     AND     week_num = 1)
    OR     (:freq_txt = 'Every 2nd'     AND     week_num = 2)
    OR     (:freq_txt = 'Every 3rd'     AND     week_num = 3)
    OR     (:freq_txt = 'Every 4th'     AND     week_num = 4)
    ORDER BY     dt
    ;If you don't understand what the subqueries are doing, run them alone. (e.g. "WITH d AS (...) SELECT * FROM d;")

  • Data creation in data manager vs. ERP transaction

    Hi experts,
    I have a general question on working with MDM: When I use MDM as central data management tool then I create and change the whole data within MDM Data Manager or maybe in MDM iViews in EP. Doing that way I will loose a lot of positive aspects I had doing this in ERP formerly even when using business content.
    For example:
    - no process logic exists (which I had in ERP dynpros in the code): no preconfigured assignments, validations, relationships, etc.
    - I have to know all relevant tables where I have to do my entries
    - no standard searches for typical problems
    - all roles and authorizations have to be created on my own (except standard roles like Admin, Data Expert, etc.), there is no possibility to transfer authorizations from ERP to MDM (authorizations can be very complex)
    - you need more (expert) know-how to maintain data (which is also a job of business departments)
    - etc.
    So a change to central master data management means a step backwards from a dynpro controlled input GUI to a database frontend with only rudimental features and loosing a lot of functionality that was build within a lot of years.
    Is this right or did I miss something important? I think loosing all this functionality can be a cause for resistance against introduction of MDM central data management in companys.
    Thanks for your answers. Helpful answers will be rewarded.
    BR, bd

    Hi BD,
    CMDM is one of the later stages in using MDM effectively.Before moving to a CMDM scenario it is necessary that ground base is set up.
    - One goes for a CMDM scenario once all the one time data(exisiting data) is already cleansed.So firstly you need to extract all the possible high risk duplicates existing data from the ERP sytem into MDM ,run the matching merging strategies on them and then maintain the consistent data in MDM.Once this step is completed only then it makes sense to go for the creation of new data centrally through MDM.
    - Just like in ECC when a user creates a new material for instance.He has to go through all the views and enter in all the required and optional fields value.In the same way this same scenario can be replicated in MDM by creting a repository with all the fields that one needs to enter while creating a new material. and by using MDM Validations we can simulate the same requirement of mandatory as in ECC.
    - If you go for a Business content repository for Material,Vendor,Product etc you will have all the ready to use Roles with authorizations so its no a much of rework.
    - Standard searches amy not be available in MDM but one can always desig his/her own search based on the customer requirement and MDM searches are very easy to use and also very dynamic.
    I do agree that SAP MDM may not be a fully grown tool at this point of time but with the SAP MDM 7.1 vs most of these drawbacks will be addressed. and besides although ECC can do most of the Master data related work it is not a dedicated system for that purpose and will therefore have an influence on the performance and time involved aspects.
    Hope It Helped,
    Kindly Reward Points if found useful
    Thanks & Regards
    Simona Pinto

  • Assign Month within a date range (by most days in a given month)

    I have a begin and end date, sample data as such
    select to_date('01-13-12','mm-dd-yy') from_dt,
    to_date('02-23-12','mm-dd-yy') to_dt
    from dual
    union all
    select to_date('03-15-2012','mm-dd-yy') from_dt,
    to_date('04-16-2012','mm-dd-yy') to_dt
    from dual
    union all
    select to_date('05-13-2012','mm-dd-yy') from_dt,
    to_date('07-23-2012','mm-dd-yy') to_dt
    from dual
    How do I assign a month by the most days in a month within that date range? Sometimes the date range might have the exact same amount of days in a month (like 3/15/2012 has 16 days and 4/16/2012 has 16 days). In this case, I want the earlier month (march).
    So from the sample data:
    01/13/2012, 02/23/2012, February
    03/15/2012, 04/16/2012, March
    05/13/2012, 07/23/2012, June
    Thanks
    Edited by: user4422426 on Mar 1, 2012 5:15 PM

    Hi,
    Here's one way:
    WITH     cntr          AS
         SELECT     LEVEL - 1     AS n
         FROM     (
                   SELECT      1 + MAX (to_dt - from_dt)     AS max_day_cnt
                   FROM     table_x
         CONNECT BY     LEVEL     <= max_day_cnt
    ,     got_r_num     AS
         SELECT     x.from_dt, x.to_dt
         ,     TRUNC (x.from_dt + c.n, 'MONTH')     AS month
         ,     count (*)                    AS cnt
         ,     ROW_NUMBER () OVER ( PARTITION BY  from_dt, to_dt
                             ORDER BY        COUNT (*)     DESC
                             ,             TRUNC (x.from_dt + c.n, 'MONTH')
                           )     AS r_num
         FROM       cntr     c
         JOIN       table_x  x  ON  c.n  <= x.to_dt - x.from_dt
         GROUP BY  x.from_dt, x.to_dt
         ,       TRUNC (x.from_dt + c.n, 'MONTH')
    SELECT     from_dt, to_dt
    ,     TO_CHAR (month, 'Mon YYYY')     AS mon
    ,     cnt
    FROM     got_r_num
    WHERE     r_num     = 1
    ;Thanks for posting code to create the same data. Please test your code before you post it: you got the order of arguments to TO_DATE reversed.

  • Function Module to Compare Date within date Range

    Hi All,
            Does anyone know Function Module to Compare Date within date Range...For example i need to find whether 08/02/2006 falls in between 07/15/2006 and 09/15/2006......

    data: datum type sy-datum value '20070802',
          datum_low type sy-datum  value '20070730',
          datum_high type sy-datum value '20070930'.
    If datum between datum_low and datum_high.
    Endif.
    Regards,
    Rich Heilman

  • Today's Date within Date Range

    I have a BeginDate and EndDate in a database.  I want to be able to list those records if todays date is within the date range of BeginDate and EndDate.  I am unsure of the coding on this.  Has anyone done this and can give me some help? Thanks.

    Error Occurred While Processing Request
    Variable GET is undefined
    Ok That is what I thought.  I have tried it without the # and I get There is an error in the syntax of the query.

  • All the data that is equal within a certain range to be defined as equal in array

    Hi, I need to get some help!
    In edge detection, I get the result of all edges found in an array. When two or more edges is found close to eachother, I need to get them defined as one edge found.
    As an example, if the VI locate 10 edges, but 5 of them is close to eachother within a certain range, there will be only 6 result on the output.
    I'm quite new to Labview and will appreciate any sort of help

    I think I need help to solve the problem from scratch. As you can see in the picture it has been detected several edges in the middle of the picture. To the right in the picture you can see the array showing the Y-position of each edge detected. I need all edges that is within 30 pixels to eachother to be considered as one edge, and then compute the new array showing the position of the edges. 
    Attachments:
    example.JPG ‏95 KB

  • Automatic debit to customer, if customer fails to pay within due date

    Dear Gurus,
    i belong to consumer products company. we give incentives to our customer in form of different discounts e.g. booking discount, monthly discount, trade discount, foreign tours etc etc.
    At present our payment terms ranges 30 to 60 days and we book invoice at gross rate and above mentioned discounts are subject to clearance of payment so we create accrual of discount in invoice and if payment is received within due date discount is given to customer through credit memo process
    Accounting entries are as follow ---example
    At the time of invoice
    AR                                                10,000   Dr
    discount expense                          2,000   Dr
    Sales                                                               10,000      Cr
    Discount provision                                             2,000     Cr
    as payment is cleared credit note is issued
    Discount provision                         2,000 Dr
    AR                                                                    2,000     Cr
    now our credit control deparment says its not easy to handle separate credit notes to customer. there wish is as follow
    At the time of INvoice
    AR                                                 8000   Dr
    Discount Expense                        2000   Dr
    Sales                                                              10,000 Cr
    and if payment is not received on time, system should raise debit note automatically by passing this entry
    AR                                            2000 Dr
    Discount Expense 2000 Cr
    please advice in this regard

    Hi Henri,
    I found the answer, when user enter the original document number in reference field of credit memo, the system can auto calculated the net due date!
    no reference doc
    [PIC1|http://www.flickr.com/photos/44956360@N08/5208025267/]
    input reference doc
    [PIC2|http://www.flickr.com/photos/44956360@N08/5208623198/]
    Thanks for your help.
    Best regards,
    Eric

  • What Master Data to hold within a Data Warehouse

    Hi,
    We are developing a data warehouse which will incorporate Master Data entities. We have a pre-existing Master Data Management solution which will be the system of source for MD within the DW & associated Data Marts. We have decided to have a copy
    of the MD within the DW. However we are of two schools of thought on what data should be held.
    One school says that only those attributes that shapes a query result should be held in the DW-MD the second says that All MD that may be used by a reporting system should be held within the DW so that it is the single source of data for the reporting
    application. let me give an example. Let’s say we have a Customer MD entity with the following attributes
    Customer
    ID
    NAME
    COUNTRY *
    EMAIL ADDR
    CITY *
    PHONE NUM
    GENDER *
    LAST LOGGED IN
    FAX ADDR
    DATE OF JOINING *
          LOGO (binary)
    Now, we will never do a query based on phone number, fax or email address etc. But the attributes flagged by a
    * will shape queries when coupled with our facts. Such as "find all male customers with 4 or more transactions over $1000" or "find all customers registered from 2007 based in New York who have purchased an X". However when
    showing the results we will always show the full customer profile including Name, email address etc. (I realise the queries are very specific and not report queries as such but they suffice for the question at hand)
    The first schools says only the query shaping MD elements should form the MD within the DW and that the reporting application should obtain the remainder directly from the group MD system as required. The second school says that the DW (or the DM) should
    furnish all the MD required by the application. My question is which of the two approaches is considered best practice and as importantly, why?
    Cheers,
    Daryl

    Do you have ODS? NDS?...? or you just have Data warehouse as the only resource for covering reports and dashboards?
    if you do have only the Data Warehouse then you have to cover
    all report's requirements within the data warehouse, no matter it used in the filter/slicing dicing/or as display only field. So I would add those fields such as names, email address, phone number, as attributes in the data warehouse. But I will only
    consider indexing and data warehouse best practices for performance tuning for attributes that participate in slicing and dicing and filtering (such as country, year....).
    on the other hand; if you use SSAS multi-dimensional cube on top of your data warehouse, then you can set some attributes to be only visible (attributes for display only), and some of them to be visible and hierarchy enabled (attributes that participate
    in slicing and dicing and filtering).
    Regards,
    Reza
    SQL Server MVP
    Blog:  
    http://rad.pasfu.com  Twitter:
      LinkedIn:
    SQL Server Integration Services 2012 Tutorial Videos:
    http://www.radacad.com/CoursePlan.aspx?course=1

  • To find if a date lies between a range

    Hi Experts,
    I have a custom table with fields Terms, Valid from date, Valid to date.
    ex:
    TextID1 Valid from 1.1.2007 till 31.06.2007
    TextID2 Valid from 1.1.2007 till 31.12.2007
    so on and so forth,
    Now if the user inputes a date like 12.10.2007, i need to pick up TextID2, how do i achieve it? ( i need to find if it lies within a range)
    all help is appreciated and rewarded!!
    cheers,
    K

    data : V_DATE type date.
    " HERE U CAN USE TABLE FIELD ENISTEAD OF V_DATE." 
    ranges: TextID1 FOR V_DATE,           
                TextID2 FOR V_DATE.              
        TextID1-sign = 'I'.
        TextID1-option = 'BT'.
        TextID1-low = '01/01/2007'.
        TextID1-high = '31/06/2007'.
        append TextID1.
        TextID2-sign = 'I'.
        TextID2-option = 'BT'.
        TextID2-low = '01/01/2007'.
        TextID2-high = '31.12.2007'.
        append TextID2.
        IF '12.10.2007' IN TextID1.
        WRITE: 'BC1'.
         ELSE.
         WRITE: 'BC2'.
        ENDIF.
    USE THIS CODE  AND MAKE CHANGES ACCORDING UR DESIER OUTPUT
    Edited by: anil chaudhary on Sep 1, 2008 8:15 AM

  • How to Check date within limit

    Hello 2 all,
    Plz Help me i am new 2 Labview
    i am using labview 8.2.1
    i want 2 check the given date within the From and To date for Report generation.
    plz help me if any one knows, i need it urgently.
    Solved!
    Go to Solution.

    I imagine that when you pass a string into In Range and Coerce it does an alphabetical check.  It doesn't know you formatted the string as a date.  It just sees a string.  Use time stamps.  An example is attached.  It's LV 8.5
    Tim Elsey
    LabVIEW 2010, 2012
    Certified LabVIEW Architect
    Attachments:
    date checking-1.vi ‏7 KB

Maybe you are looking for

  • Selling iPod Touch 2nd Gen 8GB

    Hi i was wondering if apple will buy an old ipod touch that i have 2nd gen 8GB and does anyone know about how much apple would offer

  • Wireless connection drops on 1/2 of computers on network

    I have an Apple Airport Extreme N Router setup to feed my NAS wirelessly to all computers on my network. Some computers on the network can sign in wirelessly (Via TP-Link TEWDN3200 USB Adaptor) and connect to the NAS. The other half drop connections

  • Can quicktime pro capture video stream?

    Can QT pro record video streams off the internet? I thought it was only able to capture embedded video files. Video streams aren't donwloaded into cache, so they have to be saved as they're received. Could someone clarify? Thank you.

  • Can't find Adobe Muse in Adobe Download Assistant?

    Hi, I was wondering if anyone can tell where you find Adobe Muse in the Adobe Download Assistant?

  • Building multi selection for input schedule

    Hi Guru, I woul like to build a query based on different selection for each colunm , could advice me how to build this input schedule.    the structure should be like this :      Drop down list for each field selection , the user can do different sel