Top x for "show data as % of column"

I have the below requirement: (obiee 11g)
Attribute - Value - % of total value
I am calculating "% of total value" by creating duplicate column and selecting "show data as % of column". This is working fine.
Now there is an additional requirement to display "top x" values based on "value" column or "% of total value" column.
If I add filter "top 10" on "value" - % of total value is getting calculated only based on those 10 values but not all values.
How I can display consistent "% of total value" based on sum of total "value" but not just top x with the ability to show top 5, or top 10 etc.
Your responses are highly appreciated.
thanks.
Edited by: 917421 on May 15, 2012 10:12 AM

HI,
Please refer the link.
http://myobieeworld.blogspot.in/2009/02/dissecting-paint-repository.html
Hope it help's
Thanks,
Satya

Similar Messages

  • ALV Tree, Expanded node do not show data in certain column

    Hi all,
    I need your help regard to below problem.
    I have an ALV grid in which one of the columns has F4 (search help). If search help is called by pressing a F4 button a dialog box will be shown with ALV tree on it.
    The ALV Tree has 2 columns which are: hierarchy column and one other column called WBS column. At the first show, all expanded node show data contained in WBS column, but if I click to expand a collapsed node, data is not shown in WBS column for the new expanded rows, only shows data in hierarchy column. How to show data in WBS column for the new expanded rows..?
    Basically if at the first show I expand all node, data in WBS column are shown for all rows. It seems that the Expand Node event doesn't update all column data to be shown.
    Please share if anyone of you has faced this kind of problem. Thank you.
    Regards,
    Ramses Hutahaean
    Edited by: Ramses Hutahaean on Feb 29, 2012 1:38 PM

    Hi Fenja,
    as the click-events only raise the node_key (at least I couldn't detect another information), I assume the only way is maintaining an internal helper table by yourself which you build up in parallel when creating the tree and its nodes.
    The (hashed) table might contain 2 columns:
    1. node_key (as table key)
    2. reference to an object
    When a click-event is raised, you look up the corresponding object reference in your table.
    Regards,
    Ulrich

  • Showing data of two columns in one in the Query

    I have two masters with same structures only Key of master is different.
    i have created multiprovider on these masters which is used for query purpose.
    Here situation is that we have already loaded data in one master structure whcih is not tobe touched.
    we can only do chages in second master.
    Now in Multiprovider as two key fields for two masters are different we cannot map them in identification of multiprovider.
    Now we want only one field on selection screen and also in the report with data for both masters.
    can anybody help me in it.

    Hi
    You can use Constant Selection (Effect like Left Outer Join for different InfoObjects in a MultiProvider). In order to do that, please take the following steps:
    1. Create a Restriced Key Figure.
    2. In the RKF dialog, drag one of the characteristics (the one that is NOT related to the KF).
    3. Right Click on this Characteristic (context menu) and hit "Constant Selection".
    This should show you all values in the columns.
    Yaniv

  • Usage of sequence for uploading data into tables(column store) using CSV

    How to make use of sequence when data is uploaded into table(column store) with the CSV file ?

    Hi Sharada,
    You may have to follow the below steps:
    1) To load the data from flat file to a Staging table using IMPORT command
    2) You have to call the procedure to load the data further into final Table.
    a) Have a look on this procedure to load data :
    SAP HANA: Generic Procedure using Arrays to Load delta data into Tables
    b) See my reply on the syntax on how to use "Sequence"
    Auto-Incrementor in stored procedure!
    You will have to ensure that you frame your insert query in such a way to have the sequence number in the target table.
    Regards,
    Krishna Tangudu

  • Showing data in multiple tables  for a page in smartforms

    Hello freinds,
    I am creating a smartform in which i have to show data which are different
    tables .
    i mean to multiple tables needed for showing dat their corresponding continuous data
    and amount of data is also not fixed for table .
    what is the solution  .
    kindly suggest me with elaborated steps  .
    Thanks & Regards
    Digvijay Rai

    Hi Digvijay,
    Yes it is possible to show multiple table's data in a continues manner.
    In smartform onlt the Main window could be extended according to the table length i.e if the data in a table exceeds the main window height, it is continued in the next page.
    So you can declare as multiple tables in the main window.
    for example if u have 3 internal  table which r needed to be printed in a continues manner u can declare 3 tables in a main window which would be printed one after the other in a continues manner.
    Regards,
    Akash Rana

  • OAF Export button fetching data in one column - view object using union all

    Dear All,
    Export button showing data in one column from  view object,
    View object is based on mulitple queries with union all ,
    Please let me know the solution for this issue.
    Thanks
    Maheswara Raju

    Maheswara Raju,
    As per my understanding you are not able to export all the View Attribute using export Button. Only the attribute which is used with the item/region will get exported.
    There are few work around in case if you want to export the column without showing on OAF Page. Let me know.
    Cheers
    Gyan

  • GRR2- 4FM-RepPaint(put ABAP code for convert data in field)

    Hi,
    If somebody know how possible add ABAP code for convert data in some column-field of report (by RepWriter,UserExit,BADI)?
    Thanks a lot.

    Elaborate your question. Not clear ??

  • Getting data of two columns in one column

    Hi,
    I need to show data of two columns in one column, I also want to insert space between the data of both the columns in the output
    can i use something like this ?
    (IMPORTER_NAME+' '+IMPORTER_ADDRESS) as "Location"

    872435 wrote:
    Hi,
    I need to show data of two columns in one column, I also want to insert space between the data of both the columns in the output
    can i use something like this ?
    (IMPORTER_NAME+' '+IMPORTER_ADDRESS) as "Location"You can either use the CONCAT function or || -
    SQL> select 'Hello'||' '||'World', CONCAT(CONCAT('Hello',' '),'World') from dual;
    'HELLO'||'' CONCAT(CONC
    Hello World Hello WorldHTH
    David

  • How can we show data in rows when it is in Columns........

    I have strucked with a simple but a complex problem.
    I have a Report with data in vertical rows..need of the hour is how can we show that data into column structure.
    here is the table sample which i have in Database..
    Location      chrg_type    Effective_date
    xxxxxxx        xxxx          xx-xx
    thhis is the structure in effective date we have several months in it in a single column i want show the effective date or effective month in various columns instead of a single column.
    my required table is....
                                Effective_date     Effective_date
    Location      chrg_type     xx-xx              xx-xx
    xxxxxxx        xxxx          xx-xx
    any tough heads?????

    Hi Sunil,
    Your 1st problem is that you are going to need one more field to accomplish you goal. What type of data do want under your new date columns?
    Anyway, once you have that you need to move on to how to move the data out into columns based on date.
    Try something like this.
    0_Date = IF DATEPART('m',{tbl.Effective_date}) = DATEPART('m',CurrentDate) AND
    DATEPART('yyyy',{tbl.Effective_date}) = DATEPART('yyyy',CurrentDate)
    THEN {tbl.DataField}
    1_Date = IF DATEPART('m',{tbl.Effective_date}) = DATEPART('m',DATEADD('m', -1, CurrentDate)) AND
    DATEPART('yyyy',{tbl.Effective_date}) = DATEPART('yyyy',DATEADD('m', -1, CurrentDate))
    THEN {tbl.DataField}
    2_Date = IF DATEPART('m',{tbl.Effective_date}) = DATEPART('m',DATEADD('m', -2, CurrentDate)) AND
    DATEPART('yyyy',{tbl.Effective_date}) = DATEPART('yyyy',DATEADD('m', -2, CurrentDate))
    THEN {tbl.DataField}
    ... Repeat this process until you have all of the columns you need, following this format.
    Hope this works for you,
    Jason

  • Data Federator XI 3.0 using DB2 VARCHAR FOR BIT DATA Column?

    We have a column in a DB2 database that is defined as VARCHAR(16) FOR 
    BIT DATA.
    We are using the suggested IBM JDBC driver, db2jcc.jar, against a DB2 
    OS/390 8.1.5 version database.
    The Datasource column displays a data type of NULL, indicating the DF 
    does not understand or cannot handle this IBM data type.
    We have two issues.
    First, target tables are not able to return any columns, regardless if 
    we exclude columns defined as NULL as mentioned above. We see the 
    'Wait' animation for a very long time when we use the 'Target table 
    test tool' option. Selecting to display the count only, returns zero.
    We are able to fetch and view non-NULL column data when using the 
    'Query tool' under the Datasource pane.
    I also get the same result when using the 'My Query Tool' in Server 
    Administrator; a selection agains the sources returns data while 
    selecting from a target table returns no data. Also, a 'select 
    count(*)' returns zero.
    The second issue is in mapping a relationship between two DB2 tables 
    where the join is between two columns of the above mentioned type 
    (NULL).
    The error we get back when we use "Show Errors" is "The types 
    'NULL' (in 'S1.PLANNEDGOALID') and 'NULL' (in 'S2.PLANNDEDGOALID') are 
    not compatible.". When reviewing the relationship, a dashed red line 
    appears instead of a solid grey line between the two tables in the 
    "Table relationships and pre-filers" section of our mapping pane.
    The following query returns an error via the Server Administrator 
    Query Tool; "Types 'NULL' and 'NULL' are not compatible for operator 
    '=' (Error code : 10248)".
    select count(*)
    from
    (select s1.CASEID, s2.PLANNEDGOALID, s2.NAME, s2.PLANNEDGRPSTTYCD
      from "/DF_CMS_ODS/sources/CMFSREPT/CMSPROD.PLANNEDGOAL" AS s1
    ,"/DF_CMS_ODS/sources/CMFSREPT/CMSPROD.PLANNEDGOAL" s2
              where s1.PLANNEDGOALID = s2.PLANNEDGOALID)
    Here are the properties settings in the Resource Connector Settings 
    for jdbc.db2.zSeries we are using.
    capabilities: isjdbc=true;orderBy=false
    driverLocation: drivers/db2jcc_license_cisuz.jar;drivers/db2jcc.jar
    jdbcClass: com.ibm.db2.jcc.DB2Driver
    sourceType: db2
    supportsCatalog: no
    urlTemplate: jdbc:db2://<hostname>[:<port>]/<databasename>
    Here are the Connection parameters as defined for the datasource in DF 
    Designer.
    Defined resource: jdbc.db2.zSeries
    Jdbc connection URL: jdbc:db2://DB2D03:50000/CMFSREPT
    Authentication: Use a specific database logon for all Data Federator 
    users.
    User Name: x
    Password: hidden
    Login domain: -- Choose a defined login domain --
    Supports Schema: checked
    Schema: is empty
    Prefix table names with schema name: checked
    Supports catalog: unchecked
    Prefix table names with the database name: unchecked
    Table types: TABLE and VIEW
    So, the following is the two questions we require answers for...
    Is this a limitation of Data Federator?
    Is there a work around short of changing the datatype in the database.

    Hi Darren,
    The VARCHAR() FOR BIT DATA is a binary data type and Data Federator does not support binaries. But if in your case, it makes sense to map this column to a VARCHAR data type you can configure the DB2 connector to view this column as a VARCHAR.
    Your column can be mapped explicitly to a data type of your choice using a property: castColumnType.
    This property can be set updating the resource you selected when you registered you DB2 data source.
    If the resource is "jdbc.db2", then:
    1. Launch Data Federator Administrator
    2. Click on "Administration" tab
    3. Click on "Connector Settings"
    4. Select the right resource: "jdbc.db2"
    5. Click "Add a property"
    6. Select "castColumnType"
    7. Set its value to: VARCHAR() FOR BIT DATA=VARCHAR
    8. Click on Ok
    You should see this column as a VARCHAR.
    Regards,
    Mokrane
    PS: For the target table issue, we have forwarded your mail to the Data Federator Designer team.

  • When I sort by date added in Column View in Finder, how can I make the most recent files appear at the top of the list?(Mavericks)

    In 10.8, when I sorted Finder by date added or date created in column view, the most recent files would appear at the top of the list. Currently, this happens as it should in every single view mode EXCEPT column view (which is pretty much the only view I ever use). Currently, I have a folder with over 2000 files in it that date back to 2011, so now I have to scroll for like ten minutes just te get to files that were most recently added. Who in their right mind would want to sort by last modified with the oldest result listed FIRST? Ridiculous. I can't figure this out. Any help?

    Thanks for the reply leroydouglas! Unfurtunately this doesn't cause the column to be ordered correctly either. After selecting this option, the files seem to be ordered by label, and the most recently added file is somewhere in the middle of the list. I'd like it to be at the top, and have other files/folders descend in retrochronological order by their add date.
    Any other input from the community would be greatly appreciated, even if it's just confirming that this is/is not expected behavior. I'd be super bummed to find out that this IS expected behavior, as it's really counterintuitive and extremely inconvenient.
    Thanks again!

  • Why MSAccess database shows data but does not show columns and DDL in edit mode in jdeveloper?

    Sir,
    My developer ver is 12.1.3.0.0.
    I create a connection to MS Access database, this database shows data as bellow in jdeveloper databases window
    But when I open any table in Edit mode like bellow it does not show any columns and DDL and give an error like bellow
    Similarly when I try to create view objects on these tables then on data controls the view object also doesn't show any columns like bellow
    What could be the reason any help on this issue
    Should I use MS Access or not but I want to use ms access for very small databases.
    Regards

    If you look into the certification matrix at Oracle JDeveloper and ADF 12c (12.1.3) Supported Systems
    You'll see that ms access is not supported.
    You can use oracle xe which is free for your project.
    Timo

  • Date and Days for all year come in column

    Dear all
    I have 2 Column 1 is Date and 2nd is Day
    And i have one Button i need when i enter button then its show all year date in date column and day in day column for example
    Date---------Day+
    *1-jan-2009-Thursday*
    *2-jan-2009-Friday*
    *3-jan-2009-Saturday*
    And As on
    I hope you guys understand
    Regards
    Shahzaib ismail

    Hai,
    That means, You need to fill the multi record block which has 2 columns ( 1 is date, and the other is day.).
    For that Try this in the WHEN-BUTTON-PRESSED Trigger of the Button.
    DECLARE
         Dt_Date DATE;
    BEGIN
         GO_BLOCK ('<block_name>');
         CLEAR_BLOCK(NO_VALIDATE);
         FIRST_RECORD;
         Dt_Date := TO_DATE('01-JAN-2009');
         LOOP
              :<block_name>.TI_DATE := TO_CHAR(Dt_Date, 'DD-MON-YYYY');
              :<block_name>.TI_DAY  := TO_CHAR(Dt_Date, 'DAY');
              EXIT WHEN TO_CHAR(Dt_Date, 'YYYY') <> TO_CHAR(Dt_Date + 1, 'YYYY');   -- If next year reaches, exit from the loop.
              Dt_Date := Dt_Date + 1;
              NEXT_RECORD;
         END LOOP;
    END;          Regards,
    Manu.
    If this answer is helpful or correct, please mark it. Thanks.

  • Show Data as percent of Column with static table

    Hello,
    I have a problem calculating a % in a table. I have two columns in criteria tab:
    Departments and measure
    I need an extra column that calc % of total departments for each department. I know that I can do it with pivot table creating a new column and put: Show Data --> as Percent of --> Column but I need to do with static table.
    Is possible to do it??
    Thanks!!!

    Alex,
    You could try the following example here :
    http://www.biconsultinggroup.com/knowledgebase.asp?CategoryID=198&SubCategoryID=364
    using sum( measure by dimension attribute)
    This should give you access to the grand total in the report as a column, from which you can derive % of.
    HTH, if correct please mark answered / award points as you see fit to do so!!
    Alastair

  • Not all my titles are showing for each data set

    Hello,
    I have made a column graph for 4 different data sets, I need the titles to show for each data set along the X axis. I highlight the titles in my data when making the graph, however, only two of the four are showing. Is there any way I can get all 4 to show?
    ^^^^ Need the title after Baseline and after Numb Hand
    Thank you

    Try clicking the chart then the blue 'Edit Data References' rectangle, and then in the lower left of the window switch from 'Plot Columns as Series' to 'Plot Rows as Series'.  Then switch back if needed. All four should then show up.
    SG

Maybe you are looking for

  • No of physical reads of buffers from disk on PROD and Clone has huge differ

    Please help ! I am having a problem interpreting a tkprof report. I am executing the same statement below in PROD and Clone of PROD. What I do not understand why the tkprof report shows huge difference in disk reads for same executions from PROD and

  • Lightroom: LR4 won't open - Unexpected error opening catalog

    I cannot open LR4. I get an, "Unexpected error opening catalog. The catalog could not be opened due to an unexpected error." This occurred after a WIN7 update failed.  It restored the system to an earlier version.  In doing so, it also reverted LR4.2

  • DataGuard- Role Transition

    Hi, I have physical standby implemented on my oracle 10g database. When I create a temporary tablespace in primary database, it doesn't gets created in standby database. What will happen if I give a switchover or failover ? Version:- Oracle 10g 10.2.

  • Need help on hierarchy

    Hi, In hierarchy tab for object there is "Maintain hierarchies" button can anyone please let me know what is the use of that button "Maintain hierarchies" & how this useful. Thanks & Regards Sameer Khan

  • Release date of lumia Black update?

    Hello, I am using Lumia 920.Can anyone please the release of Lumia black update(GDR3) in INDIA?