How to sort the column total in pivot view

Hello guys

I have a report in pivot mode, where I put the call on the section of the column type. So the report looks to below with the AMOUNT applied to the section of the column:
                                   Call Type1         Call Type2       Call Type3               TOTAL
ID                                        SALES TOTAL

A                                  100                  200                300                       500
B                                  200                  200                400                       800
C
D
E
My question, how can I sort the data in the field "TOTAL"? The challenge, seems, is that, since 'TOTAL' is not a column of the table, but just a screen of pivot Sum, it cannot be sorted H - L or L.-H...

But I would like to get some advice from you guys before you do my conclusion

Thank you

Published by: user7276913 on January 11, 2010 10:05

You can't have sorting on the PivotTable total.

On a workaround solution.
You can create a column in the criteria that calculate the sum

SUM (sales_total by ID)

Assign the sorting on this column order
You can exclude this column in the PivotTable

Kind regards
Rambeau

Tags: Business Intelligence

Similar Questions

  • OBIEE11G: I want to know how to sort the columns of a pivot view?

    It's my opinion of pivot

    TYPE_OUTILtool_nameyearamount
    At2n120120
    20133172
    20143535
    2015190
    BT1N120121
    20131867
    20142995
    2015357
    T1N220124
    20131371
    20142410
    2015437

    After I sort the amount column in descending

    TYPE_OUTILtool_nameyearamount
    BT1N120142995
    20131867
    2015357
    20121
    T1N220142410
    20131371
    2015437
    201256
    At2n120143535
    20133172
    2015190
    20120

    Why tool_type:B is the top of the table instead of A?

    Thanks for your help.

    Update:

    I try to set the tool type and the name of the tool front of amount. This works for simple table at the highest.

    but it does not work when I drag year column heading, then sort

    Sort "type tool" (CSA)

    -Add a 2nd sort on 'name of the tool' (CSA)

    -Add 3rd sorting on "amount" (DESC) in the year 2015

    It doesn't do anything.

    2015-07-08_084632.png

    I can solve this problem by sorting tool type (1) in growing. sorting, then add a descending sort to make this work amount (2)...

    Thanks Orcl01

    In your case you keep the tool type (1) ensure that Crescent. Then add a sort descending amount (2). It will work.

    Thank you

    AJ

  • How to find the column column_name from data_dictionary views

    Hi all.

    I have 60 + views, and I need to create a join based on those views.
    I'm looking for the name of the column of the data_dictionary so that I can write a script to write the SQL code to create the view to join?

    Something equivalent to user_tab_columns?

    I don't see that there is a user_view_columns?

    -Thanks for all the help

    View columns are user_tab_columns and all/dba_tab_columns.

  • How you sort the list of the next iOS 10?

    I can't know how to sort the list by following in-app music on my iPhone 6 s.  In iOS 9, he had a handle on the right side next to the title of the song that you can tap and drag up/down to change the order of the playlist.  The handle does not appear in the App on iOS 10 music.

    So I guess you can't have activated repeat function.  Once it is off, the handles appear and you can sort your list of songs until the next.

  • Anyone know how to sort the files in windows 7.

    Anyone know how to sort the files in windows 7. All of a sudden my file says "a long..., there is this month...» Last week... today. I can't deal with all the files in the folder now. How can I keep rid of one a long time ago..., this month... Last week... today) so that I can fix the whole folder?

    Hello

    Right-click on an empty area of the concerned window, select Group By, and then select None.

    Best wishes

    DP - K

  • How to list the columns for a view

    Dear experts

    I know how to list the columns in a table. This easy by querying the data USER_TAB_COLUMNS dictionary.

    But my problem is how to issue a query that returns the columns for a view?

    Thanks in advance

    USER_TAB_COLUMNS stores the metadata for both views.

    Select * from user_tab_columns where table_name = 'YOUR_VIEW_NAME"of order of column_id.    -Replace with your view_name (mandatory course)

    See you soon,.

    Manik.

  • How to check the column updated whereby the package or procedure?

    Hi all

    Can someone help me how to check the column updated by which the package or procedure

    A.Mahesh

    Hello.

    You can check what object is a reference to the table of the column:

    Select *.

    of all_dependencies d

    where d.REFERENCED_NAME = '. '

    And you can find all the links to the object source data column:

    Select *.

    of s all_source

    where s.name = "."

    and s.OWNER = '. '

    and s.TYPE = "."

    and as s.TEXT '%%'

  • How to sort the videos Sony's AVCHD cam by DATE.

    How to sort the videos Sony's AVCHD cam by DATE.  500 clips in media browser PP are not ordained.  A little more of the FCP where appears the ingestation list, you check what you want and import.  It looks different in PP.  I dragged all the AVCHD folder on the camera (via the copy on the desktop Mac) media victory on PP.  He broke them in 500. Video clips of MTS which cannot be classified by date.  What should do?

    Hi Pup8888,

    pup8888 wrote:

    Here is what I could not say.  He pulls of a Sony 520 in ACVHD and somehow that the data CLEARLY arranged the clips in FCP do not appear in PP.  Maybe it's the issue.

    If you do not ingest the files through their structure to map intact complete with media browser and makes your entire organization in another application, Yes, I can see why some of the metadata is missing.

    pup8888 wrote:

    I also get a DEVICE NOT DETECTED in PP when the camera is clearly working in the new IMAC.

    The remote control is not available for file based devices, so I don't think you need to worry about this.

    pup8888 wrote:

    So I do drag the AVCHD HD folder and import all in PP and yes it in busts. MTS files and works very well but unsortable by date.  They are randomly dumped inn the media browser.  Thoughts?

    Can arrange you by date when they are ingested and in the project Panel? Arrange by date in the media browser would be a feature request. What to do here: http://www.adobe.com/go/wish

    Thank you
    Kevin

  • How to add the column to Adobe flex mxml or actionsctpt mx:DataGrid?

    I have the simple mxml code

    <mx:DataGrid id="DGG"
                
    editable="true">
       
    <mx:dataProvider>
           
    <mx:Object scheduledDate="4/1/2006"/>
       
    </mx:dataProvider>
    </mx:DataGrid>
    <mx:Button id="SetBut"
              
    label="Set Array as Data Provider"
              
    click="SetDP(); AddBut.visible = true;"
              
    x="100.5"
              
    y="164"
              
    width="211"/>
    <mx:Button id="AddBut"
              
    label="Add a column!"
              
    click="AddCol();"
              
    x="100.5"
              
    y="194"
              
    width="211"
              
    visible="false"/>
    <mx:Script>
        <![CDATA[
            import mx.controls.dataGridClasses.DataGridColumn;
            import mx.collections.ArrayCollection;

            [Bindable]
            public var MyAC:ArrayCollection=new ArrayCollection([{scheduledDate: "4/1/2006", homeTeam: "Chester Bucks"}]);

            public function SetDP():void
            {
                DGG.dataProvider=MyAC
            }

            public function AddCol():void
            {
                MyAC.addItem({scheduledDate: "4/5/2007", homeTeam: "Long Valley Hitters", Umpire: "Amanda Hugenkis"});
                DGG.columns.push(new DataGridColumn("Umpire"));
            }
        ]]>
    </mx:Script>

    I want to add lines to my datagrid table how do such thing?

    How to add the column to Adobe flex mxml or actionsctpt mx:DataGrid?

    (You can place this code in a Flash or AIR application - it compiles without error, but will not add any columns =)

    Change this:

    public void SetDP (): void
    {
    DGG.dataProvider = MyAC
    MyAC.addItem ({scheduledDate: "05/04/2007", homeTeam: "long hitters Valley", umpire: "Amanda Hugenkis"});
    }
               
    public void AddCol (): void
    {
    var dgc:DataGridColumn = new DataGridColumn ("Umpire");
    var ca:Array = DGG.columns;
    CA.push (DGC);
    DGG.columns = ca;
    }

    Dany

  • How to convert the column lines

    I need to convert my output lines of sql for the column as a pivot to 11g

    Please give me the example of this

    check out this link

    http://nimishgarg.blogspot.com/2010/06/Oracle-pivot-data-rows-to-columns.html

    request for 10g would be

    Select *.
    (select job,
    Sum (decode(DEPTNO,10,SAL)) dept10,
    Sum (decode(DEPTNO,20,SAL)) dept20,
    Sum (decode(DEPTNO,30,SAL)) dept30,
    Sum (decode(DEPTNO,40,SAL)) dept40
    from scott.emp
    Working Group)
    order by 1;

  • How to change the column ordering the interactive report?

    How to change the column ordering the interactive report?

    Hello

    Run the report as a developer, click on the "wonder wheel", click "Select columns" and reorder your columns in the box 'report '.
    Then click again on the "wonder wheel", click on save report and save the default state.

    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this response in marking it as useful or Correct ;-)

  • How to check the table have are all views in oracle

    Hello
    How to check the table have are all views in oracle
    SELECT * FROM user_dependencies
    WHERE type='VIEW'
    AND referenced_type='TABLE'
    AND referenced_name ='Your_Table_Name' 
    

    You can use dba_dependencies to find views in the different schema.

  • How to sort the names in order albhabetical in Windows Mail on some recipients?

    Original title: Windows Mail

    Re my Windows Mail, the "Select recipients" list sorts e-mail addresses in alphabetical order rather than alphabetical order the real names, how can I change this?

    Hi sarahsdrive,

    Try these steps and check the result.
    a. in the Contacts folder: change the display «Détails»
    b. right-click on the 'Name' column header, click on "First name", then click on 'Last Name'
    c. click on "Last Name" to sort by this order, or click on the title "First Name" to sort by this order.
    d. in a window to create a message: click on:
    e. click the column 'Name' position... it cycles through 4 different kinds
    f. in Contact properties, click on the arrow pointing downwards at the end of the full name box

    Change Windows Mail send settings

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Can someone tell me how to expand the columns of names of files in file Explorer?

    In each program, I've never used, all the user has to do to make a column more wide is to click on the divider bar at the top (or the side of the column) and drag the wider column. Instantly. Easily. Nearly second nature without looking.

    Now, clunky Windows 8 coming, and it's so frustrating!  I went on line and saw hundreds of people griping about the same and some of the answers are right-click on the column heading and click on the size, or to choose the longest title in your file and right click and choose the size of the car, but I don't have any of these options.  I right click on the longer title and don't get choices such as car size or size.  There is not a definable column header.  Above the list of files is a bunch of stuff in the Ribbon, none of this centered above the list of files.  Above, there are a few possibilities for right click produce the word "size" in the box that opens, but is not an active link, and I can't click on it.

    I'm amazed that I bought this "top of the new version of line everyone will go to" and it does not with ease.  It is not calculate how wide to make the column... computers are great to calculate.  Why not Windows 8?   When a program allows you to work harder, take four or five steps to do one thing, that is not good design. He should do it for us, we should not be on the right side of the mouse, click on the left side, etc.

    My main question is how to do widen the column, and my secondary question is how can we get Microsoft to listen to us?  I read the comment after comment on dozens of complaints, which is one of the most common.  Thus, besides wishing they would listen to us... I'll call their hotline tomorrow and complain... what someone knows in the meantime what can I do to see all the title of my files?  Right now they are all cut in half way through.  I want to enter this bar on the right and drag it to the right to reveal the name of file in the way of how work most computer programs.

    It almost seems as if Microsoft tried to make it more difficult for their base of users and new users.   It boggles the mind.

    Of course, I'd appreciate it if someone can tell me if it is still possible to make the column wider, and I would love it if there was a response that is easy without going through a lot of steps.  Thanks in advance to anyone out there who has thought about it!

    Happy new year!

    CG

    There is no difference in the way you make the columns wider if I understand the question.
     
    I guess you see something like this (without the arrows highlighting red and pointing to the column headings and separators that you hover over, click on + hold and drag to make greater/smaller in the method you describe):

    Or are you speaking of something else than the "File Explorer" you mentioned in your question?
     
    Also - if you get the "double-arrow" cursor hover at the same place as you would drag to the size of column wider or narrower and rather - double-click on - it (as it always has) calculates the necessary width to see everything in the column to the left of the separator you are clicking on and re - size accordingly.
     
    I think that the right click of the column header (see section highlighted above) and change the size to fit refers to this menu, you would get when right-clicking on the column headers highlighted in the picture above...

    Now there's something for everyone - you have to be in DETAILS view (as always) in order to get these beautiful columns.  "Very large icons', 'Large icons', 'medium-sized icons", "Small icons", "List", "Tiles" or "Content" views will not have columns to sort by...

    In addition, if you notice in the last frame, in the "Détails" view, you must, depending on the size of your window, see "All columns to fit the size" as an option in the view menu.
     
    And the "size of all columns to fit" as shown in the two methods I could think casual to show calculations for all columns and adjusts large/more details for all visible columns in the display of the Explorer of files in all areas.
     
    Oh - and in case you want to "Détails" view to be the default view from this moment for your windows 'Windows Explorer '... Change to it (as shown above) and find the 'Options' button in the top Ribbon (usually the one furthest to the right) and click on it (not the arrows on the side of it - click it to select it) and should open a new window called "Folder Options."  Select the 'view' tab and click on "apply to folders" and all other folders that you open from the moment which will 'View' by default (unless you change it.)  * Special note * here - you can be originally 'Computer' or 'My PC' Windows Explorer - display you must have at least one folder of the selected (such as "drive Local (c)") drive and active in order to see the button 'Apply to records' assets to click.
     
    New - this is essentially the same since Windows XP.  Some of the options have changed names (heck, even Windows Explorer is referred to as 'This PC' now instead of 'Computer' and 'My Computer') and there were a few additional views added and deleted - but even advanced stuff are quite similar to the latest methods to infer.
     
    Hope that helps.  Ask if you have any other questions and please come back anyway let everyone know if the response was satisfactory!

  • Sort sort the columns number of lines n columns in the RTF PivotTable but hide them.

    Hello

    I'm trying to sort on the columns number of sort for lines n columns in the PivotTable but hide them. Any help appreciated.

    Attached model RTF, XML and output required. Thank you

    Please check your email that I have forwarded to update the model.

    by default, it performs a sort on the column, we used to pivot rows and columns. If we need custom sort, we must specify that column in the logic that was present in the C form field.

    by default, you are as below

    Custom sort

    {INDUSTRY_sort, o = a, t = n} « ; » MONTHS {Month_sort, o = a, t = n} '; SALES '; "' sum '? >

Maybe you are looking for

  • The screen flashes colors when it sits for a while. When I hit enter judgment of sill.

    About 5 days ago HP, the monitor would start flashing colors, red, green, white, blue, etc. until I pushed enter. The colors appear one at a time and fill the entire screen. This happens when there is no activity, only the desk top picture showing. T

  • Signed in and someone elses welcome - not me by name!  Pls help!

    OK, so I registered communities of Apple Support, signin accepted but he kept saying welcome and Login name instead of OhThatGirl welcome and logout.  Not once, he said, wrong name or password... just I would like to connect but never really show my

  • Satellite A200 - AC adapter problem

    Hey tonight I took my laptop to the floor to load.I plugged the charger of th in the wall (the rope was not in the portable t this point) where I got was a sound signal.I connected the rope in the laptop to find he does not load (like no light has co

  • How to find which bit?

    How do you find what little has a computer? Have a HP G71 Prod # VM113UA #ABA, Mod # G71-329WM, Ser # {removed privacy}, Windows 7. Thank you

  • A LTE sim card slot can also be used for a GSM sim as well?

    As phones GSM and LTE require a sim slot, the same housing allow (alternating) for both? Alternatively, both require a separate housing, dedicated, even if they are not used at the same time? Also, can cite you a current (or soon be released) phone t