Can we apply Dense Rank

Hi All,
I am working on Oracle BI Publisher. Can we apply Dense Rank on a column directly in the template? I don't want to change the total query for this, is there any way to do in template? if yes please tell me how can we do.
Any suggestion would be greatly appreciated.
Thanks in advance,
Anil.

Anil
I think it can be done in XSL but its going to take some effort. You might be better using the db to provide the record ranking as a value in the resulting XML. Then its just a case of sorting on the ranking values.
Regards
tim

Similar Messages

  • Can we apply sorting on Column values in Cross tab??

    Can we apply sorting on Column values in Cross tab??
    Following is the scenario with me.
    I have 2 fields and one formula.
    Fields are HostName and Username.
    Formula is status which categorizes the Authorized and Unauthorized events.
    And in the Summary Field, I am calculating the total number of events.
    In cross tab, Fields are marking the Rows of the cross tab and Formula is making the Columns(Authorized and Unauthorized ) of the cross tab.
    Since in cross tab data is grouped from left to right and sorted by default. I want to remove this default sorting and want to put sorting on the formula for Unauthorized events.
    Is there any way to fulfill this requirement?

    Hi,
    You can assign a number to each Unauthorised field e.g
    Rank   Unauthorised
    1         A
    2         BC
    3         DF
    5         TD
    6         GF
    Then add "Rank" to the crostab Columns before the Unauthorised  field. Then you can control the sorting order on your crosstab.
    Hope this helps
    Regards
    Dotun

  • How can i apply adobe bridge in my ipad 2?

    how can i apply adobe bridge in my ipad 2?

    As when installing an app on a computer, there must be a version for the app that is compatible with the computer and the OS running the computer.
    Is there an Adobe Bridge app for the iPad available via the iTunes app store?

  • Regarding receiving texts as emails:  Can you apply this setting to one individual? I want to continue to receive texts from everyone else except one person!

    Regarding receiving texts as emails:  Can you apply this setting to one individual? I want to continue to receive texts from everyone else except one person!

    Don't want to block the person, just have all his texts going directly to my email so that I can maintain a continuous record of his text contacts (rather than remain in text form).
    It appears that I must select an option that makes ALL texts go to email, which I'd prefer not doing.

  • How can I apply my CS Photoshop membership to a second computer?

    how can I apply my CS Photoshop membership to a second computer?

    Thank You!
    I felt like I was wandering through mazes to get that question to the right
    venue.
    Thanks again,
    Gayatri

  • How can I apply text position attributes (e.g. lower third) to more than one title at a time?

    How can I apply text position attributes (e.g. lower third) to more than one title at a time?

    jhb3243
    What version of Premiere Elements are you using and on what computer operating system is it running?
    In the case of this theoretical lower third to be applied to more than one title at a time
    a. Is there text in the lower third besides a graphic of some kind?
    b. Are all the titles to which this lower third is to be applied all together on the Timeline or scattered?
    If no text in lower third and titles all together, then, with text titles on Video 1 and lower third on Video 2, drag out the lower third to cover the length of the text titles on Video 1.
    I do not find "lower third" title files to be in the same category as certain effects where the Copy and "Paste Attributes" or "Paste Effects and Adjustments" lend themselves so well.
    Let us see what others have to say about all this. I will continue to experiment with what you seek and how you would prefer to get there. I am not optimistic but I will try.
    Thanks.
    ATR

  • Transaction can be applied to stateless session bean

    is transaction can be applied to stateless session beanif yes/no why?

    Just because a stateless session bean is stateless doesn't mean it doens't hold state. The stateless means it shouldn't hold any client state.
    It can hold onto for example the dao objects.
    The idea is that you pass all the client state to the sessionbean when calling it.
    Eg.
    public void doBulkOperation( User user ,string param1, String param2){
    operation1( user, param1 );
    operation2( user, param2 );
    public void operation1( User user ,String param1){
    //do some work involving user
    public void operation2( User user ,String param2){
    //do some work involving user
    now suppose that doBulkOperation, operation1, operation2 are declared as transaction required. doBulkOperation starts the transaction if there isn't one running and joins the transaction. Then operation1 and operation2 join in the transaction.
    Perfectly safe!
    What you're not allowed to do is the following:
    privata User user
    public void doBulkOperation( User user ,string param1, String param2){
    this.user = user;
    operation1( param1 );
    operation2( param2 );
    public void operation1( String param1){
    //do some work involving user
    public void operation2( String param2){
    //do some work involving user
    This would be unsafe because concurrent calls will change the user and produce unpredictable results and possibly corrupting data.
    It will work perfectly thougn if there is only one user or you're using a statefull session bean providing you don't share that bean with several clients.

  • Can we apply select statement on internal table.

    can we apply select statement on internal table.if yes thrn let me know how to do.

    Dear Sachin,
    You cannot use SELECT statement on internal table.
    If you want to select some rows from internal table you can LOOP the table or you can READ the table.
    <u>Please check the following links for your kind reference:</u>
    <b>http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb35de358411d1829f0000e829fbfe/content.htm
    http://www.sap-img.com/ab009.htm
    http://www.itsmarc.com/crs/Clas0302.htm
    http://www.sapdevelopment.co.uk/tips/tips_itab.htm
    http://searchsap.techtarget.com/search/1,293876,sid21,00.html?query=whatisinternaltable&bucket=ALL</b>
    Cheers !
    Moqeeth.

  • Can't apply some master pages to topics

    Hello,
    I have already logged a bug report on this, but I am hoping that someone else has encountered it and has a suggested workaround. I have searched the forums, but I didn't see this issue. We recently upgraded to RoboHelp 8, and we have installed 8.0.1.
    Our help projects typically include multiple master pages (formerly called "templates"). Most topics use the main master page, but a few need to use one of our other master pages that is geared toward a different type of user. Most of our projects have at least 3 master pages.
    After conversion from X5 to RoboHelp 8, in some of our help projects, we cannot apply the lesser-used master pages to topics. We can right-click the topic name or within the Design window and open the Topic Properties, and we can select the correct master page, either from the drop-down list or by clicking the Browse button, and we can click Apply. Initially, the topic will show the master page as being selected; however, the header from that master page will not appear grayed out in the Design window for the topic as it should, and when you save and close the topic, the master page is no longer selected for it. This problem does not occur if I select the master page that is used for most topics; that one gets selected and applied correctly.
    This problem has happened to me and to 2 of my coworkers. I got my problem topics and templates to work, but I tried many things repeatedly and cannot pinpoint what made the problem stop happening. I am currently trying to solve the problem in a coworker's project without success.
    Things I have tried:
    1. Deleting and reimporting the master pages that are not working. (When I do this, RoboHelp crashes.)
    2. Comparing the code of the non-working master pages to the code of the master page that does work. I saw no problems.
    3. Deleting the cpd file while the project was closed and then reopening.
    4. Manually changing the tags that appear in the code of the topics to see if I can fool RoboHelp into recognizing the master page. I tried putting in the meta tag and header placeholder tags, but this did not work.
    Has anyone run into this, and if so, have you found a workaround?
    Thank you,
    Tammy

    This was our error, not RoboHelp's. After trying several different things yesterday, I compared the code of a working master page to that of a non-working master page once again. I discovered an error in some JavaScript, and when I removed the extraneous code, the template worked. I apologize for not finding this before posting! I did try several things before I posted.
    Tammy

  • I can't apply labels to images in version 2.1.1

    Last November 3rd I updated IBooks Author to version 2.1.1 (459). Since that day I can't apply labels to images. I can edit labels for the existing images, but there isn't any label list when I import a new one. If I create a new widget, labels are applied and can be edited.
    I've tested this issue with new documents and existing ones with the same result. I also tried to restore a version 2.1 from my previous TimeMachine backups, but no succes.
    I've being working well since I installed Maveriks, until this version 2.1.1 update. It is a bug? I've read complains about the same failure in the comments of the App Store from Spain. Can I downgrade iBooks author?
    I am finishing a techical book with hundreds of images, so, you know what I am feeling.

    Might be a bug - best to contact Apple directly so they can take a look, I think...
    Global Phone Support
    We have expanded English-language publisher phone support. To make contacting the iBookstore support even easier, new local phone numbers are now available for Australia, France, Germany, Italy, Netherlands, Spain, and the U.K. Support is available Monday to Friday, from 7 a.m. to 5 p.m. (PT).
    Country
    Phone Number
    Australia
    1300 307 504
    Note that this is a low tariff number.
    France
    0805 540 117
    Germany
    0800 664 5307
    Italy
    800 915 902
    Netherlands
    0800 0201 578
    Spain
    900 812 687
    U.K.
    0800 975 0615
    U.S.
    +1 (877) 206-2092
    Toll-free from U.S. and Canada.
    Good luck.

  • CAN I APPLY TEXT TO A PROTECTED DOCUMENT IN WORKSPACE

    I AM TRYING TO FILL OUT AN RFP THAT I DOWNLOADED FROM THE WEBSITE.  IT IS PASSWORD PROTECTED, HOW CAN I APPLY MY TEXT TO THE DOCUMENT?

    It depends on the type of document.
    Please note that there is nothing about Workspaces that alters the document; it's merely a storage location for it. You should contact the person/organization that provided the document to you to ask how they want you to add text to it.

  • How can i apply gradient...

    I have a rectangular shape movie Clip (Size :130px X40 px). I
    want to apply linear gradient on it using action script. Can
    anybody help me how can I apply gradient on it.
    Note: This movie clip is made manually. Not by using
    createEmptyMovieClip method.

    i already checked this -
    MAKE A OVAL ON YOUR STAGE AND GIVE THIS INSTANCE NAME 'ovl'
    (withought single quote) and use the code under
    here i am creating two movie clips on stage --
    1st is 'ovl' and 2nd one is 'mc'
    But to apply gradient on ovl i have to use setMask method
    like this _root.mc.setMask(_root.ovl)
    i do not want to use SetMask... I want to apply gradient
    directly on 'ovl'
    How can i do ??????????????
    // create emtpy movieclip
    mc = createEmptyMovieClip("mc",1);
    // set the constants for the gradient fill
    // the colors
    col = [0x000066,0x0033FF];
    // the alphas
    alp = [100,30];
    // the ratios
    rat = [100,255];
    //this.onMouseMove = function () {
    // we will make a radial gradient
    // and make it move with the mouse
    // first we clear the previous gradient fill
    mc.clear();
    // get the mouse-position
    // the x-coordinate
    x = _xmouse-200;
    // the y-coordinate
    y = _ymouse-200;
    // set the matrix for the transformation
    matrix = { matrixType:"box",x:x,y:y,w:400,h:400,r:0 }
    // now make the new gradient fill
    mc.beginGradientFill("linear",col,alp,rat,matrix);
    // now make the shape to fill
    mc.lineTo(400,0);
    mc.lineTo(400,400);
    mc.lineTo(0,400);
    // end the fill
    mc.endFill();
    _root.mc.setMask(_root.ovl)
    Text
    Text

  • How can i apply different color for each cell in jlist component?

    hi guys i need your help and sorry if my english is very bad..guys how can i apply different colors for each cell in jlist component? for example for the first cell i want to apply color blue, for the second cell i want red, etc... i need your answer guys tnx..
    Edited by: ryrene on Mar 21, 2010 12:13 AM

    ryrene wrote:
    hi guys i need your help and sorry if my english is very bad.
    ..guys how can i apply different colors for each cell in jlist component? for example for the first cell i want to apply color blue, for the second cell i want red, etc... i need your answer guys tnx..I'll see your tnx, and raise you dve bmbrs & nplm.

  • How can i  apply this  java program for  a jsp page?

    import java.io.*;
    import java.util.*;
    public class FileProcessing
      //create a vector container  for the input variables
         Vector variables = new Vector();
      //create a vector container for the constants
         Vector constants = new Vector();
      /*create a string expression container for the equation
         as read from the file */
         String expression = " ";
      //create double result container for the final result
         double result = 0;
         public boolean processFile(String filename,String delim)
          //index for values vector
              int num_values = 0;
          //index for constants vector
              int num_constants = 0;
          //current line being read from the external file.
              String curline = " ";
          //start reading from the external file
              try
                   FileReader fr = new FileReader(filename);
                   BufferedReader br = new BufferedReader(fr);
                   while(true)
                        curline = br.readLine();
                        if(curline == null)
                             break;
                    //determine the type of current interaction
                        boolean variable = curline.startsWith("input");
                        boolean constant = curline.startsWith("constant");
                        boolean equation = curline.startsWith("equation");
                        boolean output = curline.startsWith("result");
                   //on input variables
                        if(variable)
                          StringTokenizer st = new StringTokenizer(curline,delim);
                          int num = st.countTokens();
                          int count=0;
                          while(st.hasMoreTokens())
                               String temp = st.nextToken();
                               if(count==1)
                                    byte b[]= new byte[100];
                                    System.out.println(temp);
                                    System.in.read(b);
                                    String inputval = (new String(b)).trim();
                                    variables.add(num_values,inputval);
                                    num_values++;
                               count++;
                        // on constant values
                        if(constant)
                             StringTokenizer st = new StringTokenizer(curline,delim);
                             int num = st.countTokens();
                             int count = 0;
                             while(st.hasMoreTokens())
                                  String temp = st.nextToken();
                                  if(count==1)
                                       byte b[]= new byte[100];
                                       System.out.println(temp);
                                       System.in.read(b);
                                       String cons = (new String(b)).trim();
                                       constants.add(num_constants,cons);
                                       num_constants++;
                                  count++;
                        // on equation
                        if(equation)
                             StringTokenizer st = new StringTokenizer(curline,delim);
                             int num = st.countTokens();
                             int count = 0;
                             while(st.hasMoreTokens())
                                  String temp = st.nextToken();
                                  if(count==2)
                                       this.expression = temp;
                                  count++;
              // now we are ready to evaluate the expression
                       if(output)
                          org.nfunk.jep.JEP  myparser= new org.nfunk.jep.JEP();
                          myparser.setAllowAssignment(true);
                          for(int i=1;i<variables.size()+1;i++)
                             String name = "arg"+Integer.toString(i);
                             myparser.addVariable(name,new Double(variables.get(i-1)
                                                .toString()).doubleValue());
                          for(int i=1;i<constants.size()+1;i++)
                               String name = "arg" +Integer.
                                         toString(i+variables.size());
                               myparser.addConstant(name,new Double(constants.get(i-1).toString()));
                   //output is obtained as follows
                          myparser.parseExpression(expression);
                          result = myparser.getValue();
                          System.out.println("Assay value: "+result);
              catch(Exception e)
                   System.out.println(e.toString());
              return true;
         public static void main(String[] args)
              FileProcessing fp = new FileProcessing();
              fp.processFile("input.eqn",":");
    }//my text file name is: "input.eqn" (given below)
    input:Enter Value1:arg1
    input:Enter Value2:arg2
    input:Enter Value3:arg3
    constant:arg4
    constant:arg5
    Equation:arg1+arg2+arg3
    result:

    how can i apply this java program for a jsp pagewhy do you want to do this ?
    Your program reads from a file on the disk and formats based on a patterm.
    Jsp is not intended for such stuff.
    ram.

  • Can we apply embedded font in extension to a text layer of Photoshop ?

    Hi All,
    I have embedded some fonts into my Flex extension panel of Photoshop.
    Can I apply these fonts to any text layer?
    Kindly help URGENTLY!
    Thanks,
    D.A

    Here are 3 options for future reference:
    1. With the setup you've described, apply a Match Move behavior to  the text and make the rectangle the source. Change the Transform parameter to Mimic source.  This way you can still adjust the text postion as needed, but the rectangle will drive the animation.
    2. Use a group to do the animation.  Put both your rectangle and text in the same group and animate the group's postion.
    3. Use the Link behavior.
    Each of these has it's advantages depending on what you need.

Maybe you are looking for

  • How to automate File Adapter Configuration

    I am configuring a File Adapter manually then it generates WSDL file and jca files which contains File Adapter configuration. I have XSd file through the XSD can I generate these files (WSDL & jca)?

  • How do i delete a photo in my photo library

    I have photos in my photo library on my phone I want to delete.  How?  Thanks!

  • Using checkboxes to set the category of a value, then add selected values

    Hi there, i'm using columns of checkboxes to set expense categories (Expense Type 1, Type2) once i set the type of expense that it is, i want the NET Value expenses of each category to be added to the bottom of the relevant Expense Type column. thank

  • Oracle Upgrade to 11g issues

    I am in the process of upgrade from 10gR2 to 11gR2. After Installing 11gR2 in a new ORACLE_HOME, i have decided to use DBUA to upgrade the database from 10g to 11g. All my user Table Spaces are on different Mount points. for eg. /u60/app/ORACLE/orada

  • Irrelevant Data getting printed on the Invoice Generated

    Hi SAP Billing Gurus I have facing a printworkbench issue..i will be glad if anyone can provide me with the solution or any other help With TCode EA40(Display Invoice)  I am able to get the correct data in output in the print preview . The Process st