Can someone throw light on this issue please

I have report with some dimesional columns & measure and user wants another additional measure which has month-3 values.Currently this is achieved using Ago function in obiee which is causing performance issue.I want to make this report simple by simplying the procedure to create the month-3 measure.
Thanks

Hey Hsekar,
There is a work around for past period measurements that doesn't use the ago function. It involves using the Combine with Similar report function of OBIEE and UNION'ing the current month with the prior month values.
It would look like this in your case:
SELECT Dim1, dim2, VALUE AS CUR_MONTH_VALUE, 0 AS MONTH_3_VALUE
WHERE MONTH = CURRENT_MONTH
UNION
SELECT Dim1, dim2, 0 AS CUR_MONTH_VALUE , VALUE AS MONTH_3_VALUE
WHERE MONTH = CURRENT_MONTH - 3
OBIEE executes two queries (one for each of the unions). Each one is pretty simple SQL when they don't have to perform a time series function (like Ago or ToDate).
I've seen this method perform up to 10X faster than a standard OBIEE time series function.
Good luck!
-Joe

Similar Messages

  • We used to get a 'whooshing' noise when we sent an eMail using mac Mail. This no longer happens. We recently updated to Mountain Lion 10.8.1  Can anyone throw light  on this please?    David

    We used to get a 'whooshing' noise when we sent an eMail using mac Mail. This no longer happens. We recently updated to Mountain Lion 10.8.1  Can anyone throw light  on this please?    David

    Hi
    I am sorry to see you are having problems with your BT Service
    I suggest you contact the forum mods they should be able to get this problem sorted for you this is a link to them http://bt.custhelp.com/app/contact_email/c/4951
    They normally reply by email or phone directly to you within 3 working days they will take personal ownership of your problem until resolved and will keep you informed of progress
    They are a UK based BT specialist team who have a good record at getting problems solved
    This is a customer to customer self help forum the only BT presence here are the forum moderators
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • I have a problem with my blackberry 9360, I bought it last 2months, and now when I use video camera or camera I saw a red and blue line. Can someone help me with this issue?

    I have a problem with my blackberry 9360, I bought it last 2months, and now when I use video camera or camera I saw a red and blue line. Can someone help me with this issue?

    Hello zukafu, 
    Welcome to the forums. 
    In this case we can try to reload the software on the BlackBerry® smartphone to make sure it is running the latest version and there are no issues with the OS.
    Here is how to backup your BlackBerry smartphone http://bbry.lv/oPVWXc
    Once you have backed up your BlackBerry smartphone please follow the link below to complete a clean reload of the BlackBerry smartphone software.
    Link: http://www.blackberry.com/btsc/KB03621
    Once completed test it and proceed with a selective restore, here is how to restore http://bbry.lv/qgQxLo
    Thank you
    -SR
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • I have a galaxy S4. When I connect a headphone, certain songs play extemely low while others play at the correct volume. The same songs play fine thru the speakers. Can someone shed light on this.

    I have a galaxy S4. When I connect a headphone, certain songs play extremely low while others play at the correct volume. The same songs play fine thru the speakers. Can someone shed light on this.

        chrisglobe7,
    We want you to be able to enjoy all your music! Were all the songs downloaded from the same source? Are all the songs that play at the low volume from the same place? Is the music you are listening to stored on your device or a 3rd party application?
    LindseyT_VZW
    Follow us on Twitter @VZWSupport

  • HT5655 I followed all the instructions to update Flash Player, but the installation fails at around 90%, it says that there is an Application running (Safari) bit I actually close all Apps. already. can someone help me with this issue ?? Thanks

    I have followed the instructions to update Flash Player, the Installation Fails at about 90%, it says that there is an Application running (Safari) and it says to close all the apps. and start again ... but I already close all the Applications ... none is running ... can someone help me with this issue ??? Thanks ...

    Dear Dominic
    Brilliant reply. Simple English. Simple to follow instructions. And it worked immediately, first time.
    Why couldn't the Apple and Adobe corporations get their programming right first time? We spend billions of UK pounds and US dollars with them. They reply with incompetent programming such as this, and arrogance to their customers in issuing faulty systems without doing the most rudimentary checks.
    Anyway, I certainly shan't be buying another Apple as this is the most unreliable, most incomprehensible, most illogical and downright thoughtless shoddy piece of computer kit which I have ever owned. And all of it is rubbish ~ emails disappear, photos can't be organised properly, spreadsheets don't work, Pages is laborious… the list goes on and on...
    But thanks to you Dominic, I have been able to load Adoble Flashj… maybe eyou should get  a job at Apple, and set them all on the right course to how to work simply and correctly with customers.
    Thanks again,
    David

  • After the OS 6 update my speaker does not work. My music plays but no sound comes out. Can someone help me with this issue? I currently have the 4S.

    After the OS 6 update my speaker does not work. Volume control on the side does not adjust the volume either. My music plays but no sound comes out. Can someone help me with this issue? I've tried rebooting my phone but still no sound comes out. I currently have the 4S.

    try to activate and desactivate the airplne switch a couple of time

  • CAN SOMEONE HELP ME WITH THIS ISSUE; the attempt to burn a disc failed. an unknown error occurred 4221

    CAN SOMEONE HELP WITH THIS ISSUE:
    THE ATTEMPT TO BURN A DISC FAILED. AN UNKNOWN ERROR OCCURRED (4221)

    Microsoft Windows XP Professional Service Pack 3 (Build 2600)
    IBM 18308TU
    iTunes 10.6.3.25
    QuickTime 7.7.2
    FairPlay 1.14.43
    Apple Application Support 2.1.9
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 5.2.0.6
    Apple Mobile Device Driver 1.59.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.6.502
    Gracenote MusicID 1.9.6.115
    Gracenote Submit 1.9.6.143
    Gracenote DSP 1.9.6.45
    iTunes Serial Number 0012A7CC0B5F78F0
    Current user is an administrator.
    The current local date and time is 2012-08-12 22:04:05.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is disabled.
    HDCP is not supported.
    Core Media is not supported. (16005)
    Video Display Information
    ATI MOBILITY RADEON 7500
    **** External Plug-ins Information ****
    No external plug-ins installed.
    Genius ID: 2e39627a5d03e3456e051c0b031fabab
    iPodService 10.6.3.25 is currently running.
    iTunesHelper 10.6.3.25 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    **** CD/DVD Drive Tests ****
    No drivers in LowerFilters.
    UpperFilters: GEARAspiWDM (2.2.0.1),
    D: MATSHITA DVD-RAM UJ-842, Rev RB01
    Audio CD in drive.
    Found 11 songs on CD, playing time 41:38 on Audio CD.
    Track 1, start time 00:02:00
    Track 2, start time 04:00:20
    Track 3, start time 08:00:35
    Track 4, start time 11:08:15
    Track 5, start time 14:14:50
    Track 6, start time 19:11:15
    Track 7, start time 22:28:38
    Track 8, start time 25:48:38
    Track 9, start time 29:54:28
    Track 10, start time 34:03:35
    Track 11, start time 38:03:25
    Audio CD reading succeeded.
    Get drive speed succeeded.
    The drive CDR speeds are:   4 8 12 16 24.
    The drive CDRW speeds are:   4.
    The drive DVDR speeds are:   4.
    The drive DVDRW speeds are:   4.
    The last failed audio CD burn had error code 4221(0x0000107d). It happened on drive D: MATSHITA DVD-RAM UJ-842 on CDR media at speed 24X.

  • Can someone throw light on implementing "Oracle Financial Accounting Hub"

    Can someone help me with the responsibilities and navigation for implementing **Oracle Financial Accounting Hub*.* Looking for material other than FAH implementation & user guides pl.
    Thx
    Edited by: user11215514 on May 30, 2009 3:19 PM

    Hi,
    I recently published the following article which might be helpful to you:
    part 1: [http://oraclecs.com/financials-accounting-hub-basic-setup-steps-part-1-2.html]
    part 2: [http://oraclecs.com/financials-accounting-hub-basic-setup-steps-part-2-2.html]
    Regards,
    Sven

  • My iMovie is not working, it tells me there's a problem but does not know the problem, Can someone help me figure this out please?

    A couple of days ago, my I opened up my iMovie and it just goes into the blank screen. I am able to click on things like, "import" or "create" and it will take me into the next window, but when I choose an option, I receive a message that there is a problem, but they don't know what the problem is. It has been like this for the past couple of days. I have deleted and re-downloaded the app about 3 times and it still comes out the same. Please assist in any way possible!

    Try a soft-reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider if it appears), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.
    When it's rebooted you can force a backup via Settings > iCLoud

  • Can someone help me with this issue?

    I have a date field on my form and I want to put a calender which shows the date so it can be visually chosen.
    Does this have to be created myself or does java offer an easier way?
    Thanks

    I think this could server your purpose:
    http://www.toedter.com/en/jcalendar/
    now my bank acc will be emptied <.<

  • Shed some light on this issue please.

    Ok guys and gals, forgive me if this is asked alot I tried to seach the topic first.
    I am a 3d graphics major and know very little about web development but have some basic knowledge. My new boss has put me in charge of setting up our webpage.
    Ok for starters I made this awesome concept in Photoshop, and sliced it up exported to Xhtml and CSS. It opened up great in dreamweaver, I had a few qustions on thngs. But those can wait. I started off w/ a very advanced design for a beginner, and decided to just go back and dumb it down for now while I learn, and for the sake of getting my point across in this thread.
    here is my slice setup:
    Header, Footer, Nav, 3 content headers, and the columns where we will post updates in each column (news, events, and media).
    Ok my code right out of the Photoshop export looks like this.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Redesign_1</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <!-- ImageReady Styles (Redesign_1.psd) -->
    <style type="text/css">
    <!--
    #Table_01 {
        position:absolute;
        left:0px;
        top:0px;
        width:800px;
        height:600px;
    #Header_ {
        position:absolute;
        left:0px;
        top:0px;
        width:800px;
        height:112px;
    #Redesign-1-02_ {
        position:absolute;
        left:0px;
        top:112px;
        width:198px;
        height:1px;
    #News-Header_ {
        position:absolute;
        left:198px;
        top:112px;
        width:202px;
        height:33px;
    #Events-Header_ {
        position:absolute;
        left:400px;
        top:112px;
        width:198px;
        height:34px;
    #Media-header_ {
        position:absolute;
        left:598px;
        top:112px;
        width:202px;
        height:33px;
    #Navi_ {
        position:absolute;
        left:0px;
        top:113px;
        width:198px;
        height:427px;
    #News-table_ {
        position:absolute;
        left:198px;
        top:145px;
        width:202px;
        height:395px;
    #Media-table_ {
        position:absolute;
        left:598px;
        top:145px;
        width:202px;
        height:395px;
    #Events-table_ {
        position:absolute;
        left:400px;
        top:146px;
        width:198px;
        height:394px;
    #Footer_ {
        position:absolute;
        left:0px;
        top:540px;
        width:800px;
        height:60px;
    -->
    </style>
    <!-- End ImageReady Styles -->
    </head>
    <body style="background-color:#FFFFFF;">
    <!-- ImageReady Slices (Redesign_1.psd) -->
    <div id="Table_01">
        <div id="Header_">
            <img id="Header" src="images/Header.jpg" width="800" height="112" alt="" />
        </div>
    <div id="Redesign-1-02_">
            <img id="Redesign_1_02" src="images/Redesign_1_02.jpg" width="198" height="1" alt="" />
        </div>
        <div id="News-Header_">
            <img id="News_Header" src="images/News_Header.jpg" width="202" height="33" alt="" />
        </div>
        <div id="Events-Header_">
            <img id="Events_Header" src="images/Events_Header.jpg" width="198" height="34" alt="" />
        </div>
        <div id="Media-header_">
            <img id="Media_header" src="images/Media_header.jpg" width="202" height="33" alt="" />
        </div>
        <div id="Navi_">
            <img id="Navi" src="images/Navi.jpg" width="198" height="427" alt="" />
        </div>
        <div id="News-table_">
            <img id="News_table" src="images/News_table.jpg" width="202" height="395" alt="" />
      </div>
        <div id="Media-table_">
            <img id="Media_table" src="images/Media_table.jpg" width="202" height="395" alt="" />
        </div>
    <div id="Events-table_">
            <img id="Events_table" src="images/Events_table.jpg" width="198" height="394" alt="" />
        </div>
        <div id="Footer_">
            <img id="Footer" src="images/Footer.jpg" width="800" height="60" alt="" />
        </div>
    </div>
    <!-- End ImageReady Slices -->
    </body>
    </html>
    Now that everythings on the table, here is my problem, I hope its an easy fix.
    How do I add text in Dreamweaver ontop of the slices I made....mainly those three content columns I made. I know I could just edit the text onto the images before export, but I plan on having to edit this page alot content wise.

    I am a 3d graphics major and know very little about web development but have some basic knowledge. My new boss has put me in charge of setting up our webpage.
    You have my condolences.  I hope your new boss is willing to pay you while you learn basic web design skills, too.  It's a little shocking to me that anyone in their right mind would place something so important (their company web site) into the hands of an inexperienced site developer.  This would be like taking your sick child or pet to an inexperienced doctor.
    First off, Photoshop is a great graphics editor but it is a terrible html code generator.  Use Photoshop to make comps, slice and optimize images for the web.  Do not let it create your code for you.  This feature is only intended for quick prototypes to show the client during the design phase.  It is not intended to be used as a production site.
    Second, bookmark and read through  the tutorials below.  DW is a powerful tool but it's only as good as the skills you bring to the table.
    Third, if this is your first site in DW,  don't try & get get too fancy your first time out.  Keep your layout simple, clean, uncluttered.  The less complicated you make your first site, the better.
    Good luck,
    HTML Tutorials
    http://www.w3schools.com/
    http://www.adobe.com/devnet/
    http://www.scriptarchive.com/
    http://www.htmldog.com/guides/
    http://www.htmlcodetutorial.com/
    http://alistapart.com/topics/code
    CSS
    http://jigsaw.w3.org/css-validator/http://www.w3schools.com/
    http://www.projectseven.com/tutorials/index.htm
    http://www.westciv.com/
    http://www.tjkdesign.com/articles/one_html_markup_many_css_layouts.asp
    Community   MX Web Standards Lesson Plan Series
    http://www.communitymx.com/abstract.cfm?cid=3D074
    TOOLS:
    HTML  Code Validator - http://validator.w3.org
    CSS  Code  Validator - http://jigsaw.w3.org/css-validator/
    Firefox  Web Developer Toolbar - https://addons.mozilla.org/firefox/addon/60
    Faux   columns with CSS
    http://www.alistapart.com/articles/fauxcolumns/
    Equal  height CSS columns
    http://www.projectseven.com/tutorials/css/pvii_columns/index.htm
    On-Line  Video Tutorials - subscription
    http://lynda.com/
    Customizing   the layouts that come with CS3 (VIDEO)
    http://www.adobe.com/designcenter/video_workshop/?id=vid0155
    Creating   your first website in DW CS4 -
    http://www.adobe.com/devnet/dreamweaver/articles/first_cs4_website_pt1.html
    From   Tables to CSS Web Design Part 1 -
    http://www.adobe.com/devnet/dreamweaver/articles/table_to_css_pt1.html
    From   Tables to CSS Web Design Part 2 -
    http://www.adobe.com/devnet/dreamweaver/articles/table_to_css_pt2.html
    Taking   a Fireworks (or Photoshop) comp to a CSS based layout in DW
    http://www.adobe.com/devnet/fireworks/articles/web_standards_layouts_pt1.html
    Why   do APDivs move?
    http://forums.adobe.com/message/2181263#2181263
    DW   Design Center
    http://www.adobe.com/cfusion/designcenter/search.cfm?product=Dreamweaver&go=Go
    A   couple of good video resources if you're thinking about learning PHP:
    http://www.phpvideotutorials.com/free
    http://www.killerphp.com/videos/
    Using   DW Page Properties to create a basic CSS style sheet
    http://kb2.adobe.com/community/publishing/505/cpsid_50576.html
    Guidance   on when to use DW Templates, Library Items and SSIs -
    http://www.adobe.com/devnet/dreamweaver/articles/ssi_lbi_template.html
    Nancy  O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media   Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Video on ipod nano very blocky: can someone help me with this issue?

    So the new ipod nano with 4GB is very nice, and video was a big reason I wanted it. Unfortunatelly, a few videos turn up very, very blocky and corrupted while they look smooth as ever on my computer screen in all it's MPEG4 glory. 2 minute video with file sizes as large as 10 MB end up looking like junk. But, even though I use the same file types (MPEG4) among all my videos, some videos work great while others don't.
    Is this a problem with my iPod and I need a new one?

    What type of videos are these? From DVDs, itunes, ect? Or lower quality stuff like Youtube? Are you using a program to convert video files so you can use them on your nano? If so what app? The nano and ipod classic seem to work best with the file format h.264 up to 640x480 res.
    lenn

  • I have noticed that Safari does not support some HTML commands on apple operating systems. Can anyone help with this issue please?

    I have noticed that Safari does not support some HTML commands on this operating platform. Can anybody throw any light on this issue please?

    Examples.

  • MAC PRO (Early 2008) RAID CARD ISSUE - SYSTEM FREEZEHello (hopefully someone can shed some light on my issue)  I own as above a MAC PRO (Early 2008) this has a RAID card installed along with two 15k.7 cheetah hdd (320gb) and a spare drive, (which i m

    Hello (hopefully someone can shed some light on my issue)
    I own as above a MAC PRO (Early 2008) this has a RAID card installed along with two 15k.7 cheetah hdd (320gb) and a spare drive, (which i made a regular drive)
    a while ago i had to replace the RAID card battery, so i did this, over a year later the same thing happened again, but as previous just left it and the system seemed fine for ages, until last night i was working in PHOTOSHOP and everything just froze and the screen kind of appeared GREEN, could not do a single thing. So restarted the mac, this time grey screen for ages and a message appeared, (macs version of blue screen) (see attached).
    I restarted the machine and this time a flashing question mark folder!
    could not do a thing.
    so i found my copy of snow leopard and got the computer to run this and at least launch the DISK UTILITY and (Interestingly in the drop down menu RAID UTILITY was also in the menu) but it did not matter which utility i used the (RAID or DISK) neither could see any of drives, just the dvd drive.
    so looked around on you tube and various forums and discovered if i take out the RAID CARD and re-plug the main lead from the RAID card back in to the LOGIC BOARD I would be reverting the MAC to a normal regular non-RAID computer.
    After performing this HARDWARE task and inserting all three HDD, and running the DISK utility from the drop down menu via the SNOW LEOPARD disc.
    (interestingly since the RAID card had been removed the RAID UTILITY  from the drop down menu no longer appeared). running disk utility I can now only see the regular (spare) hdd and DVD Drive, but the two RAID HDD , again, still do not show up DISK UTILITY?
    O.K. so i could chuck out the RAID card (AND RAID HDD) and just go with a regular set-up, and run a back restore from Time Machine on a NEW hdd purchased.
    but what is wrong with the RAID, is the card at fault or are both HDD used for the RAID knackered? can i perform any tests, to see whats what?
    thanks for your help in advanced.

    hello people, the issue was in fact the GRAPHICS card nothing to do with the HDD or RAID system ( although this did cause issues with the RAID system it basically lost its way) below is my replay to another similar  problem some one else had!
    working in photoshop and then everything stopped working and the lot froze! only option was to force shutdown (via button).
    and try to restart, hoping all was fine, this was not the case :-(
    I had the added issue of the RAID card system, that i have, this was confused to say the lease and would not behave or work, causing the start up to hang.
    so i thought the HDD must be bust and the root cause. ( but soon learnt it was not the cause )
    ...bought a new HDD removed the RAID card and replugged the cable from RAID card into LOGIC board, ( making the computer act like any normal non-RAID system). I managed to install the OSX, using the snow leopard disk way. once the mac was running, i started to notice the screen would flicker and started to see 'artefacts'. so i started to reveal my symptoms to the web and forums and soon discovered that my graphics card could be the issue all along?.
    (nvidia geforce 8800gt 2x dvi).
    I read up on that a fix, could be either A. reply the thermal paste, as the card could be over heating or B. stick the card in the oven trick.
    Tried option A. first and nothing still issues, so last night took the plunge carried out option B. and ta da it worked! i even managed to run
    from my new HDD my lasted install OS X, absolutely fine. I then thought, maybe i could repair my RAID so replugged all the HARDWARD back in and
    carried out a disk repair and disk permissions on drives( took a small amount of time), via the SNOW LEOPARD disc - (Disk utilities) and this worked and now have my system working as it was just over 6 days ago.
    what was the cost to get this?  bought a new hdd so 40.00gbp and thermal paste and cleaner kit ( your still need to do this ) search video card trick on you tube.
    and renew thermal paste, approx 15.00gbp, technically i don't need the new HDD, but it was all part of the trial and error way i went. ( i do have extra storage as a result!)"

  • Can anyone put some light on this issue.

    When transferring PO idocs from R/3 to the middleware, some idocs doesn't reach the destination due to one buyers address segment not getting populated.
    Since this segment contains the address where it needs to to sent is missing, the idocs does not reach the concerned place.
    But when the output is repeated, this segment gets filled up and idocs correctly reach the destination
    In the program this segment is populated on the following condition.
    The address number from the table T001W should match with the address number from the table ADRC..
    if sy-sucrc eq 0, the segment gets populated else it does not.
    But when the output is repeated in the PO, the sy-sucrc becomes zero again.
    I don't understand the connection between when the output is repeated and the above condition.
    How the above condition is getting successful when the output is repeated..
    Can anyone put some light on this issue.

    I have one customized field 'ZCOORNAME' in the DS 2LIS_05_Q0NOTIF. I have changed this field in Tcode- QM02 and checked the changes in TCODE - LBWQ (Extraction Queue) and I got the Changed entry but now when i am trigerring the V3 Job, these changes are not getting populated in RSA7 (Delta Queue).
    For standard field changes, it is capturing delta properly, the problem is with only customized fileds..Can anyone put some light on this issue ....
    Please try activating the datasopurce again and try it.
    Can you pls le me know when will be the Customer Exit(CMOD) is going to hit ? Before the Delta Queue or After the Delta Queue or is it before the Extraction Queue / After the Extraction Queue ???
    he customer exit is hit before the entries are populated in extraction queue. Actually, when the transaction is done, the changes are written to database table and at the same time into the extraction queue. Just before going to extraction queue, the custom fields get populated in customer exit.

Maybe you are looking for

  • Insert multiple records at the same time to table

    hi, My page has, 1. MessageStyledBean showing a foreign key(say FID) that is passed from previous page. 2. Advanced table, showing 2 poplist in each of its column, named poplist1 and poplist2. 3. I have a primary key which should be populated in sequ

  • How to unlock all users

    Dear Guru's                  I am having a situation as .........All users locked accidentally with superuser sap*& ddic . Then How to unlock them .........give me responce..........soon.please Regard's rajkumar

  • Does Flex Builder remove unused code?

    Hi, I have alot of dead code in app that is resulting in an unnecessarily large SWF. Is there a way to make the flex compiler remove unused functions?

  • HOW TO EXTRACT A WORD IN A PATH???

    I'm using the method getPath() for a File object included in a Vector. I would like to put the name of a subdirectory in a Label. For example, in this path: C:\MP3\POP\Madonna\Frozen.mp3 How can I just put the word Madonna in a Label. Thanks all for

  • Export animation via Scripting

    I need to export photoshop animation to my own format. Exporting as GIF image is not a solution. I need to access transformation details, change of opacity through the timeline in photoshop motion. How can I do this? Can this be done using a plugin?