Pivot table problem

create table mytable
name varchar2(50),
surname varchar2(50)
insert table mytable values('mary','john')
insert table mytable values('mary','baby')
insert table mytable values('mary','lady')
insert table mytable values('sean','kate')
insert table mytable values('sean','terry')
insert table mytable values('kate','tom')
insert table mytable values('kate','lary')
my query result is
name    surname
mary john
mary baby
mary lady
sean kate
sean terry
kate tom
kate lary
i want like this
mary   sean     kate
john kate tom
baby terry lary
lady
this is not the all data.
the data is changable.there are 3 name like john 2 name like sean 2 name lik kate and there will be 5 name like paul....i want name like column and surname like data..
thanks for your helps....

Hi,
Try this:
WITH     number_rows     AS
     SELECT     name
     ,     surname
     ,     ROW_NUMBER () OVER
               (     PARTITION BY     name
                    ORDER BY     surname
               )     AS r_num
     FROM     mytable
SELECT     r_num
,     MAX (CASE WHEN name = 'mary'     THEN surname END)     AS mary
,     MAX (CASE WHEN name = 'sean'     THEN surname END)     AS sean
,     MAX (CASE WHEN name = 'kate'     THEN surname END)     AS kate
FROM     number_rows
GROUP BY     r_num
ORDER BY     r_num;The output isn't quite what you requested:
.    R_NUM MARY       SEAN       KATE
         1 baby       kate       lary
         2 jon        terry      tom
         3 ladyYou don't have to display r_num: I showed it just to make things easier to understand.
If the output should really include 'john' rather than 'jon', and/or if it needs to appear above 'baby' rather than below it, then please explain.
If the names in the columns ('mary', 'sean' and 'kate' in your sample data) need to be determined at run-time, then you need dynamic SQL to generate a statement like the one above.
The script below shows one way of doing that in SQL*Plus.
How to Pivot a Table with a Dynamic Number of Columns
This works in any version of Oracle
The "SELECT ... PIVOT" feature introduced in Oracle 11
is much better for producing XML output.
Say you want to make a cross-tab output of
the scott.emp table.
Each row will represent a department.
There will be a separate column for each job.
Each cell will contain the number of employees in
     a specific department having a specific job.
The exact same solution must work with any number
of departments and columns.
(Within reason: there's no guarantee this will work if you
want 2000 columns.)
Case 0 "Basic Pivot" shows how you might hard-code three
job types, which is exactly what you DON'T want to do.
Case 1 "Dynamic Pivot" shows how get the right results
dynamically, using SQL*Plus. 
(This can be easily adapted to PL/SQL or other tools.)
PROMPT     ==========  0. Basic Pivot  ==========
SELECT     deptno
,     COUNT (CASE WHEN job = 'ANALYST' THEN 1 END)     AS analyst_cnt
,     COUNT (CASE WHEN job = 'CLERK'   THEN 1 END)     AS clerk_cnt
,     COUNT (CASE WHEN job = 'MANAGER' THEN 1 END)     AS manager_cnt
FROM     scott.emp
WHERE     job     IN ('ANALYST', 'CLERK', 'MANAGER')
GROUP BY     deptno
ORDER BY     deptno
PROMPT     ==========  1. Dynamic Pivot  ==========
--     *****  Start of dynamic_pivot.sql  *****
-- Suppress SQL*Plus features that interfere with raw output
SET     FEEDBACK     OFF
SET     PAGESIZE     0
SPOOL     p:\sql\cookbook\dynamic_pivot_subscript.sql
SELECT     DISTINCT
     ',     COUNT (CASE WHEN job = '''
||     job
||     ''' '     AS txt1
,     'THEN 1 END)     AS '
||     job
||     '_CNT'     AS txt2
FROM     scott.emp
ORDER BY     txt1;
SPOOL     OFF
-- Restore SQL*Plus features suppressed earlier
SET     FEEDBACK     ON
SET     PAGESIZE     50
SPOOL     p:\sql\cookbook\dynamic_pivot.lst
SELECT     deptno
@@dynamic_pivot_subscript
FROM     scott.emp
GROUP BY     deptno
ORDER BY     deptno
SPOOL     OFF
--     *****  End of dynamic_pivot.sql  *****
EXPLANATION:
The basic pivot assumes you know the number of distinct jobs,
and the name of each one.  If you do, then writing a pivot query
is simply a matter of writing the correct number of ", COUNT ... AS ..."\
lines, with the name entered in two places on each one.  That is easily
done by a preliminary query, which uses SPOOL to write a sub-script
(called dynamic_pivot_subscript.sql in this example).
The main script invokes this sub-script at the proper point.
In practice, .SQL scripts usually contain one or more complete
statements, but there's nothing that says they have to.
This one contains just a fragment from the middle of a SELECT statement.
Before creating the sub-script, turn off SQL*Plus features that are
designed to help humans read the output (such as headings and
feedback messages like "7 rows selected.", since we do not want these
to appear in the sub-script.
Turn these features on again before running the main query.
*/

Similar Messages

  • Excel containing pivot table - Problem when opening

    Hi,
    There is jsp that generates an excel with few pivot tables in it. In the open/save dialog, if I save the excel and open it, it displays fine but if it is opened up directly, it gives an error saying "Reference is invalid".
    Note: The range for the pivot tables are specified using named ranges ( data is in different sheet from that of the pivot table ) ... but it works fine if saved and reopened.
    just confused of this behaviour... any ideas would be greatly appreciated...
    Regards...

    This seems to be a bug with the Excel. This works fine with Netscape and also should work fine with other browsers. In IE, the temp file is created with a file name that ends with a square bracket at the end( eg. myExcel[1].xls ) and this is contrary to the file naming convention of ms-excel ( should not contain '[' or ']' ).
    Only solution is, open the excel file as inline...
    response.setHeader("Content-Disposition", "inline; filename = myExcel.xls");Please advice if my perception is wrong or is there any other work around for this? I have tried using all types of headers when sending the response but nothing helps.
    To check this,
    Create an excel file and try to save it with a file name that contains square brackets...
    Regards...
    Edited by: Praveeen on Jun 27, 2008 1:36 AM

  • Pivot table problem. Please help me create this report

    Hi friends..I'm new to OBIEE. We can create the grand total column in pivot table. I need grand total as well as Grand average. How can I create a new column in pivot table that is same as grand total but calculates average.
    My table structure is like this.
    Facility......Date........totaldays
    A..........01/01/08......210
    B..........01/01/08......215
    C..........01/01/08......917
    A..........02/01/08......211
    B..........02/01/08......211
    C..........02/01/08......911
    A..........03/01/08......210
    B..........03/01/08......215
    C..........03/01/08......917
    I need the report like this..
    Facility.....01/01/08......02/01/08....03/01/08...Total....AVG
    A...............210.............211............210.....631......210.3
    B...............215.............211............215.....641.....213.6
    C...............917.............911............917.....2745....915
    For this report..I created pivot table but I'm not able to calculate the average..
    Can you please help..I'm new to OBIEE...
    Thanks in advance

    Please change your username....
    Here is what you need to do...
    1) In the Pivot Table View, click on the Measures column and select New Calculated Item.
    2) In the pop-up window complete as follows:
    Name: type "Total Average"
    Function: Select "Average" from the drop-down window.
    Click on the values in the right pane that you wish OBI to calculate the average for.
    3) Click "OK."
    You now have another column that is the average of the values in each row.

  • Problem with pivot tables connected to SSAS 2008 R2 in Excel 2010: "Excel found unreadable content in ' file_name '..."

    Hi,
    I have such problem when I open in Excel 2010 14.0.7128.5000 (32 bit) a xlsx-file containing pivot tables and slicers connected to SSAS 2008 R2 cube:
    - Excel found unreadable content in '...'. Do you want to recover the contents of this workbook? If you trust...
    And this text after clicking "Yes":
    Removed Feature: PivotTable report from /xl/pivotCache/pivotCacheDefinition2.xml part (PivotTable cache)
    Removed Feature: PivotTable report from /xl/pivotCache/pivotCacheDefinition3.xml part (PivotTable cache)
    Removed Feature: PivotTable report from /xl/pivotTables/pivotTable1.xml part (PivotTable view)
    Removed Feature: PivotTable report from /xl/pivotTables/pivotTable3.xml part (PivotTable view)
    Removed Records: Workbook properties from /xl/workbook.xml part (Workbook)
    What may be the reason?
    It has become a regular at some point for files created in Excel 2013. But this file was created in the same excel in which I try to open this file.
    Thanks for help in advance.
    Best regards,
    Nikolay

    Hi,
    The whole error message like this:
    "Excel found unreadable content in '<<var>File name></var>.xls'. Do you want to recover the contents of this workbook?
    If you click Yes in the error message, the file cannot be opened as expected."
    Please try the following methods and check they are helpful:
    1. Install the hotfix for Excel 2010.
    http://support.microsoft.com/kb/2544025/en-us
    2. Installing the 'Visual Basic' component of MS Office 2010
    'Navigate to 'Control Panel >> Programs' -> select Microsoft Office 2010, and then click 'Change >> Add or Remove Programs' -> at the bottom of this list, click the 'plus' sign provided next to Office Shared Features -> click Visual
    Basic for Applications -> After that, right-click and choose Run from My Computer ->  click Continue'. 
    3. Run as administrator
    4. Go the file in Windows Explorer, right-click on the file, select Properties and at the bottom there's an area called Security, click on Unblock.
    Regards,
    George Zhao
    TechNet Community Support

  • Problem of sorting month name in pivot table

    Hello,
    I have a month name that is sorted by month number in my repository.
    When I select Year + month name + measure sorted by year then by month name and I look the result in a table, everything works perfectly but when I switch to a pivot table the sorting doesn't work : the pivot table sorts my month name in an alphabetical order instead of using the month number .... Is it normal ?
    To find a solution, I have added my month number and I have sorted by year then by month number and I have hidden my column month number. This have solved my problem for the pivot table but if I attached a chart to it (by selecting "Chart Pivoted Results"), the label of the bottom axis contains the month number and the month name and I haven't found where I can hide this month number. Why the hidden option only works on the pivot table and not on the pivot chart ? And how I can do that ?
    Thanks in advance for your help.

    No there is no Transient attribute involved , could you please tell me what might cause this error .
    Basically this page is for inserting a record.
    Thanks ,
    Keerthi
    Edited by: user1140193 on Oct 21, 2011 7:15 AM
    Edited by: user1140193 on Oct 21, 2011 7:16 AM

  • Problem with format displayed in output while using Pivot table

    Hi All,
    I am using Pivot table in 10.1.3.4.1 version for displaying dynamic type data. Data is coming fine but it is coming in very strange format. I have following two tables in my RTF Template.
    Table1 using Pivot table
    !http://farm3.static.flickr.com/2570/4092137243_924cca92ca.jpg!
    Table 2 - A normal table
    !http://img5.imageshack.us/img5/6651/table3p.jpg!
    In the output PDF, “Table 2” shows data fine but “Table 1” shows very strange kind of behaviour if the columns exceed more than 5 in “Table 1” . If columns in Pivot table output are more than 5[at present according to my Table1 size] then columns more than 5 are shown on next page after Table 2 instead of displaying inside outer table “Table1“. Anyone has any idea what is the reason behind this strange behavior and how can I avoid it ?
    Thanks
    -Sookie

    Hi All,
    I tried including following piece of code in RTF as mentioned here: [http://winrichman.blogspot.com/2009/05/cross-tab-by-limiting-number-of-colums.html] but as a result it showed blank page in report. Nothing else.
    <?variable:G11;count(xdoxslt:distinct_values(/CUST_SUMMARY/LIST_CLIENT/CLIENT/LIST_OVERALL_ASSET_ALLOC/OVERALL_ASSET_ALLOC/ASSET_LIAB_DESC))?> <?variable:numcol;5?>
    <?template:table1?><?param:cellvalue;1?><?param:maxcolvalue;5?>
    <?choose:?>
    <?when:$cellvalue < $maxcolvalue?>
    !http://farm3.static.flickr.com/2508/4104410643_f540c1d5a3_m.jpg!
    <?call@inlines:table1?><?with-param:cellvalue;(number($cellvalue) + $numcol)?><?with-param:maxcolvalue;$maxcolvalue?><?end call?>
    <?end when?>
    <?end choose?>
    <?end template?>
    Also modified RTf as
    C <?crosstab:c594;"//OVERALL_ASSET_ALLOC";"PORTFOLIO_NAME{,o=a,t=t}";"ASSET_LIAB_DESC{,o=a,t=t}";"PERCENT";"sum"?>
    H
    G <?for-each@column:$c594//C1?><?if@column:position() > $cellvalue and position() <= ($cellvalue + $numcol) ?>
    ASSET_LIAB_DESC <?./H?>
    E <?end if?><?end for-each?>
    G <?for-each:$c594//R1?>
    PORTFOLIO_NAME <?./H?>
    G <?for-each@cell:.//R1C1?><?if@cell:position() > $cellvalue and position() <= ($cellvalue + $numcol) ?>
    99.00% <?./M1?>
    E <?end if?><?end for-each?>
    E <?end for-each?>I have this as my xml
    <?xml version="1.0" encoding="UTF-8"?>
    <CUST_SUMMARY>
    <CLIENTID>1034</CLIENTID>
    <LIST_CLIENT>
    <CLIENT>
    <CLIENT_ID>1034</CLIENT_ID>
    <LIST_OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID>1110</PORTFOLIO_ID>
    <PORTFOLIO_NAME>RM Managed</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Alternatives</ASSET_LIAB_DESC>
    <PERCENT>2.93117485730770817994482449012020516681E-03</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID>1110</PORTFOLIO_ID>
    <PORTFOLIO_NAME>RM Managed</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Collectables</ASSET_LIAB_DESC>
    <PERCENT>1.28354604277895431879689156620000563094E-02</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID>1110</PORTFOLIO_ID>
    <PORTFOLIO_NAME>RM Managed</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Debt</ASSET_LIAB_DESC>
    <PERCENT>3.91466115811489974032104849667369505831E-02</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID>1110</PORTFOLIO_ID>
    <PORTFOLIO_NAME>RM Managed</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Equity</ASSET_LIAB_DESC>
    <PERCENT>8.71946226825880885538778864840827563226E-01</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID>1110</PORTFOLIO_ID>
    <PORTFOLIO_NAME>RM Managed</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Others</ASSET_LIAB_DESC>
    <PERCENT>7.3140526307872865690096910040315224715E-02</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Aggregate Portfolio</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Alternatives</ASSET_LIAB_DESC>
    <PERCENT>2.93117485730770817994482449012020516681E-03</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Aggregate Portfolio</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Collectables</ASSET_LIAB_DESC>
    <PERCENT>1.28354604277895431879689156620000563094E-02</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Aggregate Portfolio</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Debt</ASSET_LIAB_DESC>
    <PERCENT>3.91466115811489974032104849667369505831E-02</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Aggregate Portfolio</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Equity</ASSET_LIAB_DESC>
    <PERCENT>8.71946226825880885538778864840827563226E-01</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Aggregate Portfolio</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Others</ASSET_LIAB_DESC>
    <PERCENT>7.3140526307872865690096910040315224715E-02</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Deviation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Alternatives</ASSET_LIAB_DESC>
    <PERCENT>2.93117485730770817994482449012020516681E-03</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Deviation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Collectables</ASSET_LIAB_DESC>
    <PERCENT>1.28354604277895431879689156620000563094E-02</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Deviation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Debt</ASSET_LIAB_DESC>
    <PERCENT>-3.6085338841885100259678951503326304942E-01</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Deviation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Equity</ASSET_LIAB_DESC>
    <PERCENT>2.71946226825880885538778864840827563226E-01</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Deviation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Others</ASSET_LIAB_DESC>
    <PERCENT>7.3140526307872865690096910040315224715E-02</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Deviation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Cash</ASSET_LIAB_DESC>
    <PERCENT>.3</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Recommended Allocation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Debt</ASSET_LIAB_DESC>
    <PERCENT>.4</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Recommended Allocation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Equity</ASSET_LIAB_DESC>
    <PERCENT>.3</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Recommended Allocation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Cash</ASSET_LIAB_DESC>
    <PERCENT>.3</PERCENT>
    </OVERALL_ASSET_ALLOC>
    </LIST_OVERALL_ASSET_ALLOC>
    </CLIENT>
    </LIST_CLIENT>
    </CUST_SUMMARY>and Original RTF looks like !http://farm3.static.flickr.com/2508/4104410643_f540c1d5a3_m.jpg!
    with code as
    C <?crosstab:c594;"//OVERALL_ASSET_ALLOC";"PORTFOLIO_NAME{,o=a,t=t}";"ASSET_LIAB_DESC{,o=a,t=t}";"PERCENT";"sum"?>
    H <?horizontal-break-table:1?>
    G <?for-each@column:$c594//C1?>
    ASSET_LIAB_DESC <?./H?>
    E <?end for-each?>
    G <?for-each:$c594//R1?>
    PORTFOLIO_NAME <?./H?>
    G <?for-each@cell:.//R1C1?>
    99.00% <?./M1?>
    E <?end for-each?>
    E <?end for-each?>Anyone can now tell my mistake? What wrong I am doing? Why it is showing blank page in output? How to solve this page breaking problem?
    Thanks
    -Sookie

  • Problem in pivot table view

    Hello gurus,
    I need a help in pivot table view. In pivot table, I have to show measure in accordance to month. For example show sales as per region by month name.
    Region               Sales                         
              Jan     Feb     Mar     Apr …………..Dec     Avg     Total
    A          10     40     92     92          32     xxx     xxx
    B          73     83     39     78          87     xxx     xxx
    So this is what I have to do. I am able to do this with one measure with created new calculated item. Now I have to create this report using two measures and the in the new measure I have to show only average and total.
    For example
    Region               Sales                              Target
              Jan     Feb     ………Dec     Avg     Total Avg Total
    A          10     40          32     xxx     xxx          xxx          xxx
    B          73     83          87     xxx     xxx          xxx          xxx
    Here sales and target are two different measures. The problem is when I add target column in measures; it will show all the month which I don’t require at all because I need all the month for sales only and for target I just need average and total. I try from head to toe but not getting any thing like this.Can i do this using other view if possible.
    Help me guys. If you need more explanation then please let me know.
    Thanks
    Regards,
    Suhel

    Anybody replies please.....
    Is this possible that we can use Calculated column in other calculation in pivot table. For example, total of one measure divided by total of another measure in pivot table.
    Regards,
    Suhail

  • Problem with Pivot Table with Graph: Line Bar Combo

    Hello people!
    I have a problem with pivot table and line bar combo (all in the same view (pivot table))
    I have some measures and one dimension in my report.
    --------------measure1---measure2---measure3
    Dim A.1
    Dim A.2
    Dim A.3
    If I choose my graph line bar combo automatically choose "line" measure 3 (last measure in "Show Controls"). How can I do if I want my measure1 for line and I don't want modify my pivot table?
    Thank you very much!

    Ok, I'll explain my problem again. In my pivot table I add graph vision and I want in the same view (Pivot table). My graph is "Line Bar Combo" and I don't know how but the last of my measures belongs to right AXIS, if I change order of my measures I can see in my graph the measure that I want in my right axis BUT also it changes the order of my pivot table.
    This is my problem. I think that I can do that with different views but I lose my selector view to view graphic and my pivot table at the same time.

  • Pivot table printing problem

    Hi,
    I am using pivot tables to show data. I also need to print it but I have problems.
    When I use ShowPrintableBehavior i only see one litlle part of my pivot table.
    Is there a way to print all pivot table or it is impossible?
    Thanks :)

    In my experience I couldn't print all the table records, so I give 100 for table fetch size.
    eg:.
    Table is not fetching all VO data at once?
    thanks..

  • Oracle answers pivot table grand total problem

    hi All,
    I am working with OBI dashboard. I have a problem in creating a pivot table. To make it simple assume I have 3 columns: Sales, Target Sales, and %Diff. I added a total row but the problem is the total for %Diff is actually the average of the column instead of the %Diff between "total Sales" and Total "Target Sales". The aggregation rule for %Diff is set to Avg. and "Show data as" is set to Value.
    I have seen the same problem here before in some forums.
    Can anybody help me on this?
    Thanks
    Sana

    the problem is the data is coming from Discoverer (another team converted data from disco. to OBI anwsers) so I do not have access to Biz model.
    is there any other way for that?
    thanks

  • Problem to connect to a database from an Excel pivot table

    Hello,
    I have Office 365 private. I could connect to the database and then all of a sudden it stopped and when i wanted to refresh the pivot table i got the following error: "an error was encountered in the transport layer", then i click OK and
    i get a prompt to logon to the database which I do and get this message: "Errors in the OLE DB database. The Integrated Securty property cannot be set if a username and password is supplied". Again, i could connect without any problem and since few
    days it stopped.
    thank you in advance for any help,
    Arma

    If the database you mentioned is a Cube, please check the post:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/b2861abd-0060-4efb-970b-bf455731f5a9/an-error-was-encountered-in-the-transport-layer?forum=sqlanalysisservices
    Best Regards,
    Wind

  • Problem with background formatting in pivot table

    Hello,
    I have a problem with background formatting in pivot table. I can't change background (light blue rectangular in upper left corner). Do you have any idea how to do it?
    Here is the link to the picture of the pivot table:
    http://img163.imageshack.us/img163/110/unledfyq.png
    I would be grateful for any help.
    Regards,

    Hey,
    Check this link once, you will need java script to acheive this:
    http://everythingoracle.com/obieehdom.htm
    scroll down to this topic: Parsing using HTML DOM
    Please award points if helpful.
    Thanks,
    -Amith.

  • Pivot tables causing problems in Excel 2013

    I have a couple of issues I have been able to replicate on multiple machines (all running Office 2013 either as standard or as part of a 365 sub. 3 running W7 and one on W8.1)
    Whenever I load certain sheets with pivot tables, I can refresh data on them and that all works OK, but if I show the "Field List" bar on the right, Excel grinds to a halt and will not accept any input. Another, possibly related, issue is on some
    (not on all the ones with the first issue though) I use freeze panes. When refreshing the ones with this active, the screen flashes rather a lot and only stops when I turn off Freeze Panes.
    Have tried various fixes such as setting Windows to "Best Performance", disabling Hardware Acceleration in Excel, disabling addins (it does the same things using /safe) and recreating the file from scratch (this works the first time I use it, but
    then if it gets opened in 2007 Excel, then opened again in 2013, the issue comes back again), disabling animations with a registry tweak and renaming the OSF.dll file.
    Have checked and am running latest update of Office 2013 (currently 15.0.4675.1002).

    Hi,
    Based on the issue description, the problem occurs when setting a print area. Are you using the same printer with the multiple PCs? I notice this issue has reproduced on multiple machines. I'm wondering whether the printer driver caused the
    crash issue. I recommend we update the printer driver to test.
    Then, the crash can be caused by various factors, such as anti-virus programs, other programs that conflicts with Excel. If the problem persists after updating the printer driver, I suggest you perform a selective startup to determine whether
    a program, process, or service conflicts with Excel, please refer to Method 8 in this kb below:
    http://support.microsoft.com/kb/2758592/en-us
    Other methods in this kb are also suggested to troubleshoot the problem.
    If this issue still exists, please collect the Event log and app crash dump file to do further troubleshooting.
    (You also could send them to me. Email address:[email protected] )
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Group by problem at pivot table

    Hi,
    firstly i am making a table, everything is ok,
    after i click pivot table, st_desc column writes same value again, i couldnt understand the reason.
    please check my screen shots below,
    http://www.odilibrary.com/index.php/oracle-data-integrator/99-group-by-problem
    kindly advise please

    that my fault
    there is a null at the beginning of the value, they are different,
    sorry

  • Powerpivot excel pivot-tables with multiple rows (problem expand / collapse)

    Hello, 
    I made a pivot table with powerpivot so I get kind of data: 
    The problem I have is that when I reduced the city of Bordeaux for example, given this city are reduced both that really interests me as the other non-company (all cities Bordeaux are reduced). 
    I would like to know how to get it is there that the city which interests me is reduced?

    Hi,
    As I have no idea of your PowerPivot data. And I have a litter confused about 
    'the city which interests me is reduced' .
    Did you want to get the city whose volume(maybe sales volume) is reduced than last year ?
    If so,I suggest you create a calculated column in PowerPivot to get the YTD of previous year using DAX. then in pivot table you can use this dimension to do a filter.
    http://www.powerpivotblog.nl/get-the-ytd-of-same-period-last-year-using-dax/
    If I misunderstand you, please let me know. And if it is convenient for you, please share your workbook here.
    Wind Zhang
    TechNet Community Support

Maybe you are looking for

  • MMS video from Iphone 3GS to Iphone 3G

    I know we can send pictures from Iphone 3GS to Iphone 3G, but can we send videos from 3GS to 3G. I wonder because the 3G doesn't have the video feature and therefore, I suspect it won't be able to play the video. Someone knows anything about this? Th

  • Spry Menu Bar lost formating

    Hi, Using DW CS3, I was cleaning up my site and wanted to place my main css file in the css folder (for some reason, it was in the root folder). I assumed DW would keep all links, etc. in tact. Everything else is fine, including my horizontal Spry Me

  • RED FRAMES ON PREMIERE PRO 8.1 CARAVAN ON PROJECTS THAT WERE FINE BEFORE

    I am having this RED FRAMES issue now, never heard of this problem until now. And its happening inside projects that had been ok since a few months back when I finish them. I just went in to export again some of the sequences and now the red frames a

  • LUM, integrated login, roaming profile

    Re-reading many message threads in this and other forums, I'm confused. For SLED, LUM creates users accounts on-the-fly after eDir login (like DLU on ZEN on Windows), the Novell client reads login scripts and maps drives (like on Windows) but integra

  • Popup window properties in OTL

    Hi I have created a new item called button on the create timecard page in OTL. when i click on the button it opens up a new popup window which runs a function in it. I want to set the properties of the new popup window like remove toolbar,location an