Vertical Reporting against dimension

Hi,
My client has a dimension table that is 1:1 with fact table for demographic info of each fact record (i.e., Gender, Ethnicity, etc), having separate columns for each demographic.
On the reporting side, they want to show these categories and values vertically and pivot with year to show measures like this:
................................2008.....2009
Gender....Male..............123.......456
.............Female...........123.......456
Ethnicity..White.............123.......456
.............Black.............123.......456
.............Asian............123.......456
Problem is there is no 'Category' column, and also these values for each category are in separate columns. Is there a way to do this report in Answers or RPD? If not, is there anything that can be done to the data model without increasing the number of rows?
Thanks

If the categories are not too many (for example 3 or 4) and composed by 2 fields with the same format (varchar)
You can use in Answers the option "Combine with similar Request"
So your answer will be:
select 'Gender', Dim.gender,Year, qty
Combine with similar Request
select 'Ethnicity', Dim.Ethnicity,Year, qty
Then you will have to do the pivot table...
Edited by: Francesco on Aug 10, 2010 3:43 PM

Similar Messages

  • Questions on OBIEE reporting against transactional Database

    Hello guys
    I have a situation where I have to bring in 5 tables from transactional database to do reporting on.. I looked at the tables, there are not typically dimension or fact tables. Each table contains information very specifically, at the same time all tables have numeric values that needed to be aggregated at the lowest level of that table..
    I can join all these 5 tables together knowing the key columns. However, this is basically joining 5 tables with fact measures... Since this is transactional database which we don't own, so I can't create views nor changing the table structures..
    I wonder how would I be able to configure such model in OBIEE?
    Any thoughts?

    Thank you for the reply..
    The specific situation I have here is:
    I have 4 tables that I am polling directly from the4 store's cash register (Oh yea, real real time), they are customer, receipt line, receipt header, inventory,
    The physical join is: they are customer-----> receipt line<-----receipt header <------------inventory...
    In the BMM layer, each of these 4 tables have columns that should be measures, such as customer.customer credit limit, receipt line. quantity, receipt header. reciept tendered, inventory.quantity on hand... They are more measure columns from each table, but I am just listing one from each..
    In this case if i set the aggregation rule on each column, then the BMM model won't a star schema anymore because every table can be fact..
    I thought about adding all the measure columns into 1 logical fact table, which then the logical fact will have 4 LTS: customer, Re Line, Re Header, Inv.. This will be fine if I am only dealing with 1 store... However, in reality there will be 50 stores with the same exact tables/structures but on different servesr. Therefore, the logical fact will end up with 4*50 = 200 LTS each has fragmentation defined "store number = NYC or something else"..
    Just wondering if combining all the measures in one logical table is the only way to model this design or not? What would be the best thing to do if in this situation I have to report against multiple data source of the same tables in 1 subject area?
    Please let me know your thoughts..
    Thank you

  • Creating a Vertical report

    Hi
    I have an SQL query that returns data like this
    Col1 Col2
    text1 1234
    text2 4321
    I have created a report region based on the SQL query, and using the builtin report template "default vertical report, look1",. This shows the data like this:
    Col1 Text1
    Col2 1234
    Col1 text2
    Col2 4321
    But what I want is this:
    Col1 Text1 Text2
    Col2 1234 4321
    In other words, I want all the rows from the query to be displayed vertically, across the page. Is this in any way possible?
    I have looked into creating a custom report template, but having been able to figure it out. The Apex users guide, is quit silent on how to do this.
    Regards, and thanks in advance for any help
    Søren

    Smors,
    Here is a package that will let you create pivot results whatever the table is. You might have to change the size of the variables to suit your needs ...
    CREATE OR REPLACE PACKAGE PIVOT AS
    TYPE REFCURSOR IS REF CURSOR;
    TYPE ARRAY IS TABLE OF VARCHAR2(30);
    PROCEDURE PIVOT (P_MAX_COLS IN NUMBER DEFAULT NULL,
    P_MAX_COLS_QUERY IN VARCHAR2 DEFAULT NULL,
         P_QUERY IN VARCHAR2,
         P_ANCHOR IN ARRAY,
         P_PIVOT IN ARRAY,
         P_CURSOR IN OUT REFCURSOR );
    END;
    SHOW ERRORS
    CREATE OR REPLACE PACKAGE BODY PIVOT AS
    PROCEDURE PIVOT (P_MAX_COLS IN NUMBER DEFAULT NULL,
    P_MAX_COLS_QUERY IN VARCHAR2 DEFAULT NULL,
              P_QUERY IN VARCHAR2,
              P_ANCHOR IN ARRAY,
              P_PIVOT IN ARRAY,
              P_CURSOR IN OUT REFCURSOR ) AS
    L_MAX_COLS NUMBER;
    L_QUERY LONG;
    L_CNAMES ARRAY;
    BEGIN
    IF (P_MAX_COLS IS NOT NULL) THEN
         L_MAX_COLS := P_MAX_COLS;
    ELSIF (P_MAX_COLS_QUERY IS NOT NULL) THEN
         EXECUTE IMMEDIATE P_MAX_COLS_QUERY INTO L_MAX_COLS;
    ELSE
    RAISE_APPLICATION_ERROR (-20001, 'Cannot figure out max cols');
    END IF;
    -- NOW CONSTRUCT THE QUERY THAN CAN ANSWER THE QUESTION FOR US...
    -- START WITH THE C1,C2 ... CX COLUMNS
    L_QUERY := 'SELECT ';
    FOR I IN 1..P_ANCHOR.COUNT LOOP
    L_QUERY := L_QUERY || P_ANCHOR(i) ||',';
    END LOOP;
    -- NOW ADD IN THE C(x+1)... CN COLUMNS TO BE PIVOTED
    FOR i IN 1..L_MAX_COLS LOOP
    FOR j IN 1..P_PIVOT.COUNT LOOP
    L_QUERY := L_QUERY ||
         'MAX(DECODE(RN,'||i||','||
    P_PIVOT(J)||',NULL)) ' ||
    P_PIVOT(J)||'_'||i||',';
    END LOOP;
    END LOOP;
    -- NOW JUST ADD IN THE ORIGINAL QUERY
    L_QUERY := RTRIM(L_QUERY,',')||' FROM ('||P_QUERY||') GROUP BY ';
    -- AND THEN GROUP BY COLUMNS...
    FOR I IN 1..P_ANCHOR.COUNT LOOP
    L_QUERY := L_QUERY || P_ANCHOR(i) ||',';
    END LOOP;
    L_QUERY := RTRIM(L_QUERY,',');
    INSERT INTO X_TAB VALUES (L_QUERY);
    COMMIT;
    -- AND RETURN IT
    EXECUTE IMMEDIATE 'ALTER SESSION SET CURSOR_SHARING = FORCE';
    OPEN P_CURSOR FOR L_QUERY;
    EXECUTE IMMEDIATE 'ALTER SESSION SET CURSOR_SHARING = EXACT';
    END;
    END;
    SHOW ERROR
    BEGIN
    PIVOT.PIVOT(
    P_MAX_COLS_QUERY => 'SELECT MAX(COUNT(*)) FROM EMP GROUP BY DEPTNO,JOB',
    P_QUERY => 'SELECT DEPTNO,JOB,ENAME,SAL,ROW_NUMBER() OVER
         (PARTITION BY DEPTNO,JOB ORDER BY SAL,ENAME ) RN
    FROM EMP A',
    P_ANCHOR => PIVOT.ARRAY ('DEPTNO','JOB'),
    P_PIVOT => PIVOT.ARRAY ('ENAME', 'SAL'),
    P_CURSOR => :X );
    END;
    Keep Smiling,
    Bob R

  • How to create a vertical report

    I am new to Application Express. I am trying to create some basic financial reports using it (e.g. Income Statement, Balance Sheet). Typically, these reports are organized vertically where each quarter's financial data is displayed as a separate column. Can someone point me in the right direction on how to create these types of reports using Application Express?
    I did play with the "vertical report, look 1" report template. When I used this each record was oriented vertically instead of the default horizontal orientation, but the records appeared in individual tables instead of one large table with multiple columns.
    Here is an example of the type of report I am trying to create: http://finance.yahoo.com/q/is?s=ORCL
    Thanks in advance.

    Hi Jim,
    You can do this if you create a custom Row Template. I don't have your tables, so the following is based on:
    SELECT ENAME, SAL, COMM FROM EMP ORDER BY 11 - Go to Shared Components, Templates
    2 - Click Create
    3 - Select Report
    4 - Select From Scratch
    5 - Enter a name for the template, select any template class (eg, Custom 1) and select "Named Column (row template)"
    6 - Click Create
    Now edit the template and use the following settings:
    Row Template 1
    &lt;td align="right" style="width:200px;"&gt;#1#&lt;br&gt;#2#&lt;br&gt;#3#&lt;br&gt;&lt;/td&gt;Before Rows
    &lt;table&gt;
    &lt;tr&gt;
    &lt;td align="right"&gt;Name&lt;br&gt;Salary&lt;br&gt;Commission&lt;/td&gt;After Rows
    &lt;/tr&gt;
    &lt;/table&gt;The pagination settings can be copied from a report template of your choice
    Attach the new template to your report and run the page. The Before Rows html will be rendered first, then for each "row" in the report a new TD cell is created with all the data for that "row" (note that #1#, #2# and #3# refers to columns 1, 2 and 3 - so, in this example, that's ENAME, SAL and COMM respectively) and, after the maximum number of rows per the report settings has been reached, the After Rows html is added, thereby completing the row.
    Obviously, you'll have to add in your own styling and change the above to suit your specific needs, but that should give you a starting point.
    Andy

  • Issue Importing measures against dimensions loaded via SSIS

    Hi,
    We are new to BPC and currently working in a test environment.  We are having issues with importing measure data against dimensions that we are attempting to automate via SSIS.  I will apologize in advance for the long post, but want to give as many details as possible.
    Here is the scenario:
    We installed BPC v. 5.1 SP1 on SQL Server 2005, but have since installed SP2 and SP3.
    We created our own app set as a copy of AppShell.  We added some user defined dimensions and created a custom application as a copy of Finance.
    For initial testing, we loaded members into all dimensions via the Admin console and the Excel member sheets.  We also used the Import function in data manager to upload measure data into our custom application.
    We are now trying to automate the population of members for some of our dimensions (Entity and 4 user defined dimensions).  
    All of our data is mastered in SAP (we're on ERP 2005/ECC 6.0) with replications to our BI system (7.0).  We are using custom ABAP programs to create flat files for 3 of the dimensions.  For 2 dimensions, we are extracting from BI via Open hub.
    We have created SSIS packages to load data from the files into the relevant mbr tables.  We're taking things one step at a time and currently are processing the dimensions manually via the Admin Console - making sure that "Process members from member sheet" is unchecked.
    In our first attempts at loading dimension data via the SSIS package, we tried loading only a subset of the member data (forgetting about the measure data that had previously been loaded).  Because we were missing members in the load files for which measure data existed, we received data integrity errors upon processing the dimensions.  Once we loaded the full member data, the dimensions processed successfully.
    Our issue comes now when we're again importing measure data.  Before starting to "automate" our dimensions, I had successfully loaded several months worth of measures.  I had also tested clearing out one month of data.  Now, I am trying to reload that month of measure data.  I am using the same file as I had used previously, but the Import function is now rejecting all records.  The dimension members it is rejecting are valid dimension members, but they are all from dimensions we are attempting to automate.
    Has anyone encountered an issue like this before?  Even if you haven't, do you have any thoughts on what our issue might be?  Any help would be greatly appreciated!
    Thanks!
    Shannon

    There actually could be a couple different things.  The processing of the dimension could have encountered an error and therefore did not update the sql dim table association with the dimension.  You should check to see if the dimDIMENSION sql table actual have any members in it and if the members you are trying to load to are there.  If there were any errors in processing the mbr table the dim table will be empty.
    Also the automated update could have added extra character to the member name such as a trailing space which would actually make the dimension member name different than what is in the membersheet.
    In your automated dimension update, it would be a good idea to update the membersheet as well as the mbr sql table.  Then you can process the dimension from the sheet in the admin tool to troubleshoot any errors in your memberset. 
    - Sara

  • Error (WIS 10901) while creating a webi report against SAP data source

    Hi,
    While creating a webi report against a universe created using Infocube/Bex query (basically SAP data source) get a error message -
    A database error occured. The database error text is: A runtime exception has occured. (License key check failed. Check that you are licensed to access SAP data sources). (WIS 10901).
    Any clues whether this is a license issue or something else?
    Thanks,
    -Purav.

    >
    George Pertea wrote:
    > Does your connection in the Universe test ok on the server if you are on Win? Did you install the Java Connector properly?
    I am having the same problem.  I checked and double checked everything, including deleting and recreating the Universe and the Connection.  No improvement.  On a whim, I deleted the hierarchy from the query on which the Universe was based, and recreated the Universe on the query without the hierarchy.  The problem went away.
    Now, the question is, why do I get the WIS 10901 error when a hierarchy is present in the query/Universe?

  • Crystal Report against ECC 6.0 with SSO configured

    I created a simple report against the ECC 6.0 Article table and saved it to InfoView. I can run the report fine, but when others run it they get an error stating the logon parameters are incomplete. We are in the process of configuring single sign on and have created other Crystal Reports going against ECC 6.0 with Business Views where SSO turned on in the data connection. Everyone can refresh those reports with no problems. Is their some report setting that needs to be set for Crystal Reports using a data source directly against ECC 6.0 tables?

    We have multiple reasons for implementing SNC.
    The main reason we have enabled SNC is to simply the users experience while working in the SAP environment. We are going live this month with Plant Maintenance, SRM, Project System, General Ledge and Asset Management reporting cubes in our BW environment as well as in our ECC 6.0 environment. We have  set up SAP Portal and have created iviews to BOBJ folders and reports. Users are authenticated once by logging on to the Lan. Once logged on we would like them to seemlessly run SAP transactions and Business Objects reports through the SAP Portal based on their job function. Each user has security setup in BOBJ and SAP to allow access to transactions and reports appropriate for their job function.
    We have three types of SAP reports and data connectors.
    - One set of Crystal reports go against ECC 6.0 through Business Views with a Data Connection set up for SSO.
    - One set of WEBI reports goes against BW queries though Universe Connections set up for SSO.
    - One set of Crystal reports go directly against ECC 6.0 tables.
    We currently have two issues:
    1) The Crystal reports going directly against ECC 6.0 tables are returning the error
         Error - The database logon information for this report is either incomplete or incorrect.
    2) When we send a link to any report using OpenDocument if the user is not logged on to InfoView they get a rather long error message:
    Account Information not recognized: Active Directory Authentication failed to log you on. Please contact your system admin.... 
    Our hardware and server setup is a load balancer connected to a cluster of two Tomcat servers connected to two BOBJ servers.

  • Vertical report cell with multiple values

    I have a database table that looks something like this:
    Order_ID Product_Name
    .....1................X.........
    .....1................Y.........
    .....1................Z.........
    Right now, when I create a vertical report using one of the provided templates and use groupings the report comes out like this:
    Order ID: 1
    Product Name: X
    Product Name: Y
    Product Name: Z
    I am trying to create a verticle report that looks something like this instead:
    Order ID: 1
    Product Names: X, Y, Z
    Is there a way to do this by creating a custom report template? If so could someone show me or point me to an example. If not, how would something like this be achieved?
    Thanks!
    - Brian

    With report template you can’t do that
    But create function that returns all the Product Name values in string

  • Can Oracle APEX access/report against an Oracle9i datbase?

    Can Oracle APEX access/report against an Oracle9i datbase? I know APEX has to be installed on Oracle 11g or 12c. I have a 11g environment to install it in, but I want to have ti read data from an existing 9i databasethat we are unable to upgrade at this time.

    APEX can create reports on any data that the database (which is running APEX) can access.
    This becomes a database question that is usually found in the General forum:
    How can an Oracle 11g database access data from an <place a name of a database here> database?
    One common answers:  Database Links.
    (Materialized Views and Golden Gate come to mind... but, again... these are database problems, not APEX problems.)
    I'll let others comment on the practicality of these solutions.
    MK

  • Report Template Help - Vertical report with multiple rows on the same line.

    I am tearing my hair out trying to figure a way to do this. I want a vertical report, but with the rows across the page rather than down it.
    e.g.
    ROW1    ROW2    ROW3    ROW4   ROW5
    ROW1    ROW2    ROW3    ROW4   ROW5
    ROW1    ROW2    ROW3    ROW4   ROW5
    ROW1    ROW2    ROW3    ROW4   ROW5
    ROW1    ROW2    ROW3    ROW4   ROW5
    ROW1    ROW2    ROW3    ROW4   ROW5
    ROW1    ROW2    ROW3    ROW4   ROW5
    ROW1    ROW2    ROW3    ROW4   ROW5Has anyone managed to do this?

    Use a custom named column report template. The template could generate either:
    <li> a table with one physical <tt>tr</tt> row, with your "columns" being the logical "rows" of the report rendered as the <tt>td</tt>s within the row
    <li> a list of lists using CSS to render them side-by-side via <tt>float</tt> or <tt>inline-block</tt> (Some examples of similar techniques)

  • Creating vertical reports with alternating colored rows

    I wanted to create a vertical report with alternating colored rows. Creating a vertical report template was not a problem but I am not able to use different bgcolor for alternating rows.

    As I mentioned above, I used the follwoing code to generate the vertical report BUT i could not get the alternating rows in a diffrent color:
    Before Rows:
    <table class="default2">
    Before Each Row:
    OMIT
    Column Template 1
    <tr><td bgcolor="#CCCC99" width="200"><font color="#336699" #ALIGNMENT#><b> #COLUMN_HEADER#</td> <td width="500">#COLUMN_VALUE#</td></tr>
    Column Template 1 Condition
    Use for Odd rows
    Column Template 1
    <tr><td bgcolor="#CCCC99" width="200"><font color="#336699" #ALIGNMENT#><b> #COLUMN_HEADER#</td> <td bgcolor="#FFFFFF" width="500">#COLUMN_VALUE#</td></tr>
    Column Template 1 Condition
    Use for Even rows
    After Each Row
    OMIT
    After Rows
    </table>

  • Reporting Attribute dimension on Planning Database in HFR

    Can you report attribute dimension values in Hyperion Financial Reports when connection to the Planning database connection? I am not seeing Planning Details as an option in HFR as only Planning appears. Is there something that I'm missing? I would like to report Smart List alphanumeric values on HFR but also be able to pull in the attribute dims, yet that doesn't seem possible.

    Hi Alex
    That sounds like a bug, I have used attribute dimensions in reporting lots of times in earlier versions and I'm sure that some of those used planning rather than essbase connections. I've not read the documentation around the subject so can't be sure but it sounds pretty fundamental so I'd be surprised if not a bug.
    Worth doing a bit of digging on Oracle support or in the readme files or even raising an SR if you have that option.
    Regards
    Stuart

  • Converting Vertical Reports to PDF

    Hi all,
    I created a vertical report on a table because there are many columns in that table. I am trying to convert that table to a PDF file. However, the built in printing capability doesn't seem to support printing vertical reports, it only prints the table in horizontal format, which is not what I want.
    Is there any way to help me achieve what I want to do?
    Thanks!

    Shared components, Report Layouts, Create, Generic Columns (is an easier layout..) Then you give it a name.. You will need to either know ho wto format the xsl-fo or buy a tool to do the visual layout for you..
    That is why BI Publisher is such a blessing...
    Thank you,
    Tony Miller
    Webster, TX
    A lady came up to me on the street, pointed at my suede jacket and said "Do you know a cow was murdered to make that jacket?"
    "I didn't know there were any witnesses", I replied " Now I'll have to kill you too"

  • Anyone have the XSL-FO for default: vertical report, look 2

    Hello everyone,
    I have a report with the default: vertical report, look 2 used to display the data. I want to export this as a PDF.
    The only option I have is "default", and that gives me a single row of header and data, that over-runs the buffer.
    I want to export the PDF in the same format. Does anyone have the XSL-FO for default: vertical report, look 2?
    Thanks!!

    Why did you continue the process of purchasing the accessories and phone if you could have proved the phone did work by going home and charging the device? That is not the reps job. You need to come prepared to the store if you want to get the most for the trade in.
    Any who here ya go:
    Verizon Communications Inc.
    140 West St
    New York, NY 10007

  • Web-Intelligence Reports against Access Database

    We are unable to run Web-Intelligence reports against Microsoft Access Database which resides on a network drive
    Able to create Unvierse, and Universe Connection to the Access Database through ODBC, but unable to run Web-I reports, when tried we get the following error
    A database error occured. The database error text is: [Microsoft][ODBC Microsoft Access Driver] '(unknown)' is not a valid path.  Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.. (WIS 10901)
    Did anyone tried to develop Web-I reports from Access database on a network drive, if so I request you to provide us details and your findings
    Thank you

    We run the designer on the same machine where BOBJ runs and also on other client machines, from disigner it works fine,
    The service account which is used to run BO Application Services has full control access to the network location and folder where the database resides
    We can run / refresh Desk-I and Web-I rich client but cannot run web-i reports against access database
    Thanks
    Sreekanth Pinnam
    Edited by: Sreekanth Pinnam on Jul 9, 2009 2:07 PM

Maybe you are looking for

  • How do I add an Apple ID to my ipad?

    I was instructed how to monitor my son's imessages by adding his apple account to my ipad..my apple account comes up ..the option to add an account wasn't there when I tried in settings...what am I doing wrong?

  • How to delete multiple process at a time in a Process chain

    Hi, Is there any option to delete multiple processes at once in a Process chain in BI 7.0 ?

  • Bootcamp W7 on MacBook Air issue, iPad sync

    ***I have a MacBook Air with Bootcamp 3.x/Windows 7 32bit.*** I installed iTunes (latest release) yesterday in hopes to sync iPad. I logged into iTunes. I connected iPad, and it was recognized by iTunes. I went to sync iPad with iTunes, and iTunes be

  • IPhoto 09 (from iLife 09)

    Up to my last upgrade to iPhoto 09 (offered online by Appple) iPhoto ran just fine on my G5, (PC chip - non intel). IMMEDIATELY after the upgrade, iPhoto will display all events and folder, BUT if I select PHOTOS. ie all pics), my G5 goes into a spin

  • Using expdp/impdp to backup schemas to new tablespace

    Hello, I have tablespace A for schemas A1 and A2, and I wish back up these schemes to tablespace B using schema names B1 and B2 (so the contents of schemas A1 and A2 are copied into schemas B1 and B2, respectively, to use as backups in case something