Prompt on Quarter

Hi
I have an object in universe like "Fiscal Quarter". The values of this object are like Q1 FY08,Q2 FY08,Q3 FY08.....I want to create prompt on this object in webi like "Fiscal Quarter between.....and......". As this is character data how will the BO recognize the order?As the data is in alpha numerics, it is taking in alphabetic order like Q1 FY08,Q1 FY09,Q1 FY10 etc.
For example if i have selected like "Quarter between Q1 FY08 and Q3 FY08", Actully it should display the data of Q1 FY08,Q2 FY08 and Q3 FY08. But it is taking the quarter like Q1 FY08,Q1 FY09,Q1 FY10 etc.
Please advise.
Thanks

Hi Raveendra,
I Hope you are getting the correct data , But not in the order you want like Q1 FY08,Q2 FY08 and Q3 FY08.
*The Datatype of the Quarter doesnu2019t matter.
Please,  see the other dimension objects you have in your report , WEBI groups the quarter data according to the dimension values in  the report. You can see all dimension values together like in below Ex. All US  values, and France values  together and distributes quarter values accoding to dimension.
Ex:
Country        Quarter              Sales Revenue
US               Q1 FY08              $456,789
US               Q1 FY09              $859,259
US               Q1 FY10              $159,357
France         Q1 FY08               $987,157
France          Q1 FY09               $267,817
France          Q1 FY10               $628,976
To See the Quarter values in the order you want, you can sort quarter in Ascending order that will change the order of the dimension i.e. US, France.
I hope this is Clear...
Thanksu2026
Pratik

Similar Messages

  • Insert prompt value as column in report...

    Hello,
    We use reports to populate the recipient list of our campaigns (the segmentation wizard does not meet our needs). The source code assigned to each campaign is as follow, 'YYYYQX', with YYYY being the year of the campaign and X being the quarter of the campaign. During the creation of the report, the year of the campaign is specified by the user through a prompt. The same applies to the quarter. I am trying to build the report in such a way that the data can be downloaded as a .csv file and reimported directly into Siebel, without manual editing, to populate the recipient list for the campaign. This means that I would need to extract values provided by the user through the prompt to automatically populate the source code column in my report. For instance, if the user picked year 2008 and quarter 3 as prompt values, the source code column should be "2008Q3" for each record included in the report.
    Any thoughts?
    Thanks in advance,
    JP

    Thom,
    Thanks for the quick answer! This helps me with the formatting part of the problem. The part which still remains to be answered is how to obtain the value specified by the user as a prompt. I use a prompt with a "less than" condition on the field which records when our contacts gave their consent to be entered into our system (we refer to it as consent date). I also use a prompt to filter contacts based on the quarter of the consent date.
    For illustration purposes, if the user runs the report for the 2008 Q1 campaign (i.e. prompt for year set to 2008, and prompt for quarter set to 1), the report will include all contacts who were entered in the system during Q1 of year 2008, 2007, 2006, 2005 and so on. In this specific instance, I would like to see "2008Q1" as a constant column labeled "source code" since it will be the corresponding source code for the campaign in which we will later on import the output of the report to create the recipient list. Right now, the only way I can think of getting the information to populate the "source code" column is to obtain data directly from the prompt, if at all possible. If not, any other way to get there would be great.
    I hope this makes sense!
    Thanks,
    JP

  • Dashboard Prompt - Variable - Populate/Calculate column in Pivot Table

    1. I have a need to store the values of three prompts (Year, Quarter and Month) in my dashboard prompt, So a 'column A' (calculated value/measure) can be dynamically populated in my pivot table based on the users chioce.
    These prompts have to be multiselect prompts as the user may opt for 2 or more years/ quarters / months etc.
    I don't think Presentation Variable would work as I have to use multiselect prompt, I have been trying Non-System Session Variables & dynamic repository variables- but could not get it to work. I am thinking only of using one of the three variables (session/dynamic/presentation) so far, is there a better way to tackle this?
    Any help/pointers would be much appreciated, thanks

    I should clarify a little: our sales "process" is very simple (not really a process). We do not use Opportunities. We enter new Leads, and if we win the business, we convert them to a Contact. Thus, our "win %" is simply the number of converted Leads divided by the total Leads for a given period. In my table I would like to display the % of Leads for a given period that are converted to Contacts.
    Thanks again.

  • Hide a Row in Pivot table depending on condition

    Hi , I am using pivot table which is in below format.
    I--------------------date 1 | date 2 | date 3| new calculated item
    measure 1 v1 v2 v3 v4
    measure 2 v5 v6 v7 v8
    measure 3 v9 v10 v11 v12
    measure 4 v13 v14 v15 v16
    now i need to hide the date 2 (ie v2 v6,v10,v14) column in the pivot table ( which is actually a value in a row for a column named as_of_date)
    is this possible.
    please let me know the solution.

    Thanks @mma
    i am unable to pass that {val1} exactly
    here my scenario is, i have
    year prompt and quarter prompt
    depending on year prompt ,quarter prompt is populated with 4 dates
    now i need to pass the max and min values of dates
    to the asofdate.
    please explain me this scenario.
    thanks

  • Mutifilter input for a component

    Hi All,
    I am pretty new to Xcelsius. I have a requirement for multiple filter input which I am not able to execute. My data is coming from a BEx Query & we only have QAAWS to get the data into xcelsius
    Requirement:
    Showing data in a Column chart. I have 3 filters Year, Quarter and Month
    User wants the chart to get refreshed when they select just the year;(or) year and quarter; (or) year, quarter & month
    Problems:
    1) I have created the dashboard with 3 combo box components for filtering dates and in the qaaws connection properties I have selected to trigger the component based on changes in Month cell (C1). The output of my combo box are siting in A1, B1 & C1 for Year, Quarter & Month respectively. As I have selected to trigger only based c1, the chart is not refreshing unless I change some thing in the Month Combo box. I also created a Qwaas with 3 filters with Year as compulsory prompt and quarter & month as optional prompts. It didn't work either
    Is there a way to trigger the component based on combination of selection as per the requirement
    2) I have given the titles for the Combo box as "Select Year", "Select Month" etc which are appearing on the top of the boxes but, the user wants to see the text in the Combo box itself, before selecting anything. I tried naming one cell and putting it as label but it is not working
    IS there a way to get "Select" text as default when the dashboard is opened
    Thanks,
    Mitch

    Hi Mitch,
    1) Create another cell, "D1 = A1 & B1 & C1" and use D1 as your trigger cell.  This will update whenever either one of A1, B1 or C1 changes.
    2) A solution would be to overlay a text label (with the text "Select Year") on top of the Combo box (with a white background so as to cover the text behind it).  Use the Dynamic Visibility to only appear whenever the combo box has no item selected.
    Let me know if you want more details or a step-by-step.

  • Unable to restrict a rolling char field in MDX Universe.

    Hello!
    I am trying to create a restricted Characteristic in a SAP BW OLAP Universe. The chararcteristic is a Quarter field and has to be restricted for some reports to not display the last quarter in a rolling quarter period.There are a few menthods I followed inorder to achieve this, which are as below:
    1) Object - SELECT CLAUSE : <EXPRESSION>EXCEPT( [0CALQTR].[LEVEL01],[0CALQTR].[LEVEL01].CurrentMember.LastSibling)</EXPRESSION>. This gives and error messsage that the MDX expression is not valid.
    2) Object - WHERE CLAUSE : <EXPRESSION>EXCEPT( [0CALQTR].[LEVEL01],[0CALQTR].[LEVEL01].CurrentMember.LastSibling)</EXPRESSION>. This gives and error messsage that the MDX expression is not valid.
    3) Pre-Defined Filter -
    <FILTER KEY="[0CALQTR].[LEVEL01]">
    <CONDITION
    OPERATORCONDITION="NotEqual">
    <CONSTANT CAPTION="[0CALQTR].[LEVEL01].CurrentMember.LastSibling"/>
    </CONDITION>
    </FILTER>. This also does not work giving a MDX statement not valid error message.
    However, the only thing that works in all of the above the is the predefined filter with the following expressions:
    <FILTER KEY="@Select(Fisc. Year/Quarter\L01 Fisc. Year/Quarter)">
    <CONDITION
    OPERATORCONDITION="NotEqual">
    <CONSTANT CAPTION="@Prompt('L01
    Quarter','A','L01 Fisc. Year/Quarter',mono,constrained)"/>
    </CONDITION>
    </FILTER>.
    Kindly suggest if I can avoid using the prompt and just restrict the Quarter characteristic (with rolling quarters) to avoid displaying the last quarter.
    Any inputs are highly appreciated.
    Thanks,
    Vivek.

    Hi,
    I believe you have to explicitly include a validate activity...
    http://docs.oracle.com/cd/E25054_01/dev.1111/e10224/bp_appx_ref.htm#BABJDHEH
    Cheers,
    Vlad

  • Quarter Prompt hierarchy

    Hi,
    I hav year ,quarter and month revenue columns
    In dashboard promt select year and then select Quarters
    if I select Q1 report should display JAN ,FEb And March
    if select Q2 report should display Jan,feb,mar,apr,maty and june
    if select Q3 ..................................jan... to... September
    if selects Q4 .......................Jan... to.... Dec
    how can i achieve this ..
    very urgent thanks in advance
    Regards,
    Jes

    Create a pivot table. Add the month column into the pivot columns section. This should do it. If with the hierarchy doesnt work, create a prompt with 2 fields , 1 for the year, and 1 for the quarter and set the quarter field to depend on the year.
    J.-

  • Calculated quarter columns on the months in prompt

    Hello All,
    In my financial reporting studio report I have 2 prompts for selecting months relating to scenario. one is for selecting months for Actuals and another is selecting months for budget.
    The user can select 12 months from Actuals or budget.
    for example user can select Jan, Feb, Mar, Apr,May for Actuals and Jun, Jul, Aug, Sep, Oct, Nov, Dec for Budget.
    the issue is we have to create Quarter columns on the basis of prompts. the Q1 should be the sum of selected Jan, Feb & Mar (Actual Selected /maybe budget also some times)
    Q2 will be sum of Apr,May (Actuals),Jun (Budget)
    Q3 will be sum of Jun, Jul & Aug (Budget selected in the prompt)
    Q4 will be sum of Oct,Nov,Dec (Budget selected in the prompt)
    The sum of quarters should be based on the prompts which are using for scenario.
    can any please help me in this.. thank you ALL

    how is the data displayed? if you always have 12 columns, you could just add the 3 months for each quarter ignoring the scenario.

  • Quarter columns to be filtered by using month prompt

    Hi,
    I had quarter year name as jan-10,apr-10,jul-10,oct-10.these should be fltered out when i select a criteria as betwwn twom months.
    If i select start month as jan and end month as aug then it has to show data from jan to aug as it means jan-10, apr-10, and jul-10 quarters.
    PLease give solution fot this type of issue.
    Thanks
    Rishi

    Hi friend,
    you can assing a number to every month, it means, jan -> 1 feb -> 2 mar -> 3... dec -> 12, for example creating a logical column in BMML. Then you can filter data comparing numbers instead of comparing strings. Then, in a report, you can show the descriptions (jan 10, apr 10, jul 10, oct 10) but the filter will be over the numbers of months.
    Good luck.

  • FR : How to change from monthly to YTD or quarter data in the same report

    Hi,
    We have several basic reports with 12 month in columns with monthly figures. We would like to try to improve these reports with 2 options (and not creating new reports):
    - For each month, we would like to choose between monthly & year to date figures. (we do not have a view dimension with YTD member)
    - In our period dimension we also have quarter members. How to choose between displaying month or quarter with the prompts ? (ie without having to select each month one by one)
    Does it is possible to do this with FR without adding a new dimension for monthly or YTD data?
    thanks!
    Tipiak

    Hi Tipiak,
    In order to show YTD Actual figure for the selected month, I was doing something like that
    - Add a hidden col from Jan to Run Time period selected.
    - Add a visible formula col and add the formula showing the total of the hidden col.
    Your requirement seems more complex but you might meet some part as an initial step maybe...
    Regards,
    Ahmet

  • Using Sql Result and Limit Value in Prompt OBIEE 11.1.1.5

    Dear Gurus,
    I have prompt hierarchy like this:
    Year
    Quarter
    Month
    Which are using limit value (Quarter depend on Year, Month depend on Quarter), but I have issue because appear null also in those prompt
    I have checked my database, view, repository there are not null.
    My questions is, how to remove null in prompt when sql result can't use together with limit value, I don't know how to remove it using column filter.
    NB:I already using presentation variable in sql result in order to remove null and using constraint, but it show nothing in prompt view unless we press apply button.
    So I don't use this
    Please help, kindly appreciated
    JOE
    Edited by: JoeSSI on Mar 27, 2012 2:03 AM

    Hi,
    Can you edit your prompt here you can find show option then select SQL Result please modify statement like below.
    SELECT your column name FROM subject area where your column name is not null
    Go--> Edit your prompt--> Show--> Select Sql result---> change statement like above.
    Second way.
    Go to physical layer then double click your column name here you can find *"nullable"* option please check that.
    Go--> Physical Layer--> Extract table --> select your column name-->double click your column name--> here you can find option like Nullable please check it.
    Award points it is useful.
    Thanks,
    Satya

  • Queries for current Qtr and prior quarter

    If I select one date in dashboard prompt in one column I want to display current quarter revenue and prior Qtr revenue.
    Could anyone give me the queries for the current Qtr and prior Qtr?
    So I will going to use presentation variable from the dashboard prompts

    obiee-date-expressions-reference
    Date Calculation OBIEE Expression Explanation :
    First Day of the Previous Year
    TIMESTAMPADD( SQL_TSI_YEAR , -1, TIMESTAMPADD( SQL_TSI_DAY , EXTRACT( DAY_OF_YEAR FROM CURRENT_DATE) * -(1) + 1, CURRENT_DATE)) From right to left the first TIMESTAMPADD returns the first day of the current year. The second TIMESTAMPADD removes a year from the returned date for the First Day of the Previous Year.
    First Day of the Current Year
    TIMESTAMPADD( SQL_TSI_DAY , EXTRACT( DAY_OF_YEAR FROM CURRENT_DATE) * -(1) + 1, CURRENT_DATE) This calculation returns the first day of the year by deducting one less than the total number of days in the year.
    First Day of the Next Year
    TIMESTAMPADD( SQL_TSI_YEAR , 1, TIMESTAMPADD( SQL_TSI_DAY , EXTRACT( DAY_OF_YEAR FROM CURRENT_DATE) * -(1) + 1, CURRENT_DATE)) From right to left the first TIMESTAMPADD returns the first day of the current year. The second TIMESTAMPADD adds a year to the date returned which will give the first day of the next year.
    First Day of the Previous Month
    TIMESTAMPADD(SQL_TSI_MONTH, -1, TIMESTAMPADD( SQL_TSI_DAY , DAYOFMONTH( CURRENT_DATE) * -(1) + 1, CURRENT_DATE)) From right to left the first TIMESTAMPADD returns the first day of the Current Month. The second TIMESTAMPADD then subtracts one month from the first day of the Current Month arriving to the First Day of the previous month.
    First Day of the Current Month
    TIMESTAMPADD( SQL_TSI_DAY , DAYOFMONTH( CURRENT_DATE) * -(1) + 1, CURRENT_DATE) This expression gets the current day of the month and subtracts one less than the current day to arrive at the first day of the month.
    First Day of the Next Month
    TIMESTAMPADD(SQL_TSI_MONTH, 1, TIMESTAMPADD( SQL_TSI_DAY , DAYOFMONTH( CURRENT_DATE) * -(1) + 1, CURRENT_DATE)) From right to left the first TIMESTAMPADD returns the first day of the Current Month. The second TIMESTAMPADD then adds one month from the first day of the Current Month arriving to the First Day of the next month.
    First Day of Current Quarter
    TIMESTAMPADD( SQL_TSI_DAY , DAY_OF_QUARTER( CURRENT_DATE) * -(1) + 1, CURRENT_DATE) This was included to show the calculations discussed above can be used with other functions. This is the same expression as the one that returns the first day of the current month except this one uses the DAY_OF_QUARTER property to return the first day of the current quarter.
    Last Day of the Previous Month
    TIMESTAMPADD( SQL_TSI_DAY , -(1), TIMESTAMPADD( SQL_TSI_DAY , DAYOFMONTH( CURRENT_DATE) * -(1) + 1, CURRENT_DATE)) From right to left the first TIMESTAMPADD returns the first day of the Current Month. The second TIMESTAMPADD subtracts a month to arrive at the first day of the previous month.
    Last Day of Current Month
    TIMESTAMPADD( SQL_TSI_DAY , -(1), TIMESTAMPADD( SQL_TSI_MONTH , 1, TIMESTAMPADD( SQL_TSI_DAY , DAYOFMONTH( CURRENT_DATE) * -(1) + 1, CURRENT_DATE))) From right to left the first TIMESTAMPADD finds the first day of the current Month. The second TIMESTAMPADD adds one month to the date to arrive at the first day of the next month. The final TIMESTAMPADD subtracts one day from the returned date to arrive at the last day of the Current Month.
    Last Day of the Next Month
    TIMESTAMPADD( SQL_TSI_DAY , -(1), TIMESTAMPADD( SQL_TSI_MONTH , 2, TIMESTAMPADD( SQL_TSI_DAY , DAYOFMONTH( CURRENT_DATE) * -(1) + 1, CURRENT_DATE))) From right to left the first TIMESTAMPADD finds the first day of the current Month. The second TIMESTAMPADD adds two months to the date to arrive at the first day of month after next. The final TIMESTAMPADD subtracts one day from the returned date to arrive at the last day of the Next Month.
    Last Day of Previous Year
    TIMESTAMPADD( SQL_TSI_DAY , -1, TIMESTAMPADD( SQL_TSI_DAY , EXTRACT( DAY_OF_YEAR FROM CURRENT_DATE) * -(1) + 1,
    CURRENT_DATE)) From right to left the first TIMESTAMPADD returns the first day of the current year. The second TIMESTAMPADD subtracts one day to arrive at December 31st of the previous year.
    Last Day of Current Year
    TIMESTAMPADD(SQL_TSI_YEAR, 1, TIMESTAMPADD( SQL_TSI_DAY , -1, TIMESTAMPADD( SQL_TSI_DAY , EXTRACT( DAY_OF_YEAR FROM CURRENT_DATE) * -(1) + 1, CURRENT_DATE))) From right to left the first TIMESTAMPADD returns the first day of the current year. The second TIMESTAMPADD deducts one day to arrive at December 31 of the previous year. The third TIMESTAMPADD adds a single year to the date to arrive at December 31 of the Current Year.
    Last Day of the Next Year
    TIMESTAMPADD(SQL_TSI_YEAR, 2, TIMESTAMPADD( SQL_TSI_DAY , -1, TIMESTAMPADD( SQL_TSI_DAY , EXTRACT( DAY_OF_YEAR FROM CURRENT_DATE) * -(1) + 1, CURRENT_DATE))) From right to left the first TIMESTAMPADD returns the first day of the current year. The second TIMESTAMPADD deducts one day to arrive at December 31 of the previous year. The third TIMESTAMPADD adds 2 years to the date to arrive at December 31 of the Next Year.
    Last Day of Current Quarter
    TIMESTAMPADD( SQL_TSI_DAY , -(1), TIMESTAMPADD( SQL_TSI_QUARTER , 1, TIMESTAMPADD( SQL_TSI_DAY , DAY_OF_QUARTER( CURRENT_DATE) * -(1) + 1, CURRENT_DATE))) Demonstrated using Quarters. From right to left the first TIMESTAMPADD returns the first day of the Current Quarter. The second TIMESTAMPADD returns the first day of the next quarter. The final TIMESTAMPADD subtracts a single day from the date to arrive at the last day of the Current Quarter.
    Number of days between First Day of Year and Last Day of Current Month TIMESTAMPDIFF(SQL_TSI_DAY, CAST('2010/01/01 00:00:00' AS DATE), TIMESTAMPADD( SQL_TSI_DAY , -(1), TIMESTAMPADD( SQL_TSI_MONTH , 1, TIMESTAMPADD( SQL_TSI_DAY , DAYOFMONTH( CURRENT_DATE) * -(1) + 1, CURRENT_DATE)))) For simplicity I hard coded the January 1, 2010 date and CAST it to a date. I could have used the First Day of the Current Year calculation but didn’t want to over clutter the example. The second part of the TIMESTAMPDIFF uses Last Day of the Current Month calculation to force the TIMESTAMPDIFF to calculate the number of days between the first day of the year and the last day of the current month.
    =============
    FYI, let say some example,
    Last day of previous Quarter:
    "GPC_DataMart"."GPC_DataMart"."dbo"."LQ_Position"."Business_Date"=TIMESTAMPADD( SQL_TSI_DAY , -(1), TIMESTAMPADD( SQL_TSI_DAY , DAY_OF_QUARTER( "GPC_DataMart"."GPC_DataMart"."dbo"."MT_BUSINESS_DATE"."Business_Date") * -(1) + 1, "GPC_DataMart"."GPC_DataMart"."dbo"."MT_BUSINESS_DATE"."Business_Date"))
    Last month last day:
    "GPC_DataMart"."GPC_DataMart"."dbo"."LM_Position"."Business_Date"=
    TIMESTAMPADD( SQL_TSI_DAY , -(1), TIMESTAMPADD( SQL_TSI_DAY , DAYOFMONTH( "GPC_DataMart"."GPC_DataMart"."dbo"."MT_BUSINESS_DATE"."Business_Date") * -(1) + 1, "GPC_DataMart"."GPC_DataMart"."dbo"."MT_BUSINESS_DATE"."Business_Date"))
    Last year Last day
    "GPC_DataMart"."GPC_DataMart"."dbo"."LY_Position"."Business_Date"=
    TIMESTAMPADD( SQL_TSI_DAY , -1, TIMESTAMPADD( SQL_TSI_DAY , EXTRACT( DAY_OF_YEAR FROM "GPC_DataMart"."GPC_DataMart"."dbo"."MT_BUSINESS_DATE"."Business_Date") * -(1) + 1, "GPC_DataMart"."GPC_DataMart"."dbo"."MT_BUSINESS_DATE"."Business_Date"))
    Thanks and Regards,
    Deva
    http://obieeelegant.blogspot.com/2011/06/obiee-date-expressions-reference.html

  • Current day and prior day prompts..BUt user should select only one prompt

    there is table in my universe ..mi.dim_date...... the columns/objects are ....ID_date ,Date,Datetime,month,quarter,yeID_date column type is
    Number,Date column type is Date.
    here i want to apply a prompts on Date column, and that prompt,when user select specific date,the prompt should display yesterday data and todays data.
    example..user selects 20140915......prompt should display 20140915 data and 20141409 data..
    i have written a prompt like as follows ..... select mi.dim_date.date where mi.dim_date.date between @prompt('select date','D',mi.dim_date.date,mono,free,not_persistent,user:-1) AND @prompt('select date','D',mi.dim_date.date',mono,free,not_persistent,user:-1)-1
    but i am getting errors like 7 th parametr is wrong...cannot convert data type,...invalid expression type...database staements could not be prepared.

    Hi vbattu,
    According to your description, you want to select some records in the report when export it to Excel. To achieve the goal, we can add a parameter to filter certain rows by following steps:
    Add an additional Multi-value parameter to the report.
    Set the Available Values and Default Values are all got from a field which can be used to select the records in the current dataset.
    Add a Filter based on the new parameter in the tablix to filter the rows.
    The parameter does not affect the data when we view the report. While we can use the parameter to select certain rows when we want to export the report to Excel.
    If you have any more questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Dashboard Prompts in OBIEE 11g

    Hi all,
    I had a requirement:
    In my dashboard page , prompts are YEAR , QUARTER , MONTH , PRODUCT NAME , ORDER NAME .
    Now when i select  YEAR = 2010 , then Quarter should display values related to 2010 .
    If i select Quarter = 2010 Q1 then month should display only related values.
    which is like creating dependency between the dashboard prompts.
    Can some one please help me in this issue .

    In your dashboard prompt properties you need to tick the 'Constrain' box for all the columns that you want be constrained by the other choices, e.g Year, Quarter, Month.
    Only tick Product Name / Order Name if you want these to be constrained also but bear in mind it could cause a performance delay if you are having to join tables to get the constrain.
    Hope this helps,
    Regards
    Alastair

  • Set default values in date prompt

    Hello,
    I have tried everything I can find in the forum to resolve a very daunting task. Thanks in advance for all your help.
    We have Crystal Server 2008 with Tomcat and IIS.
    I have several reports that use start date and end date  as parameters. When the user launches the report date prompt dialog box appears where you user can input the values. Typically (75% ) the user is always looking for yesterday's data however at times he/she would want to pick different date range to review the results. The requirement is to set the default values in the dialogbox to be currentdate-1. Any help is greatly appreciated.
    Paul.

    What we do for all of our reports is have the date parameters be text fields that allow something like PD for prior day, PM for prior month, CM for current month, YTD for year to date, etc.  We then have crystal functions (and database functions; one for start dates and one for end dates) that translates the characters to real dates.  If the text entered does not match one of the "mnemonics", it is assumed to be a date, and it is treated as such.  This allows using the same report for scheduled daily, weekly, monthly, quarterly, etc. and ad-hoc runs without any other special coding.  In your case, you'd set the default parameter values to PD.
    Our mnemonics are of the form [PY]{P|C}{D|W|M|Q|Y}[DOW][{+|-}n], where [PY] is optional to specify a prior year date (for comparison reports), P=Prior, C=Current, D=Day, W=Week, M=Month, Q-Quarter, Y=Year, [DOW] is optional, and used with [PY] to specify that you are looking for the same day of week in the prior year (if CD=8/24/09, PYCDDOW=8/25/08), and the +n or -n allows you to add or subtract days/weeks/months/quarters/years (depending on the interval used) to the date.
    HTH,
    Carl

Maybe you are looking for

  • Can I set the address format for individual contacts?

    I have some foreign friends and would like to set the address format for their individual cards correctly. I can't seem to find a way to do this. I will be taken aback if this can't be done - I think the old Claris contact product did that. Anyone wi

  • How can i record my ipad mini?

    Is there a way to record your ipad without jailbreak because i don't want to jailbreak it??

  • Stop Excel from following specific hyperlinks

    Hi All, I am attempting to create an Excel workbook add-in using VSTO for Excel 2003+. In it, when the user clicks on a hyperlink, and the hyperlink points to a file on the local machine, I want to stop the file from opening up on the native applicat

  • How to maintain the vi refnum ?

    hi all, need your help! I am developing application whichc will create multiple instance from the Template VI (.Vit). i am in need to keep maintain the reference of the instance VI. engine    refnum 1            

  • Selling price in multiples

    hi .... In the material master, in Sales Org 1 View  i have inserted Delivery unit as 10 this means i can send materials in the multiples of 10. But in SO, its gicing onlt information of this its not giving me error and allowing me to go further , te