How to compare sales of 2 dates with only one date is given?

I am having a requirement such that the user wants to see the particular company Y2D sales of this year and previous year, and only one variable selection is given (today's date). How can i design the report to see this year sales and last year sales in separate columns?

Hi ,
You have to create two RKFs.
In the first RKF , you have to create a customer exit variable on your date and that too it should be interval . Using the CMOD code , populate this interval from the 1st day of this year till the date user is entering .
In the second RKF , you have to create a customer exit variable on your date and that too it should be interval . Using the CMOD code, you have to populate the interval from the 1st day of the previous year till the same date as entered by user but it should be of last year .
You have to write the above 2 codes in I_STEP = 2 mode .
Hope the above reply was helpful.
Kind Regards,
Ashutosh Singh

Similar Messages

  • How do i make a slideshow lightbox with only one main image

    Hi all,
    i was wondering How do i make a slideshow lightbox with only one main image being seen on the page and once clicked the lightbox will open and have multiple images viewable from prev/next buttons with comments.
    Reason being is i want have a portfolio page with my work all viewable from that one page so i will have say 10 lightboxes on the page but all with one master image.
    Cheers,
    Chris

    hello
    I have the same problem... Its so basic thing and is it really missed in muse ?

  • Multiple events per date with only one photo each - Unwanted

    I have the eyefi wireless sd card in my camera and it is setup to transmit my photos into iphoto automatically, which it does. However, the problem arises in that iphoto creates multiple events for the same date each containing only one photo. I would prefer that iphoto create individual events per date and have the multiples of that date's photos within. I thought I had the settings configured to do so as I have preferences set for autosplit events one per day but I still see events such as - July 3, 2008 - July 3, 2008 - July 3, 2008 - each with only one photo inside.
    I am wondering if it is something in iphoto's settings or the way in which eyefi transmits the photos into iphoto.
    Any thoughts?

    I do not have a WiFi connection to my camera so can not test but am just guessing
    I can think of two possibilities
    - 1 - if you are taking the photos with the WiFi connected then each time you snap a photo it may be being sent which would be looked at as a new import and therefore create a new event - to stop this I believe you would have to not have a full time WiFi connection to your camera or somehow set the camera to send batched - not each one - iPhoto will take each batch into and follow the rules for making events for that batch even if you camera is sending many batches of One photo
    - 2 - You have the preference for making batches set to one every two hours and there is a long time between photos - I'm guessing that #1 is more likely
    LN

  • How to share the entire hard drive with only one group

    We want to share our entire hard drive with our staff, plus share Web folders with our customers plus the staff. We'd like our customers to have no permissions at all for the share point at the root of the drive, so it won't even be presented as a volume for them to mount.
    The problem is that when we make the root of the drive a share point, we need to give read-only permissions to Everyone, or we break services. Read-only for Everyone makes our drive readable by any of our customers, which is obviously not good. This seems like it would be a common task for anyone running a server with customer folders on it. Is there a way to share the whole drive with our staff, and only our staff? Thanks.

    First... You are not making your boot drive the share point are you????? Only share an entire drive if the drive is ONLY used for data (not OS).
    You need to make mroe than one share point.
    You can have one share point which is the Data drive and another share point which is the customer folder within.
    You can have share points which exist within share points.
    Jeff

  • How many laptops can I install on with only one lightroom 6 license? (not cc version)

    I read from somewhere that one creative cloud  account can be used on two different devices, but what about the lightroom 6 version?
    If I pay $149 for lightroom 6, how many laptops can I install on? I now have one windows laptop and one mac.
    Thanks for helping.

    I selected yours as the correct answer because of the webpage you provided, but I cannot understand that what "only use it on one computer at a time".
    If the software is for offline use, how does it know if I'm running it on another computer?

  • How do I get firefox to open with only one tab I accidentally saved when I had more than 1 tab open now it opens too slowly and I want to change it back

    when I first installed and used firefox I went to close and did not realize that I had an additional tab open and it asked me if I wanted to save I clicked the yes when I meant to not save. Now I can not find anywhere that will let me unsave the extra tab so that it will not open everytime I open firefox

    If you only have the Firefox button then press F10 to get the Menu Bar or go to Firefox > Options > Options > General > Startup
    See also [[How to set the home page]]

  • How to deploy a MDBean into cluster with only one JMS server instance running on one of the cluster servers

              I am trying to deploy a MDBean in my cluster ( two servers). The MDBean requires
              the destinestion has to each cluster server. It means that I have to deploy my
              JMS server over the cluster. This will result multiple destinations (queue or
              topic) are created.
              Is there a way to run one JMS server with a clustered MDBean?
              Thanks,
              Taohe
              

    Check out my posting from 4-3 in this thread.
    http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=5&jump=true
    I think I may have answered your question before you asked it.
    In that example I use the picture control to manipulate a bunch of rectangular images of booleans.
    I hope this helps,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • HT2513 I keep getting duplicate Birthday entries in Ical with only one date/entry in the Contacts App.  Please help?

    I need help deleting one of the duplicate birthdays in Ical on my Macbook Pro?
    Sam

    What I found was that you have to go all or nothing. I don't have any personal iDevices (just an iPad through work) so the simple solution was to turn off Contact syncing for iCloud. I'm guessing you'll need to remove all your local contacts or, the more tedious solution, remove the birthdays from all the local contacts. As you surmised, iCal seems to use the whole address book, and can't be just a subset of contacts.

  • How to visually (!) remove "sequence" frame with only one activity inside?

    Due to previous manipulations it could happen, that there are sequences (=visual sequences frame)
    which contain only one activity.
    These sequence frames are needless.
    Ok, I could remove them directly in source code.
    But is there a way to remove them visually WITHOUT removing then inner activity as well?
    Peter

    If I would have to do that, I will drag the activity outside the sequence and delete the sequence.

  • How to compare result from sql query with data writen in html input tag?

    how to compare result
    from sql query with data
    writen in html input tag?
    I need to compare
    user and password in html form
    with all user and password in database
    how to do this?
    or put the resulr from sql query
    in array
    please help me?

    Hi dejani
    first get the user name and password enter by the user
    using
    String sUsername=request.getParameter("name of the textfield");
    String sPassword=request.getParameter("name of the textfield");
    after executeQuery() statement
    int exist=0;
    while(rs.next())
    String sUserId= rs.getString("username");
    String sPass_wd= rs.getString("password");
    if(sUserId.equals(sUsername) && sPass_wd.equals(sPassword))
    exist=1;
    if(exist==1)
    out.println("user exist");
    else
    out.println("not exist");

  • How can I play different videos with only one MediaPlayer?

    I want to play two videos with only one MediaPlayer:
    private static MediaPlayerBuilder mpB;
    private static Media mLogo;
    private static Media mSaludo;
    private static MediaPlayer mpLogo;
    private static MediaView mvLogo;
    private static Group gLogo;
    public void start(final Stage stage) {
    mLogo = MediaBuilder.create().source(myGetResource(VIDEOLOGO_PATH)).build();
    mSaludo = MediaBuilder.create().source(myGetResource(VIDEOSALUDO_PATH)).build();
    mpB = MediaPlayerBuilder.create();
    mpLogo = mpB.media(mLogo).build();
    mvLogo = MediaViewBuilder.create().mediaPlayer(mpLogo).build();
    gLogo.getChildren().add(mvLogo);
    sActual = new Scene(gPozos, WIDTH, HEIGHT, Color.BLACK);
    stage.setScene(sActual);
    stage.show();When I want to play mLogo:
    sActual.setRoot(gLogo);
    mpLogo.play();Then, when I want to play mSaludo I do this:
    mpLogo = mpB.media(mSaludo).build();
    sActual.setRoot(gLogo);
    mpLogo.play();or this:
    mpB.media(mSaludo).applyTo(mpLogo);
    sActual.setRoot(gLogo);
    mpLogo.play();or this:
    mpB.media(mSaludo);
    sActual.setRoot(gLogo);
    mpLogo.play();But is impossible to change the Media. It doesn't work. Sometimes I play mLogo video and sometimes (depends on the code) the video mLogo doesn't start and I see an image of the first keyframe and nothing else. I have no exceptions, no errors, nothing.
    I want to play mLogo and then mSaludo. How can I do this?
    Thanks
    Noelia

    Ok, I understand, if I have 100 videos I have to build 100 MediaPlayers but only one MediaView.
    Here I post my code with only two videos, I included all the asynchronous errors.
    package pruebafx;
    import java.util.logging.FileHandler;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javafx.application.Application;
    import javafx.event.EventHandler;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.media.Media;
    import javafx.scene.media.MediaErrorEvent;
    import javafx.scene.media.MediaPlayer;
    import javafx.scene.media.MediaView;
    import javafx.stage.Stage;
    * @author Solange
    public class PruebaFX extends Application {
        private static final Logger logger = Logger.getLogger("pruebafx.pruebafx");
        private static final String MEDIA_PATH = "/images/";
        private static final String VIDEOLOGO_PATH = MEDIA_PATH + "logo.flv";
        private static final String VIDEOSALUDO_PATH = MEDIA_PATH + "saludo.flv";
        private static Group root;
        private static Scene scene;
        private static MediaPlayer mpLogo;
        private static MediaPlayer mpSaludo;
        private static Media mLogo;
        private static Media mSaludo;
        private static MediaView mediaView;
         * @param args the command line arguments
        public static void main(String[] args) {
            Application.launch(args);
        @Override
        public void start(Stage primaryStage) {
            try {
                FileHandler fh = new FileHandler("DisplayManagerlog-%u-%g.txt", 100000, 100, true);
                // Send logger output to our FileHandler.
                logger.addHandler(fh);
                // Request that every detail gets logged.
                logger.setLevel(Level.ALL);
                // Log a simple INFO message.
                logger.info("Starting PruebaFX");
            } catch (Exception e) {
                System.out.println(e.getMessage());
            primaryStage.setTitle("Change Videos");
            root = new Group();
            mLogo = new Media(myGetResource(VIDEOLOGO_PATH));
            mSaludo = new Media(myGetResource(VIDEOSALUDO_PATH));
            mpLogo = new MediaPlayer(mLogo);
            mpSaludo = new MediaPlayer(mSaludo);
            mediaView = new MediaView(mpLogo);
            mpLogo.setOnEndOfMedia(new Runnable() {
                public void run() {
                    mpLogo.stop();
                    mediaView.setMediaPlayer(mpSaludo);
                    mpSaludo.play();
            mpSaludo.setOnEndOfMedia(new Runnable() {
                public void run() {
                    mpSaludo.stop();
                    mediaView.setMediaPlayer(mpLogo);
                    mpLogo.play();
            mLogo.setOnError(new Runnable() {
                public void run() {
                    logger.severe("Error en Media mLogo");
            mSaludo.setOnError(new Runnable() {
                public void run() {
                    logger.severe("Error en Media mSaludo");
            mpLogo.setOnError(new Runnable() {
                public void run() {
                    logger.severe("Error en MediaPlayer mpLogo");
            mpSaludo.setOnError(new Runnable() {
                public void run() {
                    logger.severe("Error en MediaPlayer mpSaludo");
            mediaView.setOnError(new EventHandler<MediaErrorEvent>() {
                public void handle(MediaErrorEvent t) {
                    logger.severe("Error en MediaView mediaView");
                    logger.severe(t.getMediaError().getMessage());
            root.getChildren().addAll(mediaView);
            scene = new Scene(root, 300, 250);
            primaryStage.setScene(scene);
            primaryStage.show();
            mpLogo.play();
        public String myGetResource(String path) {
            return (this.getClass().getResource(path).toString());
    }My video saludo.flv hangs up.
    Here is the content of the log file:
    <?xml version="1.0" encoding="windows-1252" standalone="no"?>
    <!DOCTYPE log SYSTEM "logger.dtd">
    <log>
    <record>
    <date>2011-12-12T12:03:53</date>
    <millis>1323702233578</millis>
    <sequence>0</sequence>
    <logger>pruebafx.pruebafx</logger>
    <level>INFO</level>
    <class>pruebafx.PruebaFX</class>
    <method>start</method>
    <thread>12</thread>
    *<message>Starting PruebaFX</message>*
    </record>
    <record>
    <date>2011-12-12T12:04:06</date>
    <millis>1323702246109</millis>
    <sequence>1</sequence>
    <logger>pruebafx.pruebafx</logger>
    <level>SEVERE</level>
    <class>pruebafx.PruebaFX$6</class>
    <method>run</method>
    <thread>12</thread>
    *<message>Error en MediaPlayer mpSaludo</message>*
    </record>
    <record>
    <date>2011-12-12T12:04:06</date>
    <millis>1323702246109</millis>
    <sequence>2</sequence>
    <logger>pruebafx.pruebafx</logger>
    <level>SEVERE</level>
    <class>pruebafx.PruebaFX$4</class>
    <method>run</method>
    <thread>12</thread>
    *<message>Error en Media mSaludo</message>*
    </record>
    </log>
    Do you know when will be available the 2.0.2 version???
    I have to finish my application!!!
    Thanks.
    Noelia

  • How to get date prompts from one date column

    i have a requirement where i have to filter the data between two date prompts. i have only one date column and the date in the prompts shuld be selected by calendar.
    i have seen may approaches to do this and i got one where two dummy date columns should be declared in repository and used to define the date prompts.
    but using other methods i could not get the calendar option in prompt.
    but is there any other way to get the prompts with calndar selection without defining the dummy columns in repository
    thanks

    you can do that first select the date column you want to use in dashboard prompt then select another column and in the dashboard prompts then open the fx of the date prompt you first selected copy that and paste it in the second column and in the control section click on calender it will work you can use same date column as two prompts with out creating new column.

  • I was trying to add an itunes library to my computer, and now my itunes library can not be found. An ipod can be synced with only one iTunes library at a time. How can I find my Itunes library, complete with playlists ?

    I was trying to add an itunes library to my computer, and now my itunes library can not be found. An ipod can be synced with only one iTunes library at a time. How can I find my Itunes library, complete with playlists ?

    I have the same problem too and tried alot of things like time zone , restarting or changing DNS of wifi connection to 8.8.8.8 still nothing happens .. !!
    iPhone 5s, iOS 8.3

  • HT204088 How how can I synch my ipod + iphone music to my new computer? I get the same error  "my ipod or iphone is synched with another itunes library.An Ipod can be synched with only one itunes library at a time. What would I like to do Erase and Synch

    How can I synch my ipod & iphone music (purchased from itunes on my old laptop) to my new laptop? I keep getting the same message on my itunes on my new laptop: " The ipod/Iphone is synched with another itunes library. An ipod/iphone can be synched with only one itunes library at a time. What would you like to do - Erase and Synch or Transfer Purchases?" What do I do?
    A couple of other items:
    1) I am guessing Apple does not keep a history of all my music purchases? As I did not have my entire library backed-up anywhere, and relying on the music I have on my ipod and my iphone as my only source of itunes music....I have lost over 500 songs!!!
    2) I used to have an Apple account under another account name, and since have switched to a new account name. Is there anyway to find the history of purchases from my old Apple account name and transfer these over to my new account name and onto my new laptop?
    I hope someone can help, I am having a very difficult time trying to obtain answers. Angie

    The iphone/ipod is NOT a storage/backup device.  Not maintaining a backup copy is a big mistake.
    You can transfer itunes purchases from your iphone/ipod to your computer:
    Authorize your computer for all accounts and then click  File>Transfer Purchases

  • How to connect many devices with only one FW800 port in iMac?

    Hi,
    I am upgrading to a new Intel iMac from a 2004 vintage Dual2.0GHz PowerMac. I currently have 8x d2 Quadra drives chained by FW800, and 2x Iomega drives connected vis FW400 hub which also connects HD cams.
    My questions is that with only one FW800 port in iMac, I think my devices connectivity is the following?
    (1) Get a FW 800 hub (I can only find 2 port ones at the Apple store and BestBuy)
    (2) Connect the d2 Quadras to one port of the FW800 hub
    (3) Get a FW 800 to FW 400 cable
    (4) Connect my 6 port FW400 hub to the 2nd port of the FW800 hub
    Thanks for reviewing this solution, and I would also appreciate other suggestions or hear about your experiences if you have a similar set-up.
    Will

    In addition to your listed considerations, you should consider the following.
    Many storage needs do not required FireWire 800 speed. For example, USB 2.0 works fine for your Time Machine backup drive. If you are just storing user data such as your iPhoto or iTunes media files, USB 2.0 is more than fast enough. So, as much as possible, if any of those external drives have USB 2.0 connections and the data storage does not need FireWire 800 speed, offload as much as possible to USB 2.0. I used to be a +FireWire snob+, but since getting an Intel iMac, I find that USB 2.0 works quite well for most data storage purposes.
    There are new hard drives that are power efficient and as large as 2TB. Consolidate your data storage needs onto a smaller number of very large drives, partitioned as needed. This will make your setup more reliable (smaller number drives), and save reduce power consumption. If any of your current externals are SATA, you can probably replace the existing drive with an extra large one.
    So, I think you setup should be, extra large FireWire 800 drive connected to the FireWire 800 port directly. Using a 9-pin to 6-pin cable, connect the FireWire 400 hub. Connect any non-storage FireWire 400 devices there. Do some data transfer testing to make sure having the 400 hub there on the chain does not cause the 800 connection to slow down.
    Connect other drives as needed using USB 2.0, existing or new. Retire the smaller of your external drives.

Maybe you are looking for

  • PDF Printing Problem with HP UPD Printer

    Hi, in our Company we use the HP UPD Driver PCL5 in Version 5.9.0.18326. The Printermodells are HP LaserJet Pro 400 M401, HP LaserJet Pro 400 Color M451, HP LaserJet Enterprise Flow M830z, HP LaserJet Enterprise 500 MFP M525dn, HP LaserJet Enterprise

  • Unable to drop SQL azure table

    Hi, I'm trying to drop SQL azure table. However I can delete data inside the table. When using drop command, it is taken long time processing and finally this error message 'Connection Failed'. Please help me. Thanks

  • Email submit button causing required error when all required fields are filled in

    It looks like if I have more than 1 instance of subform  added,  my email submit button triggers "..at least one required " error message when all required fields are filled-in. I toggle subforms between "visible" and "hidden (from layout)".  Any sug

  • Jinitiator

    I have a problem executing my forms. When I run the form and the browser tries to open the applet, it says that i have to install Jinitiator. I install it succesfully but when i try to run the form again, it ask me to install it again and again. I do

  • Configuring DWS for "split" shifts (or multiple shifts in same day)

    We need to set up a work schedule that spans a two week time period - employee works 42 hours per week - three 12 hour shifts and one 6 hour shift.  The rotation is as follows:                               Mon                    Tues