ConditionSortStep with measure based sorting

Hi,
i have problem with ConditionSortStep with measure based sorting.
I use this code :
Selection sel = query.findSelection(dimensionID);
OlapQDR qdr = new OlapQDR(measureDim.getUniqueID());
qdr.addDimMemberPair(dimTime.getUniqueID(),"YR2004");
qdr.addDimMemberPair(dimPartner.getUniqueID(),"PLUS");
ConditionSortStep stepM = new ConditionSortStep(dimensionID, sel.getHierarchy(), ConditionSortStep.MEASURE,ConditionSortStep.DESCENDING, measure.getUniqueID(), qdr);
SortSpec sortSpec = new SortSpec();
stepM.setAction(Step.ADD);
sortSpec.addConditionSortStep(stepM);
sel.setSortSpec(sortSpec);
query.applySelection(sel);
Members are sorted by measure, but only descending not in hierarchical ordering. When i change hierarchy in ConditionSortStep to (String)null, I get same result.
I mean, the specified hierarchy in ConditionSortStep is not used, but I dont know why. Any ideas?
BIBeans 9.0.4 - JSP
DB 9.2.0.5 + OlapB patch
Thanks...
maddox

Hi David,
Sorry for not providing proper information.
This is my Star Schema. Dim_cutomer, Dim_problem, Dim_geo, Fact_ticket.
Dim_cutomer: Contians information about the Cutomer, account, Install Date, Install flag
Dim_problem: Problem type, Problem group
Dim_Geo: is Geographical dimension. like Division, Region ...
Fact_ticket: Has the information about the each ticket.
The requirement is to create a report based on division, region : 1. count # of Open ticket 2. Count # of closed ticket 3. % of Failure
I am able to do count of Open and Close. but for % failure which is tricky and complecated. To calculate the % of failure
Failure = Count of (FAI tickets) / Count of Installs.
to count fai: there is flag in fact i can count the FAI, Installs : count of install falg which is in Dim_customer, i can count it in report. The problem is this report have prompts like Type of account, type of problem.
As per the client, when i change the value of problem type the count of Installs should not changed & when i change the value of Type of Account value of Installs should change based on type of account. I dont no how to control this.
As all the dim are joined with fact.
It will be great help if some one give some hit or help...
thanks in adavance
Regards
@li

Similar Messages

  • I need to get back in touch with UK based technica...

    Background - a few weeks ago I received help on the forum in connection with my modem re-booting, usually in the early morning. I got in touch with Bt Customer support who helped by getting the noise level back down but I still suffered from re-booting, consequent increases in snr and lower speeds. I switched from the HH3 to a Billion bipac 7700n router. This was a vast improvement. No more re-booting but occasional re-syncs instead - at least the snr and DSL speed stayed roughly at the same level. I did however want to eliminate the 4-5 re-syncs per day - a nuisance if you are trying to use the PC or streaming music when the connection drops. Customer support advised me to test the router in the BT test socket. Alas, when I looked inside my BT master socket I found that I hadn't got a test socket. Bt Customer support splendidly arranged for a BT engineer to come the next day to fit a test socket. This was just before Xmas. 
    With Xmas over, guests having gone and continuing to suffer from re-syncing, I connected the router directly to the new BT test socket. In the space of 9 hours there were 4 re-syncs.
    I e-mailed Bt customer support an extract from the router's systems log to seek their help. Within minutes I had a call from an operator in BT India who put me through to their technical desk. Unfortunately the technical desk did not have my e-mail and did not seem very interested in the background to my issue. After an hour in the phone I spoke to a supervisor who explained that he could not take my problem further until I had tried a new HH3. 
    Well the HH3 turned up today. On connection my snr went up to 10db and the DSL speed down from 6656 kbps to 4344 kbps. Needless to say I have disconnected the HH3.
    I should add that the BT engineer who fitted the new master socket said that in his view I needed a Broadband boost engineer and that he would put this in his report. 
    Advice on how to get back in contact with Uk based support would be welcome.  I had been making good progress!
    Solved!
    Go to Solution.

    Hi I suggest you contact the forum mods they should be able to get your problem sorted for you this is a link to them
    http://bt.custhelp.com/app/contact_email/c/4951
    they normally reply by email or phone directly to you within 72 hours
    They are a UK based BT specialist team who have a good record at getting problems solved
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • How to control the measure based on the related dimension.

    Hi Experts,
    In order to improve performance, I have created three kinds of time tables in DB,such as Year .Month, Day.
    Then import them into the physical layer in RPD, and combine them into one dimension in BMM.
    Actually, it has three level fact related with three time tables,so they are also dragged into one fact in BMM,and one column will be corresponding with three column derived from different Fact table in physical layer.
    So I want to know how to control the measure based on the related dimension.
    For example:
    when users drag the Year,Sales column, it will come from Year Dimension and Year Fact Table.
    when users drag the Month,Sales column, it will come from Month Dimension and Month Fact Table.
    when users drag the Day,Sales column, it will come from Day Dimension and Day Fact Table.

    Hi,
    Create a dimension Hierarchy, with Year >> Month >> Day Levels and
    Next Double click on Year Table LTS >> click on Ocntetnt Tab >> set as Year
    same way for Month LTS and Day LTS.
    So now when you select year column then server canknow which LTS to hit and Hits Year LTS.
    Mark If Helpfu/correct
    Thanks.

  • ATV and Photo App: Event based sorting disappeared

    With the new update to the new Photo app, I can no longer view my photos from my TV (via my Apple TV) sorted by "events."  Everything is sorted only by the actual folders the pictures are in, and since most of my photos are in the iPhotos Library "file" I can't sort these in any useful way.
    Please fix this so that I can view the photos using the events based sorting method, which is how I have been organizing my photos for the last several years in iPhoto.  Thank you.

    Thanks for the reply.  I went to iTunes --> Files --> Home Sharing --> Choose Photos to Share...and was able to click on the share "Photos" option from the pull down menu.  This wasn't there yesterday so looks like there was an update in the meantime. 
    The problem is that the photos are shown in chronological order, so it's a pain to scroll all the way down to get to the more recent photos.  Hopefully Apple will fix this soon, like the way they had it in iPhotos.

  • BAPI for Order Confirmation along with measurement reading entry

    Hello Experts,
    I would like to know if there is any BAPI for PM Order completion Confirmation along with measurement reading entry?
    Thanks in advance.

    [BAPI for TECO|Function Module for TECO(technically complete) a maintenance work order;
    [BAPI to create Measurement document|BAPI or Function Module for creating measuring point;
    Based on the business transaction, by using user exit, you can accomplish these.

  • How to pass credentials/saml token access sharepoint web service ex:lists.asmx when sharepoint has single sign on with claims based authentication

    How to pass credentials/saml token exchange to the sharepoint web service ex:lists.asmx when sharepoint has single sign on with claims based authentication 
    Identity provider here is Oracle identity provider 
    harika kakkireni

    Hi,
    The following materials for your reference:
    Consuming List.asmx on a claims based sharepoint site
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/f965c1ee-4017-4066-ad0f-a4f56cd0e8da/consuming-listasmx-on-a-claims-based-sharepoint-site?forum=sharepointcustomizationprevious
    Sharepoint Claims based authentication and Single Sign on
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/2dfc1fdc-abc0-4fad-a414-302f52c1178b/sharepoint-claims-based-authentication-and-single-sign-on?forum=sharepointadminprevious
    Sharepoint Claim Based Authentication Web Service issuehttp://social.msdn.microsoft.com/Forums/office/en-US/dd4cc581-863c-439f-938f-948809dd18db/sharepoint-claim-based-authentication-web-service-issue?forum=sharepointgeneralprevious
    Best Regards
    Dennis Guo
    TechNet Community Support

  • BO Webi report hierarchy with measure values showing more(almost double value) compare to BW Bex report

    Hi,
    In our BO Webi report hierarchy with measure values showing more(almost double value) compare to BW Bex report. Can any one please help on this.
    Is it BW problem or BO problem?
    I checked in some other threads but it's not given solution.
    Thanks,
    Manjunatha

    Hi,
    Is it BW problem or BO problem? : BO
    is it causing problem with hierarchly data only ?  without hierarchies data is matching or not?
    Post same in SAP BusinessObjects Web Intelligence  .
    Thanks.

  • Issue with form based Authentication in three tier sharepoint 2013 environment.

    Hi,
    We are facing issue with form based Authentication in three tier environment.
    We are able to add users to the database and in SharePoint.
    But we are not able to login with created users.
    In single tier everything working fine
    Please help , Its urgent ... Thanks in advance.
    Regards,
    Hari
    Regards, Hari

    if the environments match, then it sounds like a kerberos double-hop issue
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Import PO with GR based

    Hello.
    We are Going for Import PO.
    We are creating the Import PO with Gr based Indicator. now Tax code is Zero.
    Customs clearing account is seprate.. from that A/c we will pay the Customs amount.
    So while doing the MIRO for Customs.(planned delivery cost from MIRO option), system will generate the Commercial exc Inv No.
    So when i go for MIGO with ref to PO. then system will Popup the Commercial Exc Iv no then we will cancel from MIGO screen .
    Then system will shown me the Full PO qty's BED ,ECS and SECess and AED... but iam capturing the MIGO partaily.... Excise base value also shwon in USD.....
    Regards
    sapman man

    Hi there,
    What i understood from your thread is you want to do the Excise invoice for partially and pay duties to the custom vendor for the partial quantity of goods receipt, for the same you can change the duty and the quantity while doing the MIRO trax. So the same data will flow when you will enter the MIGO screen and mention there the commercial invoice number.
    For partial delivery check in your vendor settings, the GR based INV verification should be marked. For multiple currency check your settings in SPRO. The sytem defaults the same from vendor master.
    Hope it helps
    Regards
    Sujoy

  • What is the mean of using Portal with Role Based security as entry point

    Hi Experts we have requirement of integration of Portal and MDM
    I am completely new to the MDM. So please give me some idea , what is the meanin for following points.
    1) Using the Portal with Role Based security as entry point for capacity and Routing Maintaince(These two are some modules).
    2) Additionally , Portal should have capability to enter in to the MDM for future master data maintence. Feeds of data will need to be come from  SAP 4.6c
    Please give me the clarity of what is the meanin of second point
    Regards
    Vijay

    Hi
    It requires the entire land scape like EP server and MDM server both should be configured in SLD.
    Your requirement is maintaing and updating the MDM data with Enterprise portal.We have some Business Packages to install in Portal inorder to access the functionality of MDM.
    Portal gives you a secure role based functionality of MDM through Single sign on (login into the portal access any application) to their end users.
    Please go through this link
    http://help.sap.com/saphelp_mdmgds55/helpdata/EN/45/c8cd92dc7f4ebbe10000000a11466f/frameset.htm
    You need to develope some custom applications which should be integrated into the portal to access MDM Server master data
    The estimation involves as per your requirement clearly
    Its depends upon the Landscape settings, Requirement complexity,Identify how many number of custom applications need to be developed
    Regards
    Kalyan

  • Problem with File Based replication in Weblogic Express 10

    Hi,
              We have Web application (exploded war) file deployed on Weblogic Express 10, to a Cluster of three Managed Servers (all three on different physical machines).
              We are using File based session persistance in weblogic.xml
              We have a shared location for all the three servers where we will be sharing the Session data.
              When we start the application, its works fine and is very fast, but after sometime the application slows down.
              Troubleshooting the Issue we found that its a problem with file based replication. By using File based replication every user session is stored in form of directory inside shared directory. So after sometime thousands of directories are created inside the shared directory where the session information is stored. So when we access the application, its waiting for lot of time with Message Session Monitor .... (this is because its browsing through the shared session storage directory for lot of time for session information as it has lot of directories) and finally after a long time like 10 mins we get the Application Home Page.
              When we clean up all the saved sessions inside shared directory, the application works fine, But we will see the same sometime later may be after 3 or 4 hours when the shared session directory has lot of session information stored in it.
              Is there a way to clean up the saved session information on file system as soon as that user session is closed by using file based replication.
              We cannot used Inmemory replication as our Appl doesnt support it.
              Please advice as it is a major show stopper in our Production Mirror env.
              Weblogic Consultant

    It is possible to reduce number of live session by configuring very low timeout-secs weblogic.xml. Default is 60 minutes.
              More details are here..
              http://e-docs.bea.com/wls/docs100/webapp/weblogic_xml.html#wp1071982
              Jayesh
              Yagna Sys

  • Creating a Form with Report based on View

    Hi All,
    I wanted to create a form with report based on two tables so:
    1. I created a view (called COMBO) based on two tables
    2. I then created a form with report based on the view
    Everything seemed fine thus far until I tried to edit existing records - I got the error:
    ORA-20505: Error in DML: p_rowid=2002082600001172, p_alt_rowid=REPATRIATION_ID, p_rowid2=, p_alt_rowid2=. ORA-01776: cannot modify more than one base table through a join view
    Unable to process row of table COMBO.NB: REPATRIATION_ID is the primary key of the Repatriation table. The other table is Applicant.
    & when I tried to create a new record - I got the error:
    ORA-01776: cannot modify more than one base table through a join view
    Unable to process row of table COMBO.Someone please enlighten me!
    Kind Regards
    Kamo
    Edited by: Kamo on 2009/03/12 2:33 AM

    Hello Kamo,
    You need to create an 'instead of' (update/insert/delete) trigger on your view to process the inserts etc into the 'real' tables.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • I can sync icloud calender with pc based outlook calender.  But contacts do not sync.  Could anyone help me with this?

    I can sync icloud calender with pc based outlook calender.  Photos also sync.  But can not sync contacts.  Already checked contact boxes in icloud and and on my PC.  Also tried to reset Document & Data on icloud.  Could anyone help me on that?

    That's what I did... switching on iCloud calender in the panel leads to the following: The existing local Outlook calendar gets mved to an new iCloud calendar.Thus the local calendar is empty.
    Given that iTunes dows not allow my whife's phone to be synced with that iCloud calendar (only the local acalendar appears in the list of available calendars in iTunes; syncing all dioes not include the iCloud one) this leads to an empty alendar on my whife's phone.
    Hence the question how to
    a) get iTunes to include the iCloud calendar to sync with the iPhone 2g (preferred) or
    b) enable a local MS Outlook internal sync between the two calendars.  

  • I have purchased apple phone 4s for india (non-carrier). Can i use the same phone in USA with usa based sim

    I have purchased iphone 4s for India from India. Can I use the same phone in usa with usa based sim

    An unlocked phone is an unlocked phone, which is the same for the iPhone.

  • Update a list item based sort order of created by column value

    HI
    using powershell script how to sort a list column before update a list  item.
    here i created a document library and uploaded some documents and update ProcessNo column based sort order of created column
    value.
    Add-PSSnapin Microsoft.SharePoint.PowerShell -EA SilentlyContinue
    $webURL = "http://tspmcwfe:91" $listName = "Courts"
    Get the SPWeb object and save it to a variable
    $web = Get-SPWeb $webURL
    $list = $web.Lists[$listName] 
    $items = $list.items
    Go through all items
    foreach($item in $items)
    $item["ProcessNo"] = 1
    $item.Update()
    $web.Dispose()

    Hi,
    According to your description, my understanding is that you want to sort the list items order before updating items using PowerShell.
    I suggest you can use the Sort-Object command to sort the list items.
    Here are some detailed articles for your reference:
    Better SharePoint Lists and List Items in PowerShell
    Sort-Object
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for

  • Is the Illustrator SDK thread-safe?

    After searching this forum and the Illustrator SDK documentation, I can't find any references to a discussion about threading issues using the Illustrator C++ SDK. There is only a reference in some header files as to whether menu text is threaded, wi

  • RE: Processing Logged messages in batch mode ?

    Paul, One way to findout the log file is to inspect your <CentralServer>.log. It should have a line something like.. Redirecting output to <someDirectory>/forte_ex_26564.log. That is the file the the current ftexec is writing to. This has worked fine

  • How to implement XI interfaces in online and offline modes?

    Hi Everybody, Can you please tell me how to implement XI interfaces in online and offline modes? thanks a lot, Ramya Shenoy.

  • Every thing except the processor goes to sleep

    When I put my Power Mac G5 to sleep, everything turns off except the fans still run and the display lamp doesn't do the breathing thing. I've removed everything except keyboard and mouse. I've turned off all automatic software instances I could find.

  • Cisco Show and Share – Last update?

    Hi, We're currently using Cisco Show and Share as our internal video platform. I believe there hasn't been any form of update to the platform in more than 2 years and am wondering if we have missed something. At the bottom of our interface we have th