Pivot table without any measure columns

Hi,
I have a requirement where all my report columns are from Dimension tables and i have no measure to display in the report.
But I need to create a Pivot table view for this requirement.
Can someone help me how to represent results in Pivot Table view without measure columns
Thanks in Advance.

Hi Sri,
Try this it will work.
Add a dummy column in your measure section.
then in pivot view --> measure section --> dummy column -->more options -> format heading -->custom css style --> mark use custom css and give display:none
and
more options -> format measure values -->custom css style --> mark use custom css and give display:none
Thanks
Diney

Similar Messages

  • Combining two tables without any distinct columns between them

    Folks,

    Hi sidy2j,
    According to your description, we need to verify your table structures, and the actual results which you want to get from your tables. Please post more information for analysis.
    Assume, if you want to a one to one record mapping between  two tables without any common column between them for joining, you can refer to the following scripts to implement your requirement. For more information, see:
    http://sqlhints.com/2013/09/07/joining-two-tables-without-any-common-column-between-them-sql-server/
    If you want to match every row in the first table with every row in the second table, you can refer to the following detail.
    http://stackoverflow.com/questions/1198124/combine-two-tables-that-have-no-common-fields
    Hope it can help you.
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Remove column heading in a pivot table without columns

    I have a pivot table which only has rows and measures. But It doesn’t have any column.
    It shows at the top a light grey cell (see attached image https://drive.google.com/file/d/0B1mQC-zTrijUSmtXWEFEaHB1cEU/edit?usp=sharing
    How could I remove that?
    Column properties – labels of column are already disabled.
    OBIEE 11.1.1.7.0
    Regards,
    Víctor

    Hey Victor,
    I'm unable to view that file also...
    Just curious, if you don't have anything in the column section of the pivot, why not just use a table?
    If this is going onto a dashboard the quick and dirty approach is just to make a small CSS change, just throw something like the following into a text object.
        <style>
          .PTCHC0 {border:0px; background-color: #FFFFFF; background-image:none;}
        </style>
    JB

  • How to make a layer from the ADF pivot table invisible , show-hide column-row-data

    Hello all ,
    I need to create a pivottable with ADF 12c for reporting purposes.
    I have a table or view with 10 items of type VARCHAR2 , C1,C2,C3,C4,C5,C6,C7,C8,C9,C10  and   10 items of type NUMBER N1,N2,N3,N4,N5,N6,N7,N8,N9,N10
    The items of type VARCHAR2 are for Column and Row areas and the items NUMBER are for Data Areas
    I want to create a jsf page with one empty pivottable and in code Show or Hide the items in the Column area , Row area , Data area
    Con you send me a small sample ?
    I test with this code that i find in oracle OTN but not work.
    <dvt:pivotTable id="pt2" value="#{bindings.WebPivotDataView1.pivotTableModel}" var="cellData"
    varStatus="cellStatus" splitMode="enabled"
    binding="#{backingBeanScope.CmfPivotBean.pivotTable}"
    >
    <dvt:headerCell>
    <af:switcher facetName="#{cellData.layerName}" defaultFacet="Default" id="s1">
    <f:facet name="DataLayer">
    <af:outputText value="#{cellData.label}" id="ot1"/>
    </f:facet>
    <f:facet name="C01">
    <af:outputText value="#{cellData.dataValue}" id="ot2"/>
    </f:facet>
    <f:facet name="Default">
    <af:outputText value="#{cellData.dataValue}" id="ot3"/>
    </f:facet>
    </af:switcher>
    </dvt:headerCell>
    <dvt:dataCell>
    <af:switcher facetName="#{cellStatus.members.DataLayer.value}" defaultFacet="Default" id="s2">
    <f:facet name="N01">
    <af:outputText value="#{cellData.dataValue}" id="ot4">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.WebPivotDataView1.hints.N01.format}"/>
    </af:outputText>
    </f:facet>
    <f:facet name="Default">
    <af:outputText value="#{cellData.dataValue}" id="ot5"/>
    </f:facet>
    </af:switcher>
    </dvt:dataCell>
    </dvt:pivotTable>
    DCBindingContainer bindingContainer = (DCBindingContainer)ADFContext.getCurrent().getRequestScope().get("bindings");
    CubicBinding cubicBinding = (CubicBinding)bindingContainer.findCtrlBinding("WebPivotDataView1");
    CubicEditor cubicEditor = cubicBinding.getCubicEditor();
    cubicEditor.removeLayer(DataDirector.ROW_EDGE, 0); //remove 1st row edge
    cubicEditor.removeLayer(DataDirector.COLUMN_EDGE, 0); // remove 1st column edge
    cubicEditor.removeDataItem(0);
    CubicDefinition def;
    def = cubicBinding.getProjection();
    LayerDefinition layerDefinition = new LayerDefinition("C3");
    cubicEditor.addLayer(DataDirector.ROW_EDGE, 0, layerDefinition);    
    LayerDefinition layerDefinition2 = new LayerDefinition("C4");
    cubicEditor.addLayer(DataDirector.COLUMN_EDGE, 0, layerDefinition2);
    DataItemDefinition def3 = new DataItemDefinition("N1");
    cubicEditor.addDataItem(def3);
    AdfFacesContext.getCurrentInstance().addPartialTarget(pivotTable);
    Can you help me if is possible to create a pivottable binding to a one ViewObject and in code show/hide or compose the layout of the pivottable ??
    I search in google and OTN oracle and not find any code.
    Only find the code of the samples that is very complex for me , the code of the samples create the PivotTableModel from one Array , and i want to binding from one ADB BC ViewObject.
    Thanks in advance

    The solution I presented for your use case an DOAG 2013 was to create a pivot table binding out of user defined attributes from the table. For the defined attributes a VO is dynamically created as well as the pivot binding. The pivot binding is then exchanged at runtime together with the activation of the dynamic VO needed to only get the data needed for the particularly pivot table.
    Your solution using the CubicEditor is hard to implement due to the missing documentation. This was the reason I did not follow this approach, However it's not impossible (done it on a very small scale).
    None of the solution are what I call simple. They are complicated, complex and in part not supported solution (exchanging the pivot table binding at runtime need to use internal classes, which is not supported).
    I can't give you a working sample as it's too complex. I can make the slides available, however they are in German.
    Timo

  • Query to get the data of all the columns in a table except any one column

    Can anyone please tell how to write a query to get the data of all the columns in a table except one particular column..
    For Example:
    Let us consider the EMP table.,
    From this table except the column comm all the remaining columns of the table should be listed
    For this we can write a query like this..
    Select empno, ename, job, mgr, sal, hiredate, deptno from emp;
    Just to avoid only one column, I mentioned all the remaining ( 7 ) columns of the table in the query..
    As the EMP table consists only 8 columns, it doesn't seem much difficult to mention all the columns in the query,
    but if a table have 100 columns in the table, then do we have to mention all the columns in the query..?
    Is there any other way of writing the query to get the required result..?
    Thanks..

    Your best best it to just list all the columns. Any other method will just cause more headaches and complicated code.
    If you really need to list all the columns for a table because you don't want to type them, just use something like...
    SQL> ed
    Wrote file afiedt.buf
      1  select trim(',' from sys_connect_by_path(column_name,',')) as columns
      2  from (select column_name, row_number() over (order by column_id) as column_id
      3        from user_tab_cols
      4        where column_name not in ('COMM')
      5        and   table_name = 'EMP'
      6       )
      7  where connect_by_isleaf = 1
      8  connect by column_id = prior column_id + 1
      9* start with column_id = 1
    SQL> /
    COLUMNS
    EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,DEPTNO
    SQL>

  • Select from table without specifying the column list.

    I want to reference the columns in select list without specifing the column name of a table.
    For example i am having a table called emp(id number,name varchar2(30)).
    I want to write a query which will display the name of the employees.
    But i don't want to specify the column name in the select list.
    Can anybody help me in this regard.
    Thanks in advance.

    I want to write a query which will display the name
    of the employees.
    But i don't want to specify the column name in the
    select list.So what do you want to specify in the select list?
    One way to display the names of the employees without specifying that you want the names of the employees would be
    select * from emp

  • How to show two seperate pivot tables with one select column

    Hi All
    My client wishes to have two pivot tables, one showing positive results and the other showing negative results.
    For Example:
    DIMENSION
    BUSINESS A          1000
    BUSINESS B          500
    BUSINESS C          100
    DIMENSION
    BUSINESS A          -1000
    BUSINESS B          -500
    BUSINESS C          -100
    Is it possible to then select the different DIMENSION with one select column for both?
    Thanks

    Not sure I got it right try this
    for Number column pull twice and set col*-1
    use 2 pivot table for each number type
    cool as ~ http://cool-bi.com

  • Can a prompt be created without any reference column?

    Hi,
    here is my requirement..
    Prompts:
    ======
    Tested in ==> should display 3 values as date1, date2, date1&date2 in a dropdown. This column is not available in any of the tables. I have to hard code it.
    test Date1 ==> calender prompt
    test Date2 ==> calender prompt
    columns :
    ======
    product
    test date1
    test date2
    When I Select date1 in tested in prompt, the report should display values only for date1 and not date2. Likewise when date2 is selected in tested in prompt, the report should display values only for date2 and not date1. And when date1&date2 is selected the report should display records containing both date1 and date2.
    The date columns are present in my fact table. It contains 48 million records. I have created tested in column in the BMM layer. when i pulled the same in dashboard prompt, its taking much time and the server goes down after some time.
    If anyone has come across such requirement please let me know the approach
    Thanks.

    Hi,
    I think your requirement is similar as described here:
    http://obiee101.blogspot.com/2009/04/obiee-dynamic-prompt-content.html
    Regards,
    Stijn

  • How to create a Pivot table without aggregate function

    Dear team
    I have the following table. Follow the link to download SQL Script to create table
    https://drive.google.com/file/d/0B5nQIsvTifixV2Jkb043bVd2Zlk/view?usp=sharing
    I want to create a pivot or cross tab so that it appear like this
    LocationDesc
    >=360
    >=300
    >=270
    >=240
    <240
    Port Moresby
    John Aita
    Mawe Felix
    Augustine Eri Luke
    Joseph Aura
    Robert  ROAKEINA
    Port Moresby
    Ambane Gigmai
    Paul Dem
    Henry  Wanpis
    Tiniki Bau
    William Laki NIGINTS
    Port Moresby
    June Vutnamur
    Alphonse Waieng
    Rex TOMARA
    Mika OROMOIA
    Eveni Ekeni
    Mount Hagen
    Dominic Kouroi
    Senis Ospea
    JOSEPH KLAWA
    Peter WAI
    PHILIP JAMES
    Lae 
    Henry TIAS
    Mathew Dominic
    Jobert Idigel
    Wagi Jerry
    Christopher Bianta
    etc
    etc
    etc
    etc
    etc
    etc
    Marsh Narewec

    Hi Marsh,
    To achieve your requirement, you may reference the below query.
    --pivot the table to get the expected output
    ;WITH cte AS(
    SELECT *,ROW_NUMBER() OVER(PARTITION BY LocationDesc,BandGroup ORDER BY BandGroup) AS rn FROM [TmpBandGroup]
    SELECT LocationDesc,[>=360],[>=300],[>=270],[>=240],[<240]
    FROM cte
    PIVOT
    (MAX(EmployeeName) FOR BandGroup IN([>=360],[>=300],[>=270],[>=240],[<240])) PVT
    ORDER BY LOCATIONDESC
    --the pivot result can be validated with the queries below
    ;WITH cte AS(
    SELECT *,ROW_NUMBER() OVER(PARTITION BY LocationDesc,BandGroup ORDER BY BandGroup) AS rn FROM [TmpBandGroup]
    ,cte2 AS
    SELECT RN, LocationDesc,[>=360],[>=300],[>=270],[>=240],[<240]
    FROM cte
    PIVOT
    (MAX(EmployeeName) FOR BandGroup IN([>=360],[>=300],[>=270],[>=240],[<240])) PVT
    SELECT LocationDesc, COUNT([>=360]) [>=360] ,COUNT([>=300]) [>=300],COUNT([>=270]) [>=270],COUNT([>=240]) [>=240],COUNT([<240]) [<240]
    FROM cte2
    group by LocationDesc
    ORDER BY LocationDesc
    SELECT LocationDesc,bandgroup,COUNT(EmployeeName) FROM [TmpBandGroup] group by LocationDesc ,bandgroup
    ORDER BY LocationDesc,bandgroup DESC
    If you have any feedback on our support, you can click
    here.
    Eric Zhang
    TechNet Community Support

  • Workorders Wrongly created without any measurement documents entry in SAP.

    Gents,
    Issue :- Counter Based Prev Mnt plan is setup in 2007 with a strategy of cycle intervals(160, 600, 700, 2000, 2100 & 4200 Hour's)& Last counter readings were documented on 23.08.2012, No further entries or changes are made either in M.plan(29284) or Counter(24096), Checked the same via PM Tables. But on 01.02.2014 system has generated 3817 maintenance orders created by itself via scheduled background jobs.
    My doubt is we have maintained the Annual estimate reading as 7000Hr's in Measuring point 24096 - Does system calculates by itself w.r.t cycle intervals on Annual basis & generate the maintenance orders ??
    Let me know the root cause or suitable solution to resolve this in future M.plans..
    Thanks in Advance !
    Regards,
    Vishal Singh

    Maheswaran,
    Thanks for your Prompt Solution !
    I came through another issue in System - When we are setting an DLF or INAC on Equipments the attached M.plan is not automatically setting to INAC/DLF and Based on cycle frequency the work orders are generated for DLF/INAC equipments.
    Let me know if these any configuration setting required for this..
    Regards,
    Vishal Singh

  • Getting values from a table without any type

    Hi,
    I am having problem accessing the values of a table which does not have a type. When we go and check the type of the table, it is not mentioned.
    While debugging we found that the type of this particular table is deep structure. I tried using ASSIGN COMPONENT using field symbols, but reference is not getting assigned. The sy-subrc becomes 4.
    Is there any way to access the data in this table?
    Regards,
    Rishav

    It is actually a function module which is having this table in the TABLE declaration.
    Table Name : T_OUTTAB
    Long text :
    Interne Tabelle beliebiger Struktur, die die in Listenform auszugebenden Daten enthält.
    Diese Tabelle kann mehr Felder beinhalten als letztlich für die Listausgabe (Anzeigefelder u. Feldvorrat) relevant sind.
    Nur die im Feldkatalog und ggbf. in der Layoutstruktur genannten Felder werden für die Listausgabe herangezogen. Weitere Felder der internen Tabelle werden ignoriert.
    Im Feldkatalog kann dann über die Ausprägung des Feldes FIELDCAT-NO_OUT entschieden werden, ob ein Feld direkt auf der Liste ausgegeben wird oder ob dieses Feld zunächst in den Feldvorrat gestellt wird.
    Aus diesem Feldvorrat kann der Benutzer interaktiv die Anzeigefelder der Liste erweitern (und umgekehrt Anzeigefelder ausblenden).
    Wird die interne Tabelle im aufrufenden Programm ohne Kopfzeile definiert, so ist auf dem Listenkörper keine F1-Unterstützung möglich.

  • Wanting data from a table without a particular column

    I need the data from a table, except the data for a particular
    column. I don't want to write the select list, as it would be
    too clumsy for a large table. Can anybody suggest a solution. I
    can certainly create a view, but I don't want that.

    Hi,
    Try this select Statement.
    set haeding off
    set feedback off
    spool file.sql
    Select 'Select ' from dual;
    Select Column_name || ',' from all_tab_columns Where table_name = 'EMPLOYEE' and Column_Name != 'DEPARTMENT_ID';
    Select '1' from dual;
    select 'From Employee;' from dual;
    Spool off
    regards,
    Ganesh R

  • Tables without any entries in it.

    Hello experts,
    I am new to ABAP development environment.
    The following tables do not have any valid data in client 001. 
    The tables are :  MARA, BKPF, BSEG,EKKO,EKPO,VBAK,VBAP
    But i don't have the access to any other client...so can you please tell me how can i import the values to the tables for this client 001.
    Thanks in advance...

    hi anoop.
       since your devlopment server have no data for the above tables.. technically you cannot do anything ..
      we cannot test the progam until we get the data.. best thing is to ask your functional persons to create a test case.. coz testing program is done by them...
    move to next client and check if you have no test cases..
    or
    this methord is very complex and time consuming..
    go to client which is having data... ..download the table datas into differnt excel sheet...using gui_download ..etc..
    now from your client dev (havig no data)..upload the data into internal tables using gui_upload.
    when ever nessecary..
    this procedure,we dont use usallly.....
    regards,
    Safel

  • Af:table with any predefined column (dynamicaly build)

    I want to create a table but i don't know the number and name of the column.
    The user select the object attribute he wants to display in the table and the table his displayed dynamicaly with user selected object attributes.
    How to do this with af:table or backing bean ?

    A af:table, a Data Table is generated with the Create DataTable Wizard.
    In the Create DataTable Wizard either the number of coumns are required to be specified, or a data table may be created by binding a managed bean method which returns a List, ResultSet or an array.
    The number and name of columns are required to bind a data table with a List, result set or array and generate a data table.
    Generating a JSF Data Table section explains generating a data table from a method which returns a List.
    http://www.oracle.com/technology/pub/articles/vohra_hibernate.html
    The SQL query which generates the result set may be different. The number of columns in the result set are required to be the same.

  • Extra Measure/Column on Pivot Table

    Hi at all,
    i have a problem about the pivot table in obiee11g. I need an extra measure/column or a new table/pivot-table with new measures out of an other fact-table riht behind the first pivot table wich depends on the first pivot-table.
    Thx

    Pull columns from both fact-tables, create 2 pivot tables.
    Pivot table 1 is with 1st fact table and exclude measures from other fact table.
    Pivot table 2 is with 2nd fact table and exclude measures from 1st fact table.
    Add 2 Pivot views in the analysis
    If it is helpful, please mark as correct or helpful
    If this not helped, let us know in detail with columns for both pivot tables

Maybe you are looking for

  • Print part of a range of pages

    I have a .docx document that is 23 pages long but I only want to print 1 or 2 pages from it as a test. In Snow Leopard the print dialog box allowed the selection of which pages with no problem, In Lion, the same dialog box seems to have no effect on

  • Imac intel memory

    hi just purchased a imac intel with 512mb memory,wanted at least another 512mb but the apple store doesnt stock it yet and nobody else stocks it like best buy,compusa.so my question is the imac takes pc5300 ddr2 200 pin notebook memory will pc4700 dd

  • Runtime Dump

    hi Can this group help me with this error. I am unable to transact anything in SAP ECC . If i create an order, i get this dump or if do a F1 or F4 i get this dump What happened?     The current ABAP/4 program had to be terminated because the     ABAP

  • Tab canvas with required fields (problem)

    hi, I am using tab canvas with 5 tabs with diff blocks. receive issue adjust return view some fields are required in all tabs. when i run the form and in RETURN TAB and enter some data and click the save button the cursor goes to receive tab and focu

  • A question about local inner classes

    Suppose an inner class created in a method: public void thisMethod(final int a){              class InnerClass {                //code }Why, in order to use the parameter a in the inner class, I have to pass it final?