Problem with the Pivote Table order by Clause in OBIEE report

Hello All,
Can anyone help?
I am developing a report with 3 columns
1. Year
2. Customer name
3. Amount
I need Year in Ascending & Amount Descending (Group by Year and then Desc by amount)
In Table view data is displayed correctly, but in Pivote Table it’s not sorting correctly
Table View ( This is correct)
Year     Customer Name     Amount
2009,     a1,     260,000.00
     a2,     152,030.00
     a3,     20,000.00
2008,     a6,     193,080.00
2004,     a7,     860.2
     a8,     114.7
2003,     a9,     200,243,813.40
     a10,     91,351,364.10
Pivote Table Results as follows:
Year     Customer Name     Amount
2009,     a1,     260,000.00
     a2,     152,030.00
     a3,     20,000.00
2008,     a6,     193,080.00
2004,     a7,     860.2
     a8,     114.7
2003,     x,     26,374,818.00
y, ....................
a9, 200,243,813.40
For year 2003 in place of 'x' value a9 value has to be shown........
Regards,
SMA

Your post doesn't help a lot. Why it's still not solved ?
If it's caused by the ascendant order, the only way that you have is to pivot your table :
http://gerardnico.com/wiki/dat/obiee/presentation_service/obiee_transformation_table_to_pivot
And then you can set all sort that you want.
success
Nico

Similar Messages

  • Problem with the sames tables in the same report

    Hi friends,
             I have a report with the same table twice. One with the original name (Company) and the second with alias (Company_A). This report wants to show a "tree" of companies. With code I get a Dataset    and I fill the report with it. This Dataset    have two tables the original and the alias table with one and two rows expletively. The data is correct is what we expect that the report will show but this not occurs. He only see the rows of the original table and if you get more than one row in it he try a Cartesian product and we see invalid results. Can I fill the report with the correct rows to show in the report? Is there any other possibility? To help I put an example:
    Fields of table Company as original table in the report: Company.
    Fields of table Company as alias table (Company_A) in the report: Company and OriginCompany.
    There is a relation between Company and Company_A through the field Company (original alias) and OriginCompany (alias table).
    The dataset    is like this:
    Table Company: one row --> Company1.
    Table Company_A: two rows --> Company1a, Company.
                                                   Company2a, Company.
    Then the report only shows the rows of the original table Company but no trace of the alias table Company_A
    If someone can help me thanks and if not also!!!
    Edited by: JuliaRomero on Jun 1, 2009 4:30 PM

    Use two connections not one when you are embedding one result set in another.
    If you are embedding one in the other also consider using a join which is faster and requires less code.

  • Updating pie graph  with the pivot table data.

    Hi:
    I have two components, the first is a pivot table and second
    of them is the pie graph, the two components were created in JDeveloper 11g
    on the same page through the same view object, this view object was created through
    a query.
    I need to update the pie graph through the pivot table data.
    ie, according to the data containing on the pivot table, to update the pie graph.

    Hi,
    BPM can be used to validate and update tables.  You can have a transformation step in BPM to validate, and either a JDBC or RFC adapter to update XI table...depending on if the table is an ABAP table or table create outside of ABAP using the vendor's dba tools.
    As for sending file based on counter or timestamp in the name, you can develop a simple adapter user-module using java which can retrieve the file name(s) being processed.  If the name satisfy the rules you have, then proceed, or else terminate the processing in the adapter.
    Regards,
    Bill

  • Problem with the query in group by clause

    hi, i have problem with group by clause, can some one please help me.
    select
    header_id,
    (select sum(nvl(dr,0) - nvl(cr ,0)) from temp_tab a1
    where
    a1.country=a.country
    and a1.source='AP'
    and a1.header_id=a.header_id) WHT,
    sum(dr),
    sum(cr) from temp_tab a
    group by header_id,
    (select sum(nvl(dr,0) - nvl(cr ,0)) from temp_tab a1
    where
    a1.country=a.country
    and a1.source='AP'
    and a1.header_id=a.header_id)
    select * from temp_tab
    drop table temp_tab
    create table temp_tab(header_id number ,line_num number, country varchar2(2),
    source varchar2(2), dr number, cr number,primary key(header_id,line_num));
    insert into temp_tab(header_id, line_num,country, source, dr,cr) values(1, 1,'NL','AP',100,20);
    insert into temp_tab(header_id, line_num,country, source, dr,cr) values(1, 2,'PO','AP',20,20);
    insert into temp_tab(header_id, line_num,country, source, dr,cr) values(1, 3,'NL','AP',70,20);
    insert into temp_tab(header_id, line_num,country, source, dr,cr) values(2, 1,'NL','PA',100,20);
    insert into temp_tab(header_id, line_num,country, source, dr,cr) values(2, 2,'NL','PA',100,20);
    insert into temp_tab(header_id, line_num,country, source, dr,cr) values(3, 1,'KR','PO',100,20);
    commit;
    Appreciate your help.
    Thanks,

    select header_id,
             (select sum(nvl(dr,0) - nvl(cr ,0)) from temp_tab a1
             where a1.country=a.country
             and a1.source='AP'
             and a1.header_id=a.header_id) WHT,
             sum(dr),
             sum(cr)
      from temp_tab a
    group by header_id
    ,countryIt's kinda hard to follow what your query does... maybe because I'm only at my second coffee..
    Edited by: Alex Nuijten on Oct 2, 2009 8:07 AM

  • Problem with the pivot operator and Expression operator

    Hey,
    In my design, I have a joiner which joins three different tables. After that I connected a few columns to an expression operator which is used to make some calculations using the three columns. The out put from the joiner is connected to the pivot operator as well as the output of the expression operator is connected to the same.
    This is done becuase I wanted to create a few new columns using the existing columns in order to perform some calculations.
    But now the mapping is giving an error at time of deployment(Null pointer exception).
    I tried to place the expression operator at various points in the mapping, but to no avail.
    Can some one please help me out regarding this issue.
    Thanks

    Hey,
    This is the stack trace error I am getting when I try to deploy the mapping.
    VLD-1141: Internal error during mapping generation.
    java.lang.NullPointerException
    at oracle.wh.service.impl.mapping.component.pivot.PivotSqlDelegate.prepareOutputContext(PivotSqlDelegate.java:124)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:239)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assembleSetBasedInternal(PlSqlGenerationMediator.java:2107)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assembleSetBased(PlSqlGenerationMediator.java:2089)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assemble(PlSqlGenerationMediator.java:540)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:770)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:316)
    at oracle.wh.service.impl.mapping.generation.WBDeployableMappingGenerator.generate(WBDeployableMappingGenerator.java:99)
    at oracle.wh.service.impl.generation.common.WBGenerationService.generateCode(WBGenerationService.java:433)
    at oracle.wh.service.impl.generation.common.WBGenerationService.generateCode(WBGenerationService.java:311)
    at oracle.wh.service.impl.generation.service.WhValidationGenerationTransaction.run(WhValidationGenerationTransaction.java:241)

  • Problem with the support of certain characters unicode in Crystal Reports

    Hello,
    Crystal Reports seems to have problems in the treatment of the following characters unicode: ethiopic Digits & Numbers u+1369… u+137c.
    As soon as one of these characters appears in the viewing of a Formula Field with Format>Paragraph>Text interpretation positioned with “RTF” or “HTML”, the component CrystalReportViewer posts the following dialog box
    (Failure of the Report Application Server)
    Any help would be appreciated…
    Regards,
    Claude

    What version of CR are you using?
    Any CR Service Packs applied?
    What version of CR was the report created in?
    What version of .NET are you using?
    What OS?
    Looking at this blog:
    http://blogs.msdn.com/b/michkap/archive/2005/02/01/364376.aspx
    I note that support for ethiopic Digits would not be supported until VS 2005 at the earliest:
    As such, the update will not be seen in Windows until Longhorn or in the .NET Framework until the version after Whidbey.
    So, if you're using .NET 2005 or later the point is probably moot..., but my other questions do need to be answered.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Share Your Knowledge in SCN Topic Spaces

  • Two problem with the DNS (hostname order and slow internal DNS)

    Hi,
    First I'm sorry for my english,... So I've two questions which I cannot solve by myself.
    1/ I configured two DNS as primary on my Xserve one .com and one .ch. For the same name : example.com and example.ch. I defined a mail server, my second Xserve.
    If only my example.ch is configured on my DNS server my hostname is mail.example.ch, working fine with my specific MySQL software. But if I add the example.com to my DNS Server, my hostname is changed to mail.example.com !
    And that I do not want ! I need to keep my mail.example.ch. How can I fix my hostname to the .ch ?
    2/We have an Xserve with two Ethernet cards (for the NAT) and we have a DNS server on this computer. When I use the Xserve for DNS Server on the remote computer network preferences the internet is working but very slow to resolve the DNS. I think the problem is from the catching DNS system, but how I can disable that or speed up my internet connection ?
    Regards,
    Florent

    Thanks but my DNS is working fine now. My last
    problem is my hostname.
    Have a look in /etc/hostconfig. HOSTNAME defaults to -AUTOMATIC- which resolves by firstly trying reverse lookup on its IP - the first return from this will be adopted. If you have 2 PTR records for the IP then it may be resolving to the 'wrong' one. If this is the case then you could either...
    1. Remove one of the PTR records, or
    2. Edit /etc/hostconfig, replacing with HOSTNAME=mail.example.ch
    -david

  • I just order 8 calendars from iPhoto and they came to me fine. Now I need to order two more but when I go thru the process I get a message  saying:unable to assemble calendar. There is a probleme with the photo with the file name"(Null)"   more........ .

    Would someone be able to explain to me the following issue with Iphoto?
    I ordered 8 same calendars for my soccer team and received them fine. Although a couple of pictures on it are a little off (out of focus). I need to order two more of the same calendars but when I go thru the process ireceive an error message saying:
    "Unable to to assemble  calendar" There is a problem with the photo with the file name "(Null)" The full resolution version of this photo either cannot be located or is corrupt. Please replace this photo or delete it from your calendar.
    How can  I fine this "corrupt" photo? How did it go thru with the first batch of calendars but won't go thru now?
    Thank you for your help.   

    Apply the two fixes below in order as needed:
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Since only one option can be run at a time start
    with Option #4 and then #1 as needed.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.
    2 - click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option.
    4 - In the next  window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments.  However, books, calendars, cards and slideshows will be lost. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • PROBLEM WITH THE PHONE ORDERS

    Hello,
    Is there a problem with the orders which are done with an international credit card? I am asking this because my brother and I have been trying to place an order to buy Macbook Pro with Retina Display for 2 days.
    We placed 2 online orders with my international credit card. In each order I inputted the international address provided by the Bestbuy web site(10780 Kempwood Dr. - Houston, TX 77043) to the billing address. And I inputted my brother's address in the US to the shipping address. Each time, at first,orders were accepted but after 1 minute we received an email that indicated orders were cancelled. Customer service told me that the shipping address and billing address on my order are same and there might be an issue on the system that causes this problem and suggested me to place the order over the phone. I replaced the order over the PHONE(WITH SALES DEPARTMENT) but again I received two emails, one of them is "We received your email" and the other one is "Your order has been cancelled".You can find the reason of the cancellation in the email below;
    We're sorry, but an item on your order placed on June 12, 2014 has been canceled because we were unable to verify your information.
    I am really tired of that,it is like a joke.
    An authorized person should answer this; does BestBuy accept international credit cards or not?

    Hello nbilgin,
    Placing orders on BestBuy.com should be both exciting and easy, and I'm disheartened to read that you've run into these difficulties in trying to purchase your new Macbook Pro. Surely, this is not the experience that we strive to provide and I regret very much that you've been disappointed.
    Using the information you provided when you signed up for our Community. I was able to locate your orders. I am investigating the situation now and as soon as I have additional details, I will let you know. I'm sorry that I must impose on your patience and good nature in the interim; I should have more details shortly.
    I'm very grateful that you wrote to us about this situation.
    Sincerely,
    John|Social Media Specialist | Best Buy® Corporate
     Private Message

  • How can I pass multiple condition in where clause with the join table?

    Hi:
    I need to collect several inputs at run time, and query the record according to the input.
    How can I pass multiple conditions in where clause with the join table?
    Thanks in advance for any help.
    Regards,
    TD

    If you are using SQL-Plus or Reports you can use lexical parameters like:
    SELECT * FROM emp &condition;
    When you run the query it will ask for value of condition and you can enter what every you want. Here is a really fun query:
    SELECT &columns FROM &tables &condition;
    But if you are using Forms. Then you have to change the condition by SET_BLOCK_PROPERTY.
    Best of luck!

  • Problem with the table view's _visibleBounds when used on a scroll view

    I've had numerous problems with getting a table view to work on a scroll view since the table view keeps resizing (http://discussions.apple.com/thread.jspa?threadID=2618816&tstart=0)
    I have created the views in IB. The scroll view is attached to the controller's view, and is assigned as the controller's view. The frame size of the scroll view is 320x436. I am manually setting the content size in code:
    UIScrollView* tempScrollView = (UIScrollView*) self.view;
    tempScrollView.contentSize = CGSizeMake(320, 720);
    The table view's frame's width/height is set to 280x88 in IB (i.e the size of two cells), and the header and footer are set to size 0.
    However, when I run the code, the table view is smaller, it is only 280x68. I have looked in the debugger, and the table view's _contentSize (of its scroll view) is 280x88; however, the _visibleBounds property is 280x68.
    I've tried looking into the documentation for the UITableView class, but can't find anything on the _visibleBounds property, or where it is being set and how to force it to the correct size.
    If anybody has any advice, I'd appreciate it.

    I can get around this problem by going to the scrollview which the tableview belongs to, and unchecking the Autoresize Subviews box.
    But if anybody knows about the _visibleBounds property, or the rules which are applied when resizing subviews, I'd be interested.

  • Problem with the XI-Audit log entries in the table "XI_AF_MSG_AUDIT"

    Hi,
    I have an async-szenarios for PO:
    We send Idoc's from SAP ERP to a WebService via SOAP. And we take Ack's. We use Integrationsprocess with deadline block to catche the errors after the retrying (three times) and to send they via e-mail.
    Our problem is, the number of the audit logs in the table "XI_AF_MSG_AUDIT":
    In the RTW only we see one audit log (with three retries) in an error case. But in the table XI_AF_MSG_AUDIT there are about 76 entries for the same audit log in the error case and about 20 entries in the case of the succuessfull processing.
    This number of the entries in the table causes problem with the size of the redo log file and delete job of cours the large size of the table and therefore problem on the data base. The table can not be controlled. The delete job can not run and cancels every time due this redo log problems
    What can cause that?
    How can it be prevented, that so much entries are not be made in the  table "XI_AF_MSG_AUDIT".
    Best regards
    Gueltekin

    Hi Gueltekin,
    I am only aware of the general property auditLogEnabled of J2EE Engine Service SAP XI AF Core, which controls in general (default = true) that entries in the AF Message Audit log are written at all.
    (see [http://help.sap.com/saphelp_nw70/helpdata/en/5c/22ee41c334c717e10000000a155106/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/en/5c/22ee41c334c717e10000000a155106/frameset.htm])
    I assume that your scenarios in the error case is sending up to three messages and for each message the number of audit log infos are created. You might want to check the detailed entries in the log and see from where they are comming, you might use customer modules etc. as well.
    Best regards,
    Silvia

  • Problem with the table control BDC in FV60 transaction

    Hi All,
    I got the problem with the table control in FV60 transaction.
    This is working for 900 line items.After 900 line items it is giving the problem like it is 1000th line item.You can post only 999 line items.
    I know we can post only 999 line items,but in my file only 920 line items.
    Please give me solution,if anybody come across this situation.
    Thanks & regards,
    rakesh.

    Hello Rakesh ,
    your file may have only 920 line items , but based on those line items, SAP may create few more  new lines ( based on the clearing recon accounts , inter company transaction ...etc )...
    regards
    Prabhu

  • Hi guys, i just got my iPhone 4s and sometimes the signal is lost and i have to restart the phone in order to get reception again. do you thing there is a problem with the phone or with the carrier? thanks

    Hi guys, i just got my iPhone 4s and sometimes the signal is lost and i have to restart the phone in order to get reception again. do you thing there is a problem with the phone or with the carrier? thanks

    I have the exact same problem. Called my operator who told me it was a hardware issue and Apple is working on a fix...

  • Problems with the order

    once more I have problems with the order in iTunes:
    Titel number 8 is on top and the first one is on place 10. The only difference in the information is
    Titel number 8 has titel number 8 and the titel on place 10 has the titelnumber 1, all the other informations are eqaul..
    See the screenshots:

    applewoi wrote:
    the album has got 17 files in 2 CDs. Shall I write therefore
    Titelnummer
    1 von 17
    2 von 17
    and so on?
    all in 1 CD
    I suggest you set
    CD-Nummer
    1 von 2
    2 von 2
    Then the tracks
    CD-Nummer 1
    Titelnummer
    1 von 9 (or however many tracks there are per CD)
    2 von 9
    CD-Nummer 2
    Titelnummer
    1 von 8
    2 von 8

Maybe you are looking for

  • IMovie 09 crashes when capturing HD video from Sony HDR-FX1

    I have done this many times before on an white iMac 24" and an aluminum MB Pro. However, on my new MB Pro 13", when I attempt to capture video from my Sony HDR-FX1, the program crashes. I have removed and reinstalled iMove, including updates, but sti

  • User Settings Suddenly Missing - Help Please

    Greetings! I have an iMac G5 Rev B running 10.4.2. Yesterday, everything was running fine. I only did some Web surfing and e-mail, didn't install anything. I quit the open programs, logged out, then shut-down the system last night. This morning, it c

  • Photo Downloader and Kodak Easy Share Gallery - PAS3

    Question 1. For some reason Adobe Photo Downloader has decided to place itself into my systray. I can disable it. I can not remove it. I do not seem to be able to find any option or preference to disallow it from launching. While I have a digitral ca

  • Creating a Dynamic Property LIst

    Hi everyone, How to make a dynamic Property list in lingo Actually the problem is I am fetching a list of Columns from the databse which may vary so I want to make a dynamic PropertyList in which I can Set the property and the values based on the num

  • TS3899 Eliminating multiple messages in mailbox.

    I am unable to delete multiple mail messages from my inbox.  Edit allows me to mark them all...but only gives options to mark as read, unread, or flag.  What am I missing?