Same column report

Hi all,
I have to create a report with columns
depositdate depositamount withdrawaldate withdrawal amount
I have only one column in answers that is amount and date and from the third column named type.
In type column there is data as deposit and withdrawal. by filtering this column i have to create this report. can anyone suggest me and advance thanks..

Use Filter functions here for measures...
Create 2 columns as depositamount and withdrawal amount with fx as below
FILTER(amount USING (type = 'deposit'))
FILTER(amount USING (type = 'withdrawl'))
change as per you requirement
For date..can you confirm howz ur datamodel ? Is it coming from seperate dimension or its thr in fact table only??
Hope this helps

Similar Messages

  • REPORT WITH CHANGING ITEM ON THE SAME COLUMN

    Hi to all,
    i'm trying to build a report with different item in the same column.
    Is that possible in any way using other Oracle technique?
    i'm not doing anything specific here, only i would like to know if the following possibility exist or not and how can i let apex render the htmldb_item fields 'dynamically'.
    Using this CODE inside a PL/SQL function body returning sql query I obtain the following report content. Such the code of htmldb_item.fields is written, as a field value the HTML_ITEM is not rendered, so only the description of them appear in the report.
    Does somebody know some tricks to make it work?
    Thanx a lot
    1     2     LAST_CALL     htmldb_item.date_popup (4, ROWNUM, FLD_VALUE,'dd/mon/yyyy') VALUE
    21     1     AGE     htmldb_item.text(4,FLD_VALUE,10,10) VALUE
    create or replace FUNCTION FNC_GEN_GUI_ITEM(ITEM_TYPE NUMBER) RETURN VARCHAR2 AS
    STRHTMLDITEM VARCHAR2(4000);
    BEGIN
    CASE ITEM_TYPE
    WHEN 1 THEN STRHTMLDITEM:=' htmldb_item.text(4,FLD_VALUE,10,10) VALUE ';
    WHEN 2 THEN STRHTMLDITEM:=' htmldb_item.date_popup (4, ROWNUM, FLD_VALUE,''dd/mon/yyyy'') VALUE ';
    END CASE;
    RETURN STRHTMLDITEM;
    END FNC_GEN_GUI_ITEM;
    MY TABLE AS FOLLOWS:
    CREATE TABLE "NEWPROJ"."DINFIELDGUI"
    (     "ID" NUMBER NOT NULL ENABLE,
         "FLD_TYPE" NUMBER,
         "FLD_NAME" VARCHAR2(4000 BYTE),
         "FLD_VALUE" VARCHAR2(4000 BYTE),
         CONSTRAINT "DINFIELDGUI_PK" PRIMARY KEY ("ID"));
    Message was edited by:
    Marcello Nocito

    Hi to all,
    i've solved, is very simple using decode inside the select:
    SELECT
    ID,
    FK_HTMLDB_ITEM, DECODE(FK_HTMLDB_ITEM,1,HTMLDB_ITEM.DATE_POPUP(3,rownum,VAL,'dd-mon-yyyy'),2,HTMLDB_ITEM.TEXT(3,VAL)) VALORE
    FROM TESTID
    my table is:
    CREATE TABLE "DEV"."TESTID"
    (     "ID" NUMBER NOT NULL ENABLE,
         "FK_HTMLDB_ITEM" NUMBER,
         "VAL" VARCHAR2(4000 BYTE))
    Bye Bye

  • Re: Report Painter Diff. formula in same column.

    Hi,
    I have some queries for report painter.
    I have 2 columns, A & B. I've created column C and the first 5 row I would like to have a set of formula such as A10 and for the same column, the row 6 to 10 from column B, I want to have formulate B5-10.
    My question is, whether it's posible to have 2 formula defined in the same column because value for each row may need to apply the formula differently.
    Thx & Rgds

    You can do this, although you need to split the columns into "Sections".  You also need to remove the column headers so they are not repeated between each section.
    They almost act similar to a page break, without actually breaking the column over pages.
    http://help.sap.com/saphelp_47X200/helpdata/EN/c7/50673ad016ec32e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_47X200/helpdata/EN/5b/d22d8a43c611d182b30000e829fbfe/frameset.htm
    You can then have different calculated key figures within the same column.
    To amend sections, go to Formatting > Section Overview/Section Layout.

  • ME2N report displaying more columns in Background than foreground.I want same columns in Background as Foreground

    Hi All,
    ME2N report displaying more columns in Background than foreground.I want same columns in Background as Foreground having 10 columns.Already i have created the default variant in foreground when i execute the report in background by proving the same variant it is displaying more columns almost 70 columns.Kindly suggest and guide me how to restrict the report to get same columns in background as in foreground.
    Kindly provide is there any OSS Note available.
    Thanks,
    Prashanth Reddy

    I do not think it is possible to assign default layout for background job.
    System will show you all field for background job for transaction ME2N.
    Actually the screen layout is assigned with t-code (ME2N)
    When the report is running in foreground, then system will take the screen layout for the t-code.
    But when you run the background, then system will run the program directly (does not take the t-code). So the default screen layout will not fetch during running the background job.
    For more details have a look into the thread Selecting layout in selection screen

  • Crystal Reports XI - How to pull same column value with different select...

    I have a report with many (around 30) sub reports and it is giving serious performance issue. I am currently finding out a strategy to improve the performance. I see that most of the sub reports are taking same parameters from main report except for one parameter which is different for each sub report and hard coded in them and pulling up the same column value from a oracle database with a different select criterion. I am trying to find out a way using either of command/crystal formula/SQL expression which can do the same job for me and give me performance improvement. I tried to take the parameters from the main report in one sub report and mapped them to parameters being transferred to the command and then drag and drop the field for which I need to display the value but due to some reason it is not returning values when I am trying multiple commands...I need some help in selecting a strategy for this issue resolution and some guidance....Any help would be highly appreciated....

    My version is 11.5.8.826. First of all I need to make it clear that I have 6 set of sub reports and each set has 5 sub reports. So if I can resolve the issue for one set, I resolve it for all. The sub reports are doing nothing but fetching a column value using a simple SQL SELECT query and appending to the right of a box in main report. The issue is that all these queries embedded into the sub reports are using same SQL except for one parameter in the "where" clause and they are fetching same column value from the database and fortunately all of them are returning same number of results. So at the end these results create a table when run. The only way I can stop using sub reports is by creating a table in the main report and use some object(formula/command/SQL expression or whatever) to fetch that column value using the same filter conditions. But please take a note that I need to use and append the same column value from a database table and use different filter conditions and append them to the right so that at the end they create a table...as long as I get the table in the output with a decent performance , anyone will be least bothered about what I used inside the report.....please ask me as many questions to get more lights on the issue....

  • Is there a 100 column report limit and/or a problem editing dynamic reports

    APEX Gurus
    I have a report which is generated dynamically, the source being a PL/SQL function body returning SQL query. The on-screen output is generated using mod plsql, i.e. an html table.
    If I run the report with parameters which return more than 100 columns, all are displayed on screen
    However, if I click on the (standard functionality) 'export to csv' link at the bottom of the report, not all of the columns are exported.
    If I navigate to the report definition page, firstly a pop-up error appears: "A Runtime Error has occurred. Do you wish to debug? Line 272 Error: ';' Expected". If I click 'no' then the report definition appears. There are 100 columns listed 'Col01', 'Col02', 'Col03' ... 'Col100'.
    I can't edit anything on the page without getting an error when I apply changes:-
    ORA-20505: Error in DML: p_rowid=107779820132310508, p_alt_rowid=ID, p_rowid2=79506526374684203, p_alt_rowid2=SECURITY_GROUP_ID. ORA-20503: Current version of data in database has changed since user initiated update process. current checksum = "E8F1BCECF94FAD8DF3ECC3E74BCC4D50" application checksum = "0"
    ORA-20505: Error in DML: p_rowid=107779820132310508, p_alt_rowid=ID, p_rowid2=79506526374684203, p_alt_rowid2=SECURITY_GROUP_ID. ORA-20503: Current version of data in database has changed since user initiated update process. current checksum = "E8F1BCECF94FAD8DF3ECC3E74BCC4D50" application checksum = "0"
    The only option is a hyperlink to go back: 'Return to application'. No changes are saved.
    I am wondering if I am hitting 2 problems:-
    1. APEX can't handle more than 100 columns
    2. APEX can't handle editing of the page once it has been created?
    Does anyone have any good ideas/seen this before?
    Could it be related to this Is it a bug (Form with more than 100 items/columns) ?
    Is this a bug or an undocumented feature?
    All help appreciated.
    Ian

    I created a report with the following query
    SELECT 1,2,3,4,5,6,7,8,9,10,
           11,12,13,14,15,16,17,18,19,20,
           21,22,23,24,25,26,27,28,29,30,
           31,32,33,34,35,36,37,38,39,40,
           41,42,43,44,45,46,47,48,49,50,
           51,52,53,54,55,56,57,58,59,60,
           61,62,63,64,65,66,67,68,69,70,
           71,72,73,74,75,76,77,78,79,80,
           81,82,83,84,85,86,87,88,89,90,
           91,92,93,94,95,96,97,98,99,100
    FROM DUAL
    {code}
    It created a 100 column report and I was able to manipulate the report the same as any other. So maybe it is not the fact that there are 100 columns. I know its not an answer to your question but maybe it can help.
    Tyson Jouglet
    Edited by: Tyson Jouglet on Oct 13, 2008 8:51 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Passing Parameters For Same Columns In 2 Different Tables

    OBIEE 11g
    I have 2 different dimension tables in my Subject Area.
    Dim1 has following columns: Promotion Code, Promotion Description, Promotion Date
    Fact1 has following columns: a_count, b_count, c_count
    Dim2 has following columns: Promotion Code, Promotion Description, Promotion Date
    Fact2 has following columns: a_count, b_count, c_count, d_count
    Report 1 has following columns: Promotion Code, Promotion Description, Promotion Date, a_count, b_count, c_count (From Dim1 & Fact1)
    Report 2 has following columns: Promotion Code, Promotion Description, Promotion Date, a_count, b_count, c_count, d_count (From Dim2 & Fact2)
    I have tried to pass the parameters Promotion Code, Promotion Description, Promotion Date from Report 1 to Report 2 but this has not worked for me as Report 2 is not receiving the parameters. Is there a way I can do this. Thanks in advance.

    Thanks for your response Jay,
    In Report 1 I have added prompts (Prompts tab) for Promotion Code, Promotion Description and Promotion Date. I have also set the following presentation variables in the prompts:
    PromotionCode,
    PromotionDescription
    PromotionDate
    In Report 2 I then add a filter for each of the same columns and match them to the presentation variables created in Report 1 as follows:
    Promotion Code is equal to / is in @{PromotionCode}
    Promotion Description is equal to / is in @{PromotionDescription}
    Promotion Date is equal to / is in @{PromotionDate}
    My expectation is that the values in the presentation variables will be passed from the Prompts in Report 1 to the filters in Report 2. This is not what is happening. Im not sure what I am doing wrong.

  • Change Column Header / Column Background color based on a value in a specific row in the same column

    SSRS 2012
    Dataset (40 columns) including the first 3 rows for Report layout configuration (eg: the <second> row specifies the column background color).
    Starting from the 4th row, the dataset contains data to be displayed.
    I would like to change the background color of the ColumnHeader/Column based on the value in the same column in the <second> row.
    How can I accomplish the this requirement? (this must be applied for all the columns)
    Thanks

    Hi Fasttrck2,
    Per my understanding that you want to specify the background color of all the columns/column header based on the value in one special column of the special row, right?
    I have tested on my local environment and you can add expression to condition show the background color in the columns properties or the column header properties.
    Details information below for your reference:
    Specify the background color in the Column header: you can select the entire column header row and in the properties add expression in the Background color :
    If you want to specify the background color for the entire column, you can select the entire column and add the expression, repeat to add background color for other columns.
    If you want to specify the background color based on the value in the specific columns and row, you can create an hidden parameter to get the list of values from the  specific column, specify the Available values and default values by select "Get
    values from a query", finally using the expression as below to get the specific value you want:
    Expression(Backgroud Color):
    =IIF(Parameters!Para.Value(1)="1221","red","yellow")
    If your problem still exists, please try to provide some smaple data of the report and also the snapshot of the report structure to help us more effective to provide an solution.
    Any problem, please feel free to ask.
    Regards
    Vicky Liu
    If you have any feedback on our support, please click
    here.
    Vicky Liu
    TechNet Community Support

  • How to display integer values and decimal values in same column in a table

    hi 
    in my report amount column is there in that column integer values (2234) and decimal values (3562.34) 
    i want to print this values as 1000 separate as like 2,234 as integer and 3,562.34 as decimal
    but this values print like 2,234.00 as integer and 3,562.34 as decimal

    Hi akilreddy,
    Per my understanding you have an field which data type may be "float" in the DB, so it have value which format like "2234" and "3562.34" in the same column, now you want to format them differently in the report, right?
    I have tested on my local environement and you can use the expression in the custom format in the Textbox properties to do this:
    Right click the field which you want to add the format and select the "Text Box Properties"
    Select the "Number" on the left pane and using expression below in the Custom format:
    =IIF(Split(Fields!yourfieldname.Value,".").Length=2,"#,###.##",Nothing)
    Or you can just use "#,###.##" in the format.
    Preview you will go the result like below:
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Multi-columned report

    Helllo,
    I"m using Application Express 3.1.2.00.02
    I want to do a 3 columned report.
    I just saw this thread ( from 2005 - that's why I started a new)
    Multi-columned report
    When I applied the template to my report region, I got the following error:
         ERR-1025 Erreur lors du traitement de l'expression PL/SQL. mod(1,3)0
    Can someone tell me why?
    thanks,
    Roseline
    My Query - select ename from emp
    The template I created step by step:
    Create a report row template....
    Workspace>Builder-Application>Shared Components>Themes>Templates...Create
    Template Type: Report
    Creation Method: From Scratch
    Name: One Field - Three Column
    Theme: your choice
    Template Class: Standard
    Template Type: Named Column (row template)
    Edit the report Template you just created and modify the following:
    Row Template 1: <td width="150">#1#</td>
    Row Template Condition: Use Based on PL/SQL Expression
    Row Template 1 Expression: mod(#ROWNUM#,3)0
    Row Template 2: <td width="150">#1#</td></tr><tr>
    Row Template Condition: Use Based on PL/SQL Expression
    Row Template 2 Expression: mod(#ROWNUM#,3)=0
    Before Rows: <tr>
    After Rows: </tr>
    Create a query based report region. For my test I used "select ename from emp". Have the report use the row template.
    This is just a quick and dirty sample. For better look and feel you'll need to do your own formatting...

    Yes, that's it.
    However, that I SEE is only 4 name ( every 3 name of the list) on the same line:
    ENAME WARD  ENAME BLAKE  ENAME KING  ENAME JAMES
    1 - 14   But when I cut and paste from Internet Explorer to a text file,m=, even if I see all the result on the same line, when I past it, it's formated :
    ENAME WARD
    ENAME BLAKE
      ENAME KING
      ENAME JAMES
       1 - 14  
    I have 14 results in my database:
    In My SQL
    select * from emp
    EMPNO     ENAME     JOB     MGR     SAL     DEPTNO
    7369     SMITH     CLERK     7902     800     20
    7499     ALLEN     SALESMAN     7698     1600     30
    7521     WARD     SALESMAN     7698     1250     30
    7566     JONES     MANAGER     7839     2975     20
    7654     MARTIN     SALESMAN     7698     1250     30
    7698     BLAKE     MANAGER     7839     2850     30
    7782     CLARK     MANAGER     7839     2450     10
    7788     SCOTT     ANALYST     7566     3000     20
    7839     KING     PRESIDENT     -      5000     10
    7844     TURNER     SALESMAN     7698     1500     30
    7876     ADAMS     CLERK     7788     1100     20
    7900     JAMES     CLERK     7698     950     30
    7902     FORD     ANALYST     7566     3000     60
    7934     MILLER     CLERK     7782     1300     10
      What I would like, is having this display:
    SMITH     ALLEN     WARD
    JONES     MARTIN     BLAKE
    CLARK     SCOTT     KING
    TURNER     ADAMS     JAMES
    FORD     MILLER     
    How can I modify the template?
    thanks again Roseline

  • Multi-column report that repeats columns

    I don't know if this is possible:
    COL A | COL B | COL C | COL A | COL B | COL C
    1 | 2 | 3 | 4 | 5 | 6
    7 | 8 | 9 | 10 | 11 | 12
    So it would be a report being pulled from a single table, but the columns would be repeated across the page.
    Has anyone ever done something like that?

    Okay, firstly, the column titles can be defined any way you want except that they have to be unique names. This is called "aliasing" the columns.
    select colA as A1, colB as B1, colC as C1, colA as A2, colB as B2, colC as C2
      from my_table
    ...What I am struggling with is the fact that you seem to have 12 distinct values (ostensibly coming from 12 distinct columns), so why would you want to show the same column name repeatedly?
    If you are trying to combine information from several columns but place them in different rows, you can use a union and sort in this manner:
    select A1, B1, C1, A2, B2, C2
    from (
    select ID, 1 as SORT_BY, colA as A1, colB as B1, colC as C1, colD as A2, colE as B2, colF as C2
      from my_table
    union
    select ID, 2 as SORT_BY, colG as A1, colH as B1, colJ as C1, colK as A2, colM as B2, colN as C2
      from my_table
    order by ID, SORT_BYCan you give us an example of a record to go with the output?

  • Link same column to different forms based on column value

    Hi All
    I have one report with column "STATUS" with values 'schedule' and 'Active'. I want to link this column to some forms based on these values if column value is 'schedule' then it will go to some other form or if value is 'Active ' then go to some other forms and also i want to send some parameters of particular column value so it will fetch data from table based on this status. how can i link same column to diffrent forms. please help me out.
    Thanks

    Hi,
    In the report query you can conditionally generate the links.
    Example.
    select
    case when status = 'schedule' then  '<a href="'||'f?p=&APP_ID.:150:&SESSION.::NO:150:P150_ITEM1,P150_ITEM2:'||
          value_for_item1||','||lvalue_for_item2||'">status </a>'
    when status = 'active' then  '<a href="'||'f?p=&APP_ID.:200:&SESSION.::NO:200:P200_ITEM1,P200_ITEM2:'||
          value_for_item1||','||lvalue_for_item2||'">status </a>'
    else status end column_title,
    ....Regards,
    Natarajan
    Edited by: Nattu on Mar 18, 2013 11:53 PM

  • Multiple values from same column in diffetent columns in same row??

    Hi all,
    I am wondering how you can display different values from the same column into different columns on same row. For example using a CASE statement I can:
    CASE WHEN CODE IN ('1', '3') THEN COUNT( ID) END as "Y"
    CASE WHEN CODE NOT IN ('1', 'M') THEN COUNT( ID) END as "N"
    Yes this will produce two columns needed but will also produce two separate records and null values for the empty's.
    Any ideas?
    Thanks

    It's not clear what you want.
    Can you post some examples as described in the FAQ: {message:id=9360002}
    As my first guess, I would think you're looking for something like...
    SQL> select * from emp;
         EMPNO ENAME      JOB              MGR HIREDATE                    SAL       COMM     DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-1980 00:00:00        800                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-1981 00:00:00       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-1981 00:00:00       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-1981 00:00:00       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-1981 00:00:00       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-1981 00:00:00       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-1981 00:00:00       2450                    10
          7788 SCOTT      ANALYST         7566 19-APR-1987 00:00:00       3000                    20
          7839 KING       PRESIDENT            17-NOV-1981 00:00:00       5000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-1981 00:00:00       1500          0         30
          7876 ADAMS      CLERK           7788 23-MAY-1987 00:00:00       1100                    20
          7900 JAMES      CLERK           7698 03-DEC-1981 00:00:00        950                    30
          7902 FORD       ANALYST         7566 03-DEC-1981 00:00:00       3000                    20
          7934 MILLER     CLERK           7782 23-JAN-1982 00:00:00       1300                    10
    14 rows selected.
    SQL> select count(case when deptno in (10,20) then deptno end) as deptno_10_20
      2        ,count(case when deptno > 20 then deptno end) as deptno_30plus
      3  from emp;
    DEPTNO_10_20 DEPTNO_30PLUS
               8             6

  • Firefox was working fine in the morning, after half a day, it just crashed and now every time i try to start FF it crashes, i reinstalled FF, even tryed FF 4 beta, every time same crash report window, and nothing happens.

    After a half day working normally, FF just crashed, and now i reinstall it, even tryed FF 4 beta, and still getting crash report. Cant even start in safe mode, same crash report window pop up.
    Checked for viruses, malwares. Nothing helped.

    Other applications print okay? If so, try deleting the Preview .plist
    You need to look in your user Library/Preferences for the .plist. Hold down the option key while using the Finder "Go To Folder" command. Enter ~`/Library. Delete the .plist(s) for the application.
    If you prefer to make your user library permanently visible, use the Terminal command found below. It does work with Mountain Lion:
    http://osxdaily.com/2011/07/22/access-user-library-folder-in-os-x-lion/
    You might want to bookmark the command. I had to use it again after I installed 10.8.2. I have also been informed that if you drag the user library to Finder it will remain visible.

  • As a part of my Daily Reporting Activity; i have to send 35 SMS everyday. Can someone suggest me which software is suitable for my usage as it's tedious job to forward the same sms report 35 times. I am using  IPhone 3GS -32 GB. Sincerly req your reply

    As a part of my Daily Reporting Activity; i have to send 35 SMS everyday. Can someone suggest me which software is suitable for my usage as it's tedious job to forward the same sms report 35 times. I am using  IPhone 3GS -32 GB. I am using service of Vodafone, Mumbai. & when i first time sent 35 SMS (having habit of Nokia to send group SMS at the click of one button) my IPhone sent 35 MMS.

    Found something for you that might be useful:
    http://itunes.apple.com/us/app/igroup-sms/id377378452?mt=8

Maybe you are looking for

  • Setup problem, Non-responsive

    Just bought a brand new MacBook Pro, took it out the box, switched it on - got through the "Select a Language" part; easy enough. Then came, 'Select a County'. I pressed the return key - nothing, moved the cursor to the 'next' arrow - nothing. All I

  • Cannot Test this Web Service using the Test Page

    Hello, I'm using - JDeveloper 11.1.1.3.0 - SOA Suite 11.1.1.3.0 - Weblogic Server 10.3.3 - Windows XP SP3 (german version) Now I'm having a BPEL-Process (SOA) Project created in JDeveloper and deployment to the server works fine, i.e. the service can

  • Can we install Oracle XE on virtual private server?

    Hello, Is that possible to install oracle on the virtual server? Thanks & best regards

  • U410 running really slow even after fresh installation

    I bought an ideapad u410 a little over an year ago. It came pre loaded with windows 8. It had been running slow for some time. The machine would almost take 10 mins to boot up. Any time i try to access something for the first time, it would take almo

  • Launch All Web Applications in browser using PowerShell

    Hi Admins, I am working on a Script where I should be able to launch all the web applications in the browser to open in tabs. I have worked out with the following script and was able to come upto an extent where I am able to launch the Internet Explo