How do I prompt a date parameter for each piece of equipment?

Hi,
I've developed a report that displays all of the invoices, over a selected date range, for each piece of equipment. There are 25 pieces of equipment. At present, when the report is run there is just one date range parameter. I select the date range and get all invoices that are within the date range. However, if I want to ensure the invoice-related data from January 31, 2012 (for example) for Equipment #2 is returned I need to have January 31, 2012 in my date range. However, I wanted the cutoff date fro Equipment #1 to be January 28, 2012. Under the current design the result set for Equipment #1 will include invoice data up to January 31, 2012.
I would like to select a unique date range PER piece of equipment within the same report.
For example:
Equipment #1 - January 1, 2012 to January 28, 2012
Equipment #2 - January 1, 2012 to January 31, 2012
and so on.
Is this possible? Basically, how do I tell the report the data range I want for each piece of equipment?
thx!
Mark

Hi,
I am not sure of how you would be able to filter records using 2 different parameters.
You can get 2 different parameters for Date dynamically with 2 different data sets.
You need to create 2 formula in Business View Manager , data foundation as below:
if {Customer.Country}='Australia' then {Customer.Customer ID}
and
if {Customer.Country}='Brazil' then {Customer.Customer ID}
Here instead of Country you can use your Equipment Field and respective values.
Save the Data Foundation
In Business Element create 2 Business Elements for these above formula.
And Create 2 LOVs for these Business Element above and schedule them.
Now in crystal reports you can create 2 Dynamic Parameter and use the above created LOV respectively.
I am not sure how you would be able to filter and link the parameters to your report.
Hope this may work or give you a thought.
Cheers,
Kiran.

Similar Messages

  • How to take a single data point for each trigger pulse ( synchronou​s acquisitio​n).

     hi
              im using the pci-mio-16E1 card, with the IDE VC++, so  im looking for an example to explicate me how to make an synchronous acquisition data using an external timing, so the idea is to acquire (take) a single data point for each trigger pulse  from one  input channel ,and saving  the data in a file .
    now im making a code using the AI_setup and DAQ_op functions, im getting  a speed acquisition (it is the start of acquisition data), and  it is  a synchronous acquisition just for one trigger pulse, and me i looking for an acquisition for each trigger pulse. 
      so to  understand my problem you can see my code :
    iStatus = Timeout_Config(iDevice, lTimeout);
             iRetVal = NIDAQErrorHandler(iStatus, "Timeout_Config", iIgnoreWarning);
       //  configuration and selection of  signal trigger  
             iStatus = Configure_HW_Analog_Trigger(iDevice, ND_ON, iLowValue,iHighValue, ND_ABOVE_HIGH_LEVEL, ND_THE_AI_CHANNEL);
            iRetVal = NIDAQErrorHandler(iStatus, "Configure_HW_Analog_Trigger", iIgnoreWarning);
      iStatus = Select_Signal(iDevice, ND_IN_CONVERT, ND_PFI_2,ND_HIGH_TO_LOW);
             iRetVal = NIDAQErrorHandler(iStatus, "Select_Signal", iIgnoreWarning);
        iStatus = AI_Setup(iDevice, iChannel, iGain);
       iRetVal = NIDAQErrorHandler(iStatus, "AI_Setup", iIgnoreWarning);
       while ((iReadingAvail != 1) && (iStatus == 0)) {
     /* Wait until reading is available. */
             iStatus = AI_Check(iDevice, &iReadingAvail, &iReading);
            iRetVal = NIDAQYield(iYieldON);
           //  Acquire data from a single channel 
        iStatus = DAQ_Op (iDevice, iChannel, iGain, piBuffer, ulCount, dSampRate);
       while ((iDAQstopped != 1) && (iStatus == 0)) {
            iStatus = DAQ_Check(iDevice, &iDAQstopped, &ulRetrieved);
            iRetVal = NIDAQYield(iYieldON);
           iStatus = DAQ_VScale(iDevice, iChannel, iGain, dGainAdjust, dOffset,ulCount, piBuffer, pdVoltBuffer);
          iRetVal = NIDAQErrorHandler(iStatus, "DAQ_VScale",iIgnoreWarning);
       /* Set analog trigger mode back to initial state. */
           iStatus = Configure_HW_Analog_Trigger(iDevice, ND_OFF, iLowValue,iHighValue, ND_ABOVE_HIGH_LEVEL, ND_THE_AI_CHANNEL);
      /* Set PFI line back to initial state. */
           iStatus = Select_Signal(iDevice, ND_IN_START_TRIGGER,ND_AUTOMATIC, ND_DONT_CARE);
              iStatus = DAQ_Clear(iDevice);
     /* Plot acquired data  */
          iRetVal = NIDAQPlotWaveform(pdVoltBuffer,ulCount, WFM_DATA_F64);
    so this is the data acquired -0.900879,-0.900879,-0.900879,-0.900879,-0.900879,​-0.900879,-0.900879,-0.900879 and i think that is a noise because all time i get this data.
    tank you very mutch fo your help

    Hello,
    Please see the responses to this thread at the following post.
    http://forums.ni.com/ni/board/message?board.id=250​&message.id=13686
    Also, please only post one thread per issue.
    Regards,
    Sean C.

  • I have apps on my old I phone which I now use as an I pod touch.   I want to use my aps on both my new and old I phones.  How do I use the same aps for two pieces of equipment?

    Can anyone help?

    You can sync as many ipods/iphones as you like to one library/computer/account.
    open itunes
    plug in one device
    choose the apps to sync from the apps tab
    sync
    unplug device
    Do the same for the other device(s).

  • How to fetch year till date value for earning for current ,last and year

    hi,
    how to fetch year till date value for earning for current ,last and year before that from payroll result
    plz reply soon,
    pratyush

    Dear Pratyush,
    Pick this from CRT.
    Use LDB PNPCE & Fire event GET PAYROLL &
    then you can pick from CRT.
    Hope this helps.
    Kindly reward in case useful.
    Regards & Thanks,
    Darshan Mulmule

  • How to add a new data element for existing table filed(Primary key field)

    Hi Experts,
    How to add a new data element for existing table field(Primary key field)
    For this filed ther is no foreign key relation ships and even check table.
    while activating table it is giving message like below.
    can you help any one to solve this and wil steps to add new dataelement for existing primary key filed of a table.
    Check table (NAMING SPACE/TABLE NAME(EX:/TC/VENDOR)) (username/19.02.10/03:29)           
    Primary key change not permitted for value table /TC/VENDOR
    Check on table  /TC/VENDOR resulted in errors              
    Thanks
    Ravi

    Hi,
    Easiest way is to download the table eg into an Excel table (if possible) or text table. Drop the table from the database. Build your table with the new key field. Build the database table again and fill it.
    You can do it also over the database into a new table. Drop the old one. Build the enhanced one and fill it. Afterwards drop your (temporary) table.
    Maybe there are other ways, but this works.
    Success,
    Rob

  • How do I get a data plan for iPad

    How do I get a data plan for my ipad

    Check with your wireless carrier to see if they offer a MiFi device.
    http://en.wikipedia.org/wiki/MiFi

  • How do I get separate iCloud accounts for each family members device and still share iTunes?

    how do I get separate iCloud's for each family members iPhone, iPod and iPad and still share iTunes?

    Have everyone share the same iTunes store ID, but use separate IDs for iCloud.  The ID you use for iCloud does not have to be the same as the ID you use for the iTunes & App store.

  • Individual cell data buttons for each app keep turning on by themselves?

    I have a 4S iPhone, OS 7.0.6, and my problem is that the individual cell data buttons for each app keep turning on by themselves. I'll go in and turn them all off and the next time I look (whether in 5 min or 5 hrs) they are all turned back on again? I want to leave my cell data on so that I receive my iMessages but usually don't want everything else turned on until I get to a wifi zone. I used to be able to keep them all off until  I did  the last couple iOS updates. Help!

    Hey there Tylyssanna,
    It sounds like your cellular data options are not saving correctly. I recommend starting by turning off Cellular Data in Settings first. Then close all the running apps:
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    When you have done that and restart the phone, turn it back on, and test the issue again:
    iOS: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • How to activate a different sub-report for each row in the data set as main report page breaks on each row of data in the main dataset

    I am going to try asking this same question a different way as I have yet to find a working solution to my problem.  I have a main report and then 8 sub reports.  My main report has one data set and returns one row of data per account number.  One
    of the fields in the main data set is called AccountProf.  My main report displays one page per Account number and then calls a different sub report based on that account's AccountProf value.  The sub reports take in the account number as a parameter
    and get multiple rows of data to display that accounts usage formatted differntly for each AccountProf (hence the 8 different sub report.  
    So far I can figure out how to do everything but setting the visibility property of each sub-reports when I have multiple accounts.  If I use the following expression for the visibility property on each sub report, it makes all the applicable sub report
    for all the accounts requested visible at once:
    =IIF(Fields!AccountProf.Value= "USE_PLUS_DMD",False,True)
    *The value in bold USE_PLUS_DMD  is different for each sub report.
    Here is a look at what the main report look like:
    Here is the main reports data set:

    Hi JasonDWilson77,
    According to your description, there is a main report and 8 sub reports in the report, you want to set visibility of sub reports, if no value is passed to the parameter of sub report, the sub report will not be displayed. If that is the case, please refer
    to the following steps:
      1. Create a new parameter named NewAccountNumber, set its data type the same as @AccountNumber, select Allow multiple values, set Visibility to be hidden, then set all available values to default values.
      2. Right-click the first sub report and open Subreport Properties dialog box, click Parameters in left pane, set name to AccountNumber, then click (fx) button, type the expression like below:
    =Parameters! NewAccountNumber(0)
      3. Click Visibility in left pane, select Show or hide based on an expression, then click (fx) button and type the expression like below:
    =IIF(InStr(Join(Parameters! AccountNumber.Value), Parameters!NewAccountNumber.Value(0))>0 , false,true)
      4. Modify parameter of other sub reports like step2.
      5. Set visibility of other sub reports like step3.
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.
    Wendy Fu
    TechNet Community Support

  • Date Parameter for Report

    Hi,
    How can I add a date parameters to a report using date pickers?
    Please Help!!! :)

    William,
    Most of the time you'll want to allow for a range of dates to be selected using the BETWEEN operator. But since your trying to do an exact match try the following:
    select "CSC_MASTER"."LEAD_LOGON" as "LEAD_LOGON",
    "CSC_ACTIVITY"."ACTV_DESC" as "ACTV_DESC",
    "CSC_MASTER"."PRIORITY" as "PRIORITY",
    "CSC_ACTIVITY"."ACTV_DT" as "ACTV_DT",
    "CSC_ACTIVITY"."ACTV_TIME" as "ACTV_TIME",
    "CSC_MASTER"."STATUS" as "STATUS"
    from "CSC_ACTIVITY" "CSC_ACTIVITY",
    "CSC_MASTER" "CSC_MASTER"
    where "CSC_MASTER"."CSC_ID"="CSC_ACTIVITY"."CSC_ID"
    and (to_char(actv_dt,'dd-mon-yyyy') = lower(:P32_SEL_DT))Make sure the format string in the to_char matches the format string you're using for the date picker.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    Edited by: dmcghan on Dec 5, 2008 10:45 AM
    Removed lower from left side as it was not needed...

  • How to apply Date condition for each month in 12 month period to my SQL query

    I am trying to retrieve all Outstanding Problem tickets in my Trendline SSRS report.
    I need to pull the OpenDate <= Last day of last month And CloseDate >= 1st day of current month
    for each month in the Last 12 months. How do I accomplish this in my query?
    I must also need to pull the oustanding tickets for the next 11 months in the same query
    where it will automatically pull the outstanding tickets for when a new month comes
    in out of the 12 month period?
    Here's a sample of my query to pull July 2013 Outstanding Problem tickets:
    Select OpenDate, CloseDate, Ref_Num, Type, status
    From Call_Req
    Where OpenDate <= '2013-07-31 00:00:00' And CloseDate >= '2013-08-01 00:00:00'
    And Type = 'P'
    My Results:
    OpenDate
    CloseDate
    Ref_Num
    Type
    status
    6/13/2013 7:41
    8/26/2013 12:41
    P1726456FY13
    P
    CL
    6/13/2013 8:17
    8/23/2013 12:31
    P1726612FY13
    P
    CL
    6/13/2013 10:17
    9/6/2013 16:54
    P1727352FY13
    P
    CL
    7/12/2013 10:46
    9/6/2013 10:23
    P1812568FY13
    P
    CL
    7/18/2013 10:17
    9/6/2013 8:53
    P1830452FY13
    P
    CL
    7/29/2013 15:54
    9/6/2013 16:16
    P1862906FY13
    P
    CL
    5/17/2013 20:51
    8/22/2013 9:09
    P1653380FY13
    P
    CL
    5/30/2013 13:29
    8/26/2013 7:33
    P1685693FY13
    P
    CL
    7/15/2013 14:14
    9/7/2013 9:42
    P1818874FY13
    P
    CL
    6/7/2013 15:49
    9/6/2013 16:46
    P1712265FY13
    P
    CL
    7/18/2013 10:25
    9/7/2013 9:18
    P1830516FY13
    P
    CL
    7/24/2013 16:30
    8/12/2013 18:26
    P1849909FY13
    P
    CL
    Talitha Davis

    Would this Work?
    DECLARE @now DATE = GETDATE();
    WITH months(lvl, daydate)
    AS (
    SELECT
    1,
    @now
    UNION ALL
    SELECT
    lvl + 1,
    DATEADD(MONTH, -1, daydate)
    FROM months
    WHERE lvl < 12
    ), dateranges(period, opendate, closedate)
    AS (
    SELECT
    CAST(YEAR(daydate) AS CHAR(4))
    + '-'
    + RIGHT('0' + CAST(MONTH(daydate) AS varCHAR(2)), 2),
    DATEADD(DAY, 0-DAY(daydate), daydate),
    DATEADD(DAY, 1-DAY(daydate), daydate)
    FROM months
    SELECT
    b.period,
    a.OpenDate,
    a.CloseDate,
    a.Ref_Num,
    a.Type,
    a.status
    From Call_Req a
    INNER JOIN dateranges b
    ON
    a.OpenDate <= b.opendate
    AND
    a.CloseDate >= b.closedate
    WHERE Type = 'P';
    Microsoft Certified Trainer & MVP on SQL Server
    Please "Propose as Answer" if you got an answer on your question, and vote for it as helpful to help other user's find a solution on a similar question quicker.

  • How to determine the creation date/time for a file?

    The important operating systems maintain both a creation date/time and last modified date/time for files. But in the File class there is only a lastModified() method. How does one determine the creation date/time for a file?

    As far as i know, there is no way to know creation time, since it is a OS dependant information.

  • How to Validate or test SJW parameter For HS CAN Node?

    Hi All,
    To paraphrase the Question asked in the post, If the CAN parameters for Baud rate, Tq, BRP ,Prop Seg 1, PRop Seg 2 are all programmed with proper Tq. How to test them ?
    I have worked on CAN Stress Tool to test Sample point of a  CAN Bit for a HS Node  I achieved this by disturbing a Transmit message from the ECU at Tq level and confirm the sampling point by observing Stuff ERRORs ( for the HS node chosen, NBT -  was 16 Tqs)
    However, please share information in case any one had tested/ Validate SJW parameter for a CAN node. 
    Please also  provide information on Bench setup/ Test Steps if any required.
    Tq- Time Quanta
    BRP -Baud Rate Prescalar
    HS-High Speed
    NBT - Nominal Bit Time
    Thanks,
    Gouri

    Hi All,
    To paraphrase the Question asked in the post, If the CAN parameters for Baud rate, Tq, BRP ,Prop Seg 1, PRop Seg 2 are all programmed with proper Tq. How to test them ?
    I have worked on CAN Stress Tool to test Sample point of a  CAN Bit for a HS Node  I achieved this by disturbing a Transmit message from the ECU at Tq level and confirm the sampling point by observing Stuff ERRORs ( for the HS node chosen, NBT -  was 16 Tqs)
    However, please share information in case any one had tested/ Validate SJW parameter for a CAN node. 
    Please also  provide information on Bench setup/ Test Steps if any required.
    Tq- Time Quanta
    BRP -Baud Rate Prescalar
    HS-High Speed
    NBT - Nominal Bit Time
    Thanks,
    Gouri

  • HOW TO CREATE SAP BW DATA SOURCES FOR TDS REPORT?

    Hi All,
    How to create generic data source for these fields?
    I have TDS report these names and field.
    Pls anyone guide me..
    PAN NUMBER
    J_1IPANNO
    VENDOR NAME (accont type - k)
    LIFNR
    POSTING DATE
    BUDAT
    WITHHOLDING TAX  BASE
    WT_QSSHH
    WITHHOLDING TAX  AMOUNT
    WT_QBSHH
    NAME OF WITHHOLD TAX TYPE
    WITHT

    Hi ,
    Thanks for giving info.
    How to add different tables in generic data source?
    PAN NUMBER
    J_1IPANNO
    J_1IMOVEND
    VENDOR NAME (accont type - k)
    LIFNR
    J_1IMOVEND
    POSTING DATE
    BUDAT
    RBKP
    WITHHOLDING TAX  BASE
    WT_QSSHH
    WITH_ITEM
    WITHHOLDING TAX  AMOUNT
    WT_QBSHH
    WITH_ITEM
    NAME OF WITHHOLD TAX TYPE
    WITHT
    WITH_ITEM

  • How to Run ebs adaptor data load for 1 year using DAC

    Hi,
    iam trying to Run the ebs adaptor data load for 1 year for procurement and spend ,Please let me know the parameter to set in DAC.
    last extract date is set as Custom Format(@DAC_SOURCE_PRUNED_REFRESH_TIMESTAMP
    Thanks

    You need to set $$INITIAL_EXTRACT_DATE to a year ago. The LAST EXTRACT DATE is something used for incremental loads and you do not manually set that.
    if this helps, mark as correct or helpful.

Maybe you are looking for