Is it possible to apply a condition on a single column?

Morning All,
Is it possible to apply a condition on a single column? My aim is to create a report that has multiple PTD columns, each based on a different Version ID.
I've tried creating a calculation using the case statement shown below, however I get a blank column with nothing in: CASE WHEN VERSION_ID = ‘10’ THEN BALANCES.PTD END
I know this can be done through a DB view/custom folder, however I’m looking for a solution that can be created in Desktop / Plus.
Cheers,
Lance

OK. Hope this explains the problem well.
This is the Crosstab Report without Annual Budget Column which looks great, all figures correct.
http://vodashare.com/show.php/2929_Pic1.jpg
After Adding Annual Budget column,
http://vodashare.com/show.php/2930_Pic2.jpg
This is the Table version of the above report with Annual Budget column
http://vodashare.com/show.php/2931_Pic3.jpg
Calculation Used for Annual Budget is
SUM(( CASE WHEN ( ( Actual Flag = 'B' ) AND ( Status <> 'C' ) )
THEN ( NVL(Period To Date Cr,0)-NVL(Period To Date Dr,0) )
ELSE 0 END ))
OVER(PARTITION BY Account,"Period Year" )
According to the conditions ( Actual Flag = 'B' ) AND ( Status <> 'C' ), amount is calculated adding the (Cr – Dr) amount when these conditions are satisfied. But, How can I make sure the value is displayed only for rows that these conditions are satisfied?
As you can see, it also displays the columns where Actual Flag != 'B' and Status = ‘C’
Also, I wonder why the Crosstab worksheet with Annual Budget doesn’t display some of the amounts (Ex: for Account 301010, no Annual Budget is displayed where as in Tabular worksheet it is $5721017.50) and for the amounts displayed, why are they displayed at different levels of Sub Accounts?
Note: I do get a warning when I Add the Annual Budget to worksheet.
'You are combining a detail data point with an aggregate data point This may give you unexpected results'. But I am not using any detail items as data points.(not considering Status and Actual Flag, got same message even after removing those)
Please let me know if you find a solution for your requirement Lance, that would help me.

Similar Messages

  • How to apply Filter condition for a specific column but not to the report?

    Hi,
    I am having a issue in applying a filter condition to one of the column.
    I have a schema with one fact table and around 10 dimension tables. My requirement is to bring a count on the fact table with related to some other columns from the dimension tables.
    Lets consider a scenario with tables like Sales (Fact), Region (Dimension), Year(Dimension), Sale Type (Dimension).
    Now my requirement is to bring out the fields
    City(Region) --City                                   
    Year -- Year
    Sales Count(Sales table) ---Count of all sales from the fact table
    Sales Count(Sales table) -- Count of all sales from the fact table where sales type is 'CASH'
    Here my issue is how do I apply the filter condition of Sales Type='CASH' only on one of the Sales Count column which is from the fact table. I want the filter condition to be imposed only for the fourth column.
    Can anyone let me know how to achieve this?
    Thanks

    This is quite simpe. Edit the column formula for the 4th column and put something like this. I am doing this from memory so the syntax might need checking:
    Case When "Dimension Table"."Sales Type"='CASH' Then "Fact Table"."Measure" Else Null End
    You could also consider making this a permanent addition to your RPD if this measure will be used again and again. You would add a new logical column and use the expression builder to arrive at the same result.

  • Is it possible to make a condition for formatting multiple column?

    I am working on financial report like Balance Sheet. So that I am going to have 2 column and 1 on left, 2 and 3 on right.
    I tried to use format multiple columns but can't find any method to define where to break.

    when you create a stored procedure or use a command file( i believe) you can create CASE statements
    CASE WHEN ='BLUE' THEN 'COLUMN1'
    WHEN ='GREEN' THEN 'COLUMN2' END AS BUCKET1
    when you use this as the dataset you will see this as a field
    you can then group by the fields created.

  • Is it possible to apply conditional formatting to a cell (or range) based upon a LOOKUP query to cell values in another sheet.? I want to alter the formatting (i.e., text and/or cell background color), but not cell content.

    Is it possible to apply conditional formatting to a cell (or range) based upon a LOOKUP query to cell values in another sheet.?
    I want to alter the formatting (i.e., text and/or cell background color), but not the content, of the target cell(s).

    Hi Tom,
    Your LOOKUP formula will return a value that it finds in the "other" table. That value can be used in conditional highlighting rules. (Numbers 3 calls it conditional highlighting, not conditional formatting. Just to keep us awake, I guess, but it works the same).
    Please explain what you are trying to do.
    Regards,
    Ian.

  • Is it possible to create a Column with Conditional Mandatory with another Column?

    Is it possible to create a Column with Conditional Mandatory with another Column?
    For example
    In a Table we have column A, B, C.
    A is Primary Column.
    B is Optional
    C is Conditional Mandatory.
    A B
    C
    12345 ABC
    OK
    12346 NULL
    NULL
    12347 ABC
    OK
    Only if the B Column has the value then only C column should be mandatory

    I guess you can't create a condtional mandatory column directly. However, you can use check constraint to on the column
    create table YourTable
      A int primary key,
      B char(3),
      C int,
      constraint ch_con check(
                                B
    is not null
    or C is null

  • AP - Is it possible to apply a Deposit to an Invoice via a API or Interface

    Hi,
    Some knows if it's possible to apply deposit trough an API or during the invoice interface process?
    Oracle EBS R12.1
    Thanks in advance for the feedback.

    Try AR_DEPOSIT_API_PUB.
    Regards,
    Gareth

  • It is possible to apply redo while the standby is open in read only mode ?

    Hi,
    I am using Oracle 11g R2 (11.2.0.1.0)
    Step 1: Two node RAC is Configured.
    Step 2: One node Data Guard RAC is configured.( i,e Standby is one node RAC).
    Primary:
    SQL> select open_mode,database_role,PROTECTION_MODE,PROTECTION_LEVEL from v$database;
    OPEN_MODE DATABASE_ROLE PROTECTION_MODE PROTECTION_LEVEL
    READ WRITE PRIMARY MAXIMUM AVAILABILITY MAXIMUM AVAILABILITY
    Standby:
    SQL> select open_mode,database_role,PROTECTION_MODE,PROTECTION_LEVEL from v$database;
    OPEN_MODE DATABASE_ROLE PROTECTION_MODE PROTECTION_LEVEL
    READ ONLY WITH APPLY PHYSICAL STANDBY MAXIMUM AVAILABILITY MAXIMUM AVAILABILITY
    Question:
    I have not purchased active dataguard license.
    In my case In Data Guard RAC it is possible to apply redo while the database is open in read only mode?
    Thanks
    Solaiman

    876149 wrote:
    SQL> select open_mode,database_role,PROTECTION_MODE,PROTECTION_LEVEL from v$database;
    OPEN_MODE DATABASE_ROLE PROTECTION_MODE PROTECTION_LEVEL
    READ ONLY WITH APPLY PHYSICAL STANDBY MAXIMUM AVAILABILITY MAXIMUM AVAILABILITY
    "READ ONLY WITH APPLY" in V$DATABASE.OPEN_MODE means Active Data Guard is enabled.
    Oracle code cannot check if you have the right license: it is up to you to know which license you have for your database environments.

  • Not possible to determine a condition type for the price in ME49

    Hi,
    While saving the price in ME49 i.e. comparision of Quotation i am getting below error:
    Not possible to determine a condition type for the price
    Message no. 06657
    Diagnosis
    When it attempted to generate the time-dependent conditions for the price you entered, the system was unable to determine a condition type. Price determination is therefore not possible.
    Procedure
    Contact your system administrator.
    The latter can maintain the calculation schema assigned to the purchasing document using the Implementation Guide (IMG).
    Utsav

    Hi Utsav,
    You can refer to the following link. it might be useful to you
    RFQ price
    Thanks
    Nisha

  • Hi in my sql query i applied like condition (like '%TEST') but it is taking long time

    Hi in my sql query i applied like condition (like '%TEST') but it is taking long time. I applied indexes also,but still i'm facing the same problem. In my databse nearly 2,00,000 records their.

    Hi Manikandan
    Is there a difference in performance between running the query in BEx and WebI?
    have you aggregates in place on the BEx side of things?
    When you say its taking too long to open the report, have you a variable screen coming up for the report and is that what is taking the time or is it the report execution.
    With regards
    Gill

  • Is it possible to apply putClientProperty() to the entire GUI?

    Is it at all possible to apply something like: putClientProperty to the entire GUI rather then a specific object?
    I dislike the java style, and prefer to have my layout as the windows style, but don't know how to do this rather then setting each gui element to windows style...

            try {
                   UIManager.setLookAndFeel(
                           UIManager.getSystemLookAndFeelClassName());
              } catch (Exception e) {}This should change Swing UI to Windows Look & Feel (if your runing on windows).

  • Is possible to add 2 conditions in a view that is used from an extractor?

    Hi alls.. that´s my question:
    Is possible to add 2 conditions in a view that is used from an extractor?
    I have an extrator in R/3 that´s a table view, so i want that this filter from 2 differents fields when this has the same value.
    For example:
    filter when FIELD1 = ZZ or when FIELD2 = ZZ .
    ..different fields, but the same type of data and value!
    is it possible?
    When i trying to activate the view, then show me an error that this is impossible to do.
    Help me..please!!!
    TY

    The error is :
    Only be able to 'OR' connects for the same fields.
    You are trying to connect with 'OR' select conditions from differents fields.
    (sorry but the sistem is in another language ---> not english)

  • How to apply two conditions in Suppress in Section Expert

    Hi,
    I need your help in applying to conditions in the Details section for the suppress in the Section Expert. My Report looks like:
    Details A: {@SUM -DR}   {@SUM -CR}   {@SUM -Balance} {@TT-CLASS}
    Details B: {Deal_No}   {Image_No}   {Amount}   {@Comments}  
    Currently, I am applying a condition to suppress both Details A and Details B in the section expert:
    {@TT-CLASS}="OB"
    Now while running the report, I got some duplicated deals ex:
    123   1   1000   Reversal
    123   1   1000   Reversal
    124   2   2000   Approved
    So I applied a condition in the section expert for the details A and B which is:
    ({Deal_No} = next({Deal_No} ) and {Image_No} =next( {Image_No} ) )
    or 
    {@TT-CLASS}="OB"
    And it is still giving me the duplicated deals when I am running the report. So can you please help.
    Thanks

    Duplicates are usually caused by an incorrect Join.
    What is the datasource of the report - tables/views, stored procedures, sql query?
    If you're reporting against tables/views, see if checking the 'select distinct records' option under the 'Database' menu helps.
    -Abhilash

  • Is it possible to apply service packs to NW04s ABAP Sneak Preview?

    Service Pack 7 to NW04s contains the DEMO_REGEX_TOY, which I'd like to install in my ABAP sneak preview system.  I have some questions about that:
    1.  Is it possible to apply maintenance to the Sneak Preview?
    2.  What service packages need to be isntalled to upgrade the sneak preview rel/level from 7/5 to 7/7: 6 and then 7, or just 7?  That is, are those service packs cumulative?
    3.  I am unable to download the service packs from https://service.sap.com using the download manager.  I get an error in the trace output that says, "Unable to Find Certification Path."  I have no idea what that means, or how to circumvent that problem.  Is there an alternative way to get the Service Packs?
    Thanks for any help/guidance you all can provide!

    Thanks.
    I did manage to download the packs.  For others who may have similar difficulties, the solution to my download problem was to specify (in IE) http://service.sap.com as a trusted site.  That allowed Download Manager to get the files.
    I'll also add that I successfully applied packs 6 & 7, as well as SP 70020 (required to update SPAM before applying pack 7) and am now in business!
    (Not sure I have the correct terminology for those - here's the file names I applied: KB70006.CAR, KB70007.CAR, KD70020.CAR)

  • Is it possible to apply a stroke effect to a Photoshop image in After Effects?

    Hello,
    I've imported an image (a maze) from Photoshop into AE, and I want the image to appear as if it's being drawn in using the Stroke animation.  Is it possible to apply some kind of path along which the image can "fill in"--similar to how you can do this with text?  I didn't see a way to convert the image into a shape layer on which I could apply the Stroke effect, either.
    Thanks to everyone who's been so helpful in these forums--I've gotten a lot of questions answered by y'all!
    meredith

    Followed everything you said up until using the solid as a track matte, where I got a little confused.
    The effect worked more or less how I wanted when I set the starting value of the stroke at 100% and set track matte of my original image to Alpha Inverted.  When I did this, it gave the effect that the solid was disappearing to reveal the original image, if that makes any sense. 
    Is there anyway to adjust the brush shape?  Right now it is a circle, is it possible to change it into a square?  The circle brush gives an awkward edge line as the lines of the image begin to appear with the stroke effect.
    Thanks!

  • RFQ - Header Condition (Not possible to determine a condition type)

    Hi,
    I have defined my own Condition Schema for RFQ Item Condition are working fine. But when i am trying to add header condition it is giving msg "Not possible to determine a condition type"
    Regards

    Hi,
    I have defined my own Condition Schema for RFQ Item Condition are working fine. But when i am trying to add header condition it is giving msg "Not possible to determine a condition type" and now allowing me to enter the condition on header level.
    Regards
    Edited by: Kashif Ihsan on Jun 14, 2010 3:52 PM

Maybe you are looking for

  • Issue with the configuration of http xml port for sending the idoc

    Hello,       I am planning to send multiple idocs in a single file using http xml port. Presently I am trying to send a single idoc, but am having the issue. I am trying to create a RFC for HTTP XML port of type H i.e. HTTP Connection to ABAP System

  • Media Encoder crashes on batch sequence export

    I edited an online video dictionary (about 7,500 five second clips) and have them all in sequences in Premiere pro CC waiting to be exported. I hae been battling for two weeks now day in and day out to try and export... I am limited to batch exportin

  • IMac vs Mac Pro for Graphic Design Studio

    We are upgrading the macs in our in-house graphics department (3 mac users) and wanted to see if anyone had advice on weather to choose a high end iMac or the new 2014 Mac Pro. To help here is what we do on our macs (currently 20inch iMacs). Photosho

  • Excahnge rate variance on delivery cost in MIRO

    Dear All, I believe that SAP do not create seperate line item for exchange rate variance on delivery cost like it does for origin cost/main price during MIRO. Is it possible to post this exchange rate variance on delivery cost also into a seperate ac

  • Query string is null while dispatching the request in Websphere for Endeca pages

    Hi, When AssemblerPipelineServlet forward the request with dispatcher the query string is missing from the request in Websphere 7.0 only(works fine in JBOSS). This is happening only for the pages those are created in the Experience Manager. Ex: /stor