Is there a way to apply different dimension filters to two measures

Dear all,
Let's say I have a report that goes something like below:
TIME DOLLARS FORECAST DOLLARS
JAN 99999 99999
FEB 99999 99999
MAR 99999 99999
APR 99999 99999
MAY 99999 99999
DEC 99999 99999
What I would like to achieve is this:
TIME DOLLARS FORECAST DOLLARS
JAN 99999
FEB 99999
MAR 99999
APR 99999
MAY 99999
DEC 99999
i.e. DOLLARS displayed only for first two months (or whatever. May be because the report is being run in March). And for rest of the year I display forecast.
Please note that I do not want to achieve the above with the help of "formatting".
What I am looking for is "an ability to apply two separate filters (for the same dimension) on two different measures in the report". i.e. in the above case DOLLARS has a filter of JAN to FEB; and FORECAST has a filter of MAR to DEC.
How can I do this in Discoverer? Any hint/ pointers are greatly appreciated.
Cheers.
pxsheth.

Hey there.
I'm not sure exactly what you mean when you say you don't want to achieve with help of formatting.
See if this suggestion makes sense - and doesn't fall into that formatting camp.
The only way to add a column in Discoverer is via calculations.
So if you have a column called dollars and one called forecast_dollars then I would think you'd want to determine the month of the run date - or ask user what month they want to run it for.
You don't say how you determine forecast_dollars but let's just say all the columns come from data.
So could you not have a condition that brings back the data for a date range (ie: current year or ask user for from / to dates). Then:
calc_dollars calculation: equals the dollar amount brought back from the query if record month <= current month else 0.
calc_forecast_dollars calculation: equals the dollar amount brought back from the query if record month > current month else 0.
So in practice:
table A has 3 columns: time, dollars, forecast_dollars
condition: where time between from_date_parameter and to_date_parameter
calc_dollars: SUM(case when time <= SYSDATE then dollars else 0 end)
calc_forecast_dollars: SUM(case when time > SYSDATE then forecast_dollars else 0 end)
That gets you a time column, a dollars columns and a forecast_dollars column.
In your example, it appears you want forecast_dollars in the same column. I'm assuming this is incorrect but if you wanted it, you'd just have one calculation such as:
calc_bucks: (case when time <= SYSDATE then dollars else forecast_dollars end)
So, is this the kind of thing you want or would this be more formatting?
Russ

Similar Messages

  • Is there a way to apply the same transition to many clips at once?

    If there are about 70 clips for a slide show s there a way to apply a crossfade to all of the clips at once?
    Thanks,
    Pete D.

    Make Timeline the active window.
    Press command and A keys to select all clips.
    Press command and T keys to apply the default transition.
    This will usually be a one second crossfade but you can change it to another duration or a completely different effect if you want.
    Link: Changing the Default Transition in FCP

  • Is there a way to apply Time Remapping to multiple clips simultaneously?

    Is there a way to apply Time Remapping to multiple clips simultaneously? I'd like to uniformly speed up and slow down two different clips that are playing in a picture-in-picture setup. I’m hoping there’s a more elegant way to sync them up than just editing their Time Remapping functions individually (I already tried using an Adjustment Layer. It didn’t work).

    you can try nesting the two clips together, then control the time remapping of the nest.

  • Is there a way to set window dimensions before publishing project as standalone from Aggregator?

    Hi,
    I am combining several SWF files using aggregator and publishing it as a Standalone (.exe) File type. The executable works fine and displays all the files as expected. The expectation from the customer is to have the ability to maximize, minimize the window of the executable. Is there a way to set the dimensions before publishing the standalone. Currently, I am able to minimize or close the window and not maximize the window of the exe.
    P.S - I am using Captivate 4.
    Thanks,
    Latha

    Me again, Carol
    You also asked about the functional differences between WebHelp and WebHelp Pro, so let me elaborate.
    I'm aware of only two major differences (other than the extra benefits of feedback analytics reports and management of "Areas" with authentication in RoboHelp Server).
    The behavior of Browse Sequences as explained above
    The fact that Content Categories are not supported in WebHelp Pro for this latest version 9.
    As for the Browse Sequences you are trying to provide for different modules (licensed, etc.): Multiple Browse Sequences are included in a single .BRS file. The sequences are defined in the XML within the single file.
    As a workaround (for either WebHelp or WebHelp Pro) you could create a NGP Help.brs. which you have already created for one module; then backup and archive it. Then, create a modification for the different module before you generate again. The NGP Help.brs. will need to have the same name as your project so you will have to manage the desired .brs file into the project folder when you generate that version. All of your other choices (TOC, Index, Conditional Tags, etc.) would remain the same for the respective modules.
    Finally, I note that you are apparently generating WebHelp Pro right now even though you are not publishing it to the RH Server? This is really not the best practice. You should generate plain WebHelp for a web server that does not have RH Server on it (even though you may be getting away with it). As for your concern about "breaking" something; each output is placed in a different !SSL! folder automatically when you generate, so you should be able to generate WebHelp without interferring with the WebHelp Pro output. Then, you can re-publish to the RH Server using WebHelp Pro whenever the server is ready.
    John Daigle
    Adobe Certified RoboHelp and Captivate Instructor
    Evergreen, Colorado
    www.showmethedemo.com

  • Is there a way to view different portions of a document at the same time?

    Is there a way to view different portions of a document at the same time?

    No. I suggest you leave feedback for the Pages team regarding this. You can find it under the Pages menu > Provide Pages Feedback. That takes you to the same page as this link.

  • When using apple remote app on ipad or iphone to control apple TV is there a way of selecting different airplay speakers?

    When using apple remote on ipdad or iphone to control apple TV is there a way to select different airplay speakers without having to control the menu on screen. Eg I want to listed to my music through apple tv (which is in the living room)  and beam it to my airplay speakers in my bedroom, at the moment I would have to go back into the living room to see my tv screen to select the bedroom airplay speakers, then go back upstairs to listen to the music. YOu should be able to select the speakers in app without looking at the TV screen. Hopefully that makes sense!?!

    Look at this.
    Tango Remote Control for iOS6-7 on the App Store on iTunes

  • Is there a way to apply LUTS to clips while in Adobe Media Encoder

    is there a way to apply LUTS to clips while in Adobe Media Encoder? We have many  camera clips needing luts applied then wrapped to ProRes422 for editing. right now we are using after effects, rendering out then wrapping in Encoder, but this workflow is quite time consuming.We've tried rendering proRes out of AE but the boss isn't happy with the results without also going through Encoder.

    No, there is not a way to apply color changes (e.g., using LUTs) in Adobe Media Encoder. Do this in After Effects, but just add your After Effects compositions directly to the Adobe Media Encoder encoding queue (e.g., by choosing File > Add After Effects Composition in the AME UI).

  • Is there a way to apply LUT's to a photo in Lightroom?  Such as .cube, Vision Color, etc.

    Is there a way to apply LUT's to a photo in Lightroom?  Such as .cube, Vision Color, etc.  I have some film stock and Osiris LUTs I like to use for video that I'd love to apply to RAW still photos in Lightroom.  I know it's possible in Photoshop CC but the process would save me time if it's possible to easily do in Lightroom 5.  Anyone know?

    Unfortunately, you can't do it in LR.  You could add your vote and opinion to this topic in the official Adobe feedback forum: Lightroom: Ability to use 3D LUTs.

  • Is there a way to apply a precise value of how round the STBuffer() applies to a geography?

    Hello,
    I am attempting to work on moving my data into SQL Server spatial geography. I have a valid geography and am able to apply a buffer of (150 feet or 0.3048 meters) as shown below.  
    My question is there a way to apply a precision to how smooth the buffer is made ? I currently have MapInfo software and it allows me to apply "25 segments per circle" where the 25 can be whatever I choose (buffer is the red ring shown below which
    appears not as wide as the SQL server buffer above)  Please ignore the cropped portion of the red-line below; however, I was just trying to give a visual of what the buffer looks like now in my MapInfo format...
    Is this possible with SQL Server Spatial?  
    Thanks in advance.
    Nick

    STBuffer won't do this (it has only one parameter), and after looking at the "BufferWithTolerance" and "Reduce" methods, I don't think they'll do this either. In a single method call. However, you may be able to produce the same results
    with a series of method calls. That is, buffering combined with calls to STCurveToLine/CurveToLineWithTolerence and STIntersection or STDifference. Or one of the spatial aggregates. From your current description it's hard to figure out what you're looking
    to do. You're trying to reverse-engineer something in a specific product, so figure a complete description of how it works.
    But, unless I missed something, it will take multiple spatial library calls.
    Hope this helps, Cheers, Bob
       

  • Is there a way to apply the same transition between all clips?

    Or is there a way to apply random transitions? Either way I'm too lazy to drag a transition between every clip and hope there's a bulk way I haven't found yet. I'm using iMovie HD 6.0.2 (267).
    Thanks!
    --Daniel

    Daniel,
    To apply the same transition between all clips, select all the clips, select the transition (and timing) then click ADD (at the bottom right of the transitions screen). The transitions will be rendered, one at a time between all the clips. If you wish to change the transition, again select the required clips, select the new transition, then click UPDATE.
    I'm not aware of any way to apply random transitions.
    John

  • Is there a way to apply an equalizer setting to a bunch of songs at one time?

    Is there a way to apply an equalizer setting to a bunch of songs at one time?

    Nevermind...I figured out a way

  • Is there any way to work on one Catalog from two computers simultaenously?

    Is there any way to work on one Catalog from two computers simultaenously?
    I have a catalog with 7000 images we have to process / crop / etc. and I was trying to find a way that two of us could work on the images at the same time.
    Thanks!

    No, the LR catalog is not multi user capable (and cannot reside on a network share without tricks). What you could do is
    export part of the catalog (a subset of all images) into a separate catalog ("Export as Catalog", without exporting the negatives)
    work on different images in the two catalogs at the same time
    re-import ("Import from Catalog") the exported work after adjustments on it is finished
    Beat

  • Is there a way to share one music library with two seperate icloud accounts?

    Is there a way to share one music library with two seperate icloud accounts? I have over 12,000 songs in my library and my son likes the same music, but recently his ipod touch is picking up the texts from my wife's and my phone? I was told the only way to stop this is by giving him his own icloud account which would mean he wouldn't have access to my music library. Any ideas?

    He can still use your Apple ID for iTunes content, no issues. He just gets a separate ID for everything else.

  • Is there any way to print my Keynote slides in two columns on a page?

    Is there any way to print my presentation slides in two columns on a page? thanks

    You can do this through the Print dialog when you go to print your slides. In the dialog, click the dropdown menu that says "Copies and Pages", and choose
    "Keynote". Here you can use the "Handout" settings to put multiple slides on a page. This option will leave some space beside the slides, where the notes would go.
    Alternatively, in the same dropdown menu, you can choose "Layout". In the panel that appears, you can set your output to print multiple pages on a single sheet of paper, and arrange them how you like. If you are set to print slides and not handouts, this method will print multiple slides, without spaces for notes, on a single sheet.

  • Is there a way to apply a master page to even (or odd) pages in a long document?

    I'm taking a very simple, large pdf document and bringing it into InDesign to add some graphics. The pdf is actually a customized 2-page document for a large employee group (i.e. pages 1 and 2 are for employee001, pages 3 and 4 are for employee002, pages 5 and 6 are for employee003, etc.).
    I've found a script that allows me to bring in all the pages of the pdf at one time, provided I've set up the correct number of blank pages in InDesign. What I'm looking for now is a way to apply a master page to all even numbered pages at one time. Or all odd pages. Anyone have any ideas?
    Ideally, an option that would import the entire pdf document, add the appropriate number of pages to the InDesign document, and be able to assign different master pages to even and odd pages would rock! Help!

    for (var i=0;i<= PageLength-1;i++)
    var isEven = function(someNumber){
    return (someNumber%2 == 0) ? true : false;
    if(isEven(newDoc.pages.item(i).name) == true)
              //Apply Master B for right page
              newDoc.pages.item(i).appliedMaster = app.activeDocument.masterSpreads.item("B-Master");
    //Move elements by x, y position, script label ContactEmail
    newDoc.pages.item(i).pageItems.item("ContactEmail").move([0.7292, 6.011]);
    }else{
              //Apply Master A for left page
              newDoc.pages.item(i).appliedMaster = app.activeDocument.masterSpreads.item("A-Master");
    }//for Else
    }//For

Maybe you are looking for