How to show x and y axis scale name

hiiiii
I am facing a problem to show scale name while making a line graph using GRAPH_MAtRIX_2D function module .
please tell me how to show scale name using this function????????
is there another way to solve this problem??

You can use the "built xy graph" express VI. (Simply place the xy-graph from the express palette and it will appear).
You can also built your graph in a shift register. For simplicity, I would use a complex array in this case.
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • How to Show floders and documents as a tree structure from path only

    sir,
    I am doing system side project using Java..
    so i want to know how to show folders and documents as tree structure format..
    plz give your idea regarding this?

    See for example Tree taglib in Coldtags suite:
    http://www.servletsuite.com/jsp.htm

  • How to show module and SFP information include hardware serial number on Nexus switch?

       How to show module and SFP information include hardware serial number on Nexus switch?                 Thanks.

    Hi,
    The show inventory command will give you details of the Nexus chassis, power supplies, Supervisor, Fabric, I/O modules (including FEX if you have them) etc. To get the details of the installed SFP/SFP+ then you'll need to use the show interface transceiver command.
    Regards

  • How to show Date and Time with TimeZone

    Dear All,
    I have to show Date and Time with TimeZone abbreviation,
    for example:
    1) 31 March 2011 2:30 in india standard time - it should show in screen 31 March 2011 2:30 IST.
    2) 31 March 2011 2:30 in Australia/New Zealand - Eastern time zone it should show in screen 31 March 2011 2:30 AEST.
    how can i show *Australia/New Zealand - Eastern time zone to AEST*,
    I tried with format DD MMM YYYY HH:MM zzz, and i looked time zone API too.
    Appreciate your help
    Thanks
    Daya

    Dayananda wrote:
    ok, than i have to use zzzz format, as z won't help in my case, so i have to use zzzz which display descriptive value like, Indian Standard Time i.e. ISTPer the javadocs there is a very specific reason why that is a problem especially if you intend to support many timezones in one application.
    "+For compatibility with JDK 1.1.x, some other three-letter time zone IDs (such as "PST", "CTT", "AST") are also supported. However, their use is deprecated because the same abbreviation is often used for multiple time zones (for example, "CST" could be U.S. "Central Standard Time" and "China Standard Time"), and the Java platform can then only recognize one of them+."
    Thus you have one single case where there can be many and moreover it can change (twice a year I believe.)
    There is a standard source for this information although when I tried it it appears to not work.
    If the app only needs to display one zone then provide a configuration value that allows a user to overload the display value.
    If the app needs to display many values then you MUST inform business users of the problem because there are duplicates and they, not you, need to decide specifically what happens in those cases.

  • How to show images and text together in textfield or textbox.

    I want to show text and image both in text field or text box or any other container. I actually want to make an messaging application like msn message chat. Where user can add emotion along with their text messages.
    Do any one have any idea how to do this?

    I am using differnt classes i have a main calss which is a Midlet and than an other class which is a form. Now The midlet has its own form which display initial contents of the application. and than the Other Form class is called to display. But when i try to go back to midlet form The following error occur.
    java.lang.SecurityException: Application not authorized to access the restricted API
         at com.sun.midp.security.SecurityToken.checkIfPermissionAllowed(+40)
         at com.sun.midp.security.SecurityToken.checkIfPermissionAllowed(+7)
         at com.sun.midp.midletsuite.MIDletSuiteImpl.checkIfPermissionAllowed(+8)
         at com.sun.midp.midlet.MIDletState.<init>(+83)
         at javax.microedition.midlet.MIDletProxy.<init>(+5)
         at javax.microedition.midlet.MIDlet.<init>(+13)
         at com.kraysis.NokiaSMSSolution.WMAExample.<init>(+4)
         at com.kraysis.NokiaSMSSolution.ImageTextField.<init>(+13)
         at com.kraysis.NokiaSMSSolution.WMAExample$2.run(+23)
    I think When i create an object of Midlet class than it give me this error.

  • How to show value and unit in different columns

    Hi All,
    I need ABAP help for the below requirement in BI7.0
    Data source contains  the field Amount in local currency (Data source is flat file of CSV format)
    Amount in local currency
           1000  INR
           2000  INR
           1000  GBP
           2000  EUR
    I have to get this value in target like below( value and unit should be in different columns)
    Amount in local currency              0currency
           1000                                           INR
           2000                                           INR
           1000                                           GBP
           2000                                           EUR
    Can any one help me how to declare the data type for  Amount in local currency and how to show this value in two columns in the target.
    Thanks,
    kishore.

    TYPES:BEGIN OF ty_stru,
      s1 TYPE string,
    END OF ty_stru,
    BEGIN OF ty_stru1,
      s2 TYPE string,
      s3 TYPE string,
      END OF ty_stru1.
    DATA:itab TYPE TABLE OF ty_stru,
          wa LIKE LINE OF itab.
    DATA:itab1 TYPE TABLE OF ty_stru1,
         wa1 LIKE LINE OF itab1.
    START-OF-SELECTION.
    "--Input--
    In input 1000 and USD having space
      wa-s1 = '1000 USD'.
       APPEND wa TO itab.
      wa-s1 = '1000 INR'.
       APPEND wa TO itab.
      wa-s1 = '1000 EUR'.
      APPEND wa TO itab.
    "--Input--
      LOOP AT itab INTO wa.
    SPLIT wa-s1 AT space INTO  wa1-s2 wa1-s3.*------> split command
    APPEND  wa1 TO itab1.*---------------->splited value store into another internal table
      ENDLOOP.
    "--Display--
      LOOP AT itab1 inTO wa1.
        WRITE: wa1-s2,
               wa1-s3.
      ENDLOOP.
    "--Display--
    Output:
    1000 USD
    1000 INR
    1000 EUR
    This is simple prgram for split a string into two different string based on space
    regards
    Dharma
    Edited by: dharma raj on Aug 19, 2009 2:01 PM

  • How to set minimum and maximum X scale in the XY graph if i have a X scale time format ?

    Hi,
    i choose in the picture enclosed, a time format for the X scale of the XY Graph.
    The problem is that i am not able to set the minimum and maximum of the X scale: In fact the property nodes of the minimum and maxinum X scales ask for  double as input.
    But i need to set my minimum and maximum X scale to be a time (because I already set the X scale format to a time)
    Could u help me please ?
    Samer,
    Attachments:
    scale.JPG ‏8 KB

    please i have another problem:
    i put the XY Graph in a while loop with maximum and minimum Xscale as property nodes inputs.
    The problem is that when i make a zoom  i can just see the zoom for a little while and then (because of the while loop) the Xscale is updated.
    is there a method so that the Xscale be updated just when i change its value ?
    or Could u tell me how could i zoom properly ?
    Samer,
    Attachments:
    zoom.JPG ‏11 KB

  • IMac screen colour, how to show tints and shades that won't appear

    iMac screen colour, how do I show tints and shades that won't appear on screen
    I have a 2 month old imac, with a great screen. But for some reason I cant  se light shades of colour like 5% of a tint.
    yet on older macs, and a 2 year old imac, i can see them prefectly.
    Some designs have light panels with 5% colours, some a precent of a colour.
    Can anyone suggest a way to calibrate the screen, or set the screen to show all the colours n tints used as accuratley as possible.
    Advice much appreciated

    The fdisk output shows that it is a single GPT disk. Has any disk manipulation been done, like resizing or repartitioning.
    Your GPT looks correct. If you create a Hybrid MBR via gdisk and include partitions 2,3 and 4 and make 4 bootable, does Windows partition show up in Startup and as a separate volume in Finder?
    Please see https://discussions.apple.com/thread/5641066 for Hybrid MBR creation.

  • How to show underline and overline for subtotal and total row in Cross tab

    Hi,
    I am developing cross tab report where i need to show undeline and overline in data for subtotal row and total row so as to distuingish normal rows from subtotal and total row.
    Thanks,
    Mahesh

    Hi BIPuser,
    i looked at the updated template, we need undeline on the data corresponding to subtotal row for ex. row 2.
    We have xml tag in xml data UNDERLINE_AFTER='Y' and UNDERLINE_BEFORE='Y' then we need to show underline and overline on data i.e on 121,122,123,221,222,223 ,not on ROW2.
    value1 value2
    row1 200 300
    row2 400 700
    we need underline and oveline on data 400 and 700 since it is subtotal data based on condition UNDERLINE_AFTER='Y' and UNDERLINE_BEFORE='Y'.
    Hope you understand.
    Please help!!!!!!
    Thanks,
    Mahesh
    Edited by: user13450806 on Feb 2, 2011 12:14 AM

  • How to show English and Arabic in one JTextPane

    Hi,
    Does anyone know how to display English and Arabic in one JTextPane? For English the orientation is left to right while it's right to left for Arabic. So the result might be like:
    hello                    
                &#1587;&#1575;&#1604;&#1578;&#1603; &#1604;&#1610;&#1578;&#1605; &#1575;&#1604;&#1585;&#1583; 
    bye                                             Thanks!
    Alex
    Edited by: alex_46 on Aug 31, 2009 7:54 AM
    Edited by: alex_46 on Aug 31, 2009 7:56 AM

    I think you should be able to do it like this (very psuedo):
    set the pane type to html,
    for your text, have a String with something like:
    <html>
    <div align="left">english</div>
    <div align="right">arabic</div>
    </html>I don't know the exact html for this but something like the above.
    Then set the whole string into your pane.
    patumaire

  • How to show embedded and not embedded font in TextField at the same time?

    Hi guys,
    I need to show embedded and not embedded font in my TextField at the same time. TextField has embedFonts = true and isHTML = true.
    Any ideas?

    Two different font won't work for me because I need to support all UTF glyphs.
    Idea with two TextFields one on top of other seems to be working. The only problem I see here - if half string is Chinese and hand Latin - then it will be quite problematic to properly position text...

  • How to clone X and Y axis?

    I have a barChart with overplot a lineChart, two different series
    barChart.getData().addAll(series1);
    lineChart.getData().addAll(series2);My question: is it possible, and how to, clone barChart axis so to get the same settings for lineChart?
    What I would like to have is a perfect axis settings overlapping.
    Thanks

    Hi bouye thanks for your kind reply: following your suggestion I have modified my code but still I have some problem.
    Below is a sample class, it plots a line chart and by clicking the Add Serie button it adds a scatter chart, and it is all fine.
    This class has three mouse events, one for each axis and one chat.
    Charts can be compressed / expanded by left mouse click and drag on X or Y axis, and chart can be moved left/right and up/down by left mouse click and drag anywhere on the chart.
    I get axis out of sync when move or compress/expand chart.
    Can you help me whit this issue?
    Thank you very much
    import java.util.Set;
    import javafx.application.Application;
    import javafx.beans.property.SimpleDoubleProperty;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.geometry.Side;
    import javafx.scene.Group;
    import javafx.scene.chart.NumberAxis;
    import javafx.scene.chart.XYChart;
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.scene.Node;
    import javafx.scene.chart.*;
    import javafx.scene.control.Button;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.BorderPane;
    import javafx.scene.layout.StackPane;
    public class RescalingSeries extends Application {
    StackPane               mainGraphStackPane = null;
    Button btnAdd;
    BorderPane pane;
    XYChart.Series series1 = new XYChart.Series();
    SimpleDoubleProperty rectinitX = new SimpleDoubleProperty();
    SimpleDoubleProperty rectinitY = new SimpleDoubleProperty();
    protected static Axis _duplicateAxis(Axis axis, Axis result) {
            result.setAnimated(axis.animatedProperty().get());
            result.setAutoRanging(axis.isAutoRanging());
            result.setLabel(axis.getLabel());
            result.setSide(axis.getSide());
            result.setTickLabelFill(axis.getTickLabelFill());
            result.setTickLabelFont(axis.getTickLabelFont());
            result.setTickLabelGap(axis.getTickLabelGap());
            result.setTickLength(axis.getTickLength());
            return result;
        protected static ValueAxis _duplicateValueAxis(ValueAxis axis, ValueAxis result) {
            _duplicateAxis(axis, result);
            result.setLowerBound(axis.getLowerBound());
            result.setUpperBound(axis.getUpperBound());
            result.setMinorTickCount(axis.getMinorTickCount());
            result.setMinorTickLength(axis.getMinorTickLength());
            result.setTickLabelFormatter(axis.getTickLabelFormatter());
            return result;
         * Duplicate a number axis.
         * @param axis The source axis.
         * @return A {@code NumberAxis}, never {@code null}.
        public static NumberAxis duplicateNumberAxis(NumberAxis axis) {
            NumberAxis result = new NumberAxis();
            _duplicateValueAxis(axis, result);
            result.setTickUnit(axis.getTickUnit());
            result.setForceZeroInRange(axis.isForceZeroInRange());
            return result;
         * Duplicate a category axis.
         * @param axis The source axis.
         * @return A {@code CategoryAxis}, never {@code null}.
        public static CategoryAxis duplicateCategoryAxis(CategoryAxis axis) {
            CategoryAxis result = new CategoryAxis(axis.getCategories());
            _duplicateAxis(axis, result);
            result.setStartMargin(axis.getStartMargin());
            result.setEndMargin(axis.getEndMargin());
            result.setGapStartAndEnd(axis.gapStartAndEndProperty().get());
            return result;
    @Override
    public void start(Stage stage) {
        final NumberAxis xAxisLC = new NumberAxis(1, 12, 1);
        final NumberAxis yAxisLC = new NumberAxis(0.53000, 0.53910, 0.0005);
        yAxisLC.setSide(Side.RIGHT);
        yAxisLC.setTickLabelFormatter(new NumberAxis.DefaultFormatter(yAxisLC) {
            @Override
            public String toString(Number object) {
                return String.format("%7.5f", object);
        final LineChart<Number, Number> lineChart = new LineChart<>(xAxisLC, yAxisLC);
        lineChart.setCreateSymbols(false);
        lineChart.setAlternativeRowFillVisible(false);
        lineChart.setAnimated(true);
        lineChart.setLegendVisible(false);
        series1.getData().add(new XYChart.Data(1, 0.53185));
        series1.getData().add(new XYChart.Data(2, 0.532235));
        series1.getData().add(new XYChart.Data(3, 0.53234));
        series1.getData().add(new XYChart.Data(4, 0.538765));
        series1.getData().add(new XYChart.Data(5, 0.53442));
        series1.getData().add(new XYChart.Data(6, 0.534658));
        series1.getData().add(new XYChart.Data(7, 0.53023));
        series1.getData().add(new XYChart.Data(8, 0.53001));
        series1.getData().add(new XYChart.Data(9, 0.53589));
        series1.getData().add(new XYChart.Data(10, 0.53476));
        series1.getData().add(new XYChart.Data(11, 0.530123));
        series1.getData().add(new XYChart.Data(12, 0.531035));
        pane = new BorderPane();
        pane.setCenter(lineChart);
        mainGraphStackPane = new StackPane();
        mainGraphStackPane.getChildren().add(pane);
        Scene scene = new Scene(mainGraphStackPane, 800, 600);
        lineChart.getData().addAll(series1);
        stage.setScene(scene);        
        scene.setOnMouseClicked(mouseHandler);
        scene.setOnMouseDragged(mouseHandler);
        scene.setOnMouseEntered(mouseHandler);
        scene.setOnMouseExited(mouseHandler);
        scene.setOnMouseMoved(mouseHandler);
        scene.setOnMousePressed(mouseHandler);
        scene.setOnMouseReleased(mouseHandler);
        Group root = new Group();
        btnAdd = new Button();
        btnAdd.setText("Add serie");
        root.getChildren().add(btnAdd);
        pane.getChildren().add(root);             
        btnAdd.setOnAction(new EventHandler<ActionEvent>() {
            @Override
            public void handle(ActionEvent event) {       
                NumberAxis xAxisBC = duplicateNumberAxis(xAxisLC);
                NumberAxis yAxisBC = duplicateNumberAxis(yAxisLC);
                ScatterChart<Number, Number> scatterChart = new ScatterChart<>(xAxisBC, yAxisBC);
                scatterChart.setAlternativeRowFillVisible(false);
                scatterChart.setAnimated(true);
                scatterChart.setLegendVisible(false);
                XYChart.Series series2 = new XYChart.Series();
                series2.getData().add(new XYChart.Data(1, 0.53185));
                series2.getData().add(new XYChart.Data(2, 0.532235));
                series2.getData().add(new XYChart.Data(3, 0.53234));
                series2.getData().add(new XYChart.Data(4, 0.538765));
                series2.getData().add(new XYChart.Data(5, 0.53442));
                series2.getData().add(new XYChart.Data(6, 0.534658));
                series2.getData().add(new XYChart.Data(7, 0.53023));
                series2.getData().add(new XYChart.Data(8, 0.53001));
                series2.getData().add(new XYChart.Data(9, 0.53589));
                series2.getData().add(new XYChart.Data(10, 0.53476));
                series2.getData().add(new XYChart.Data(11, 0.530123));
                series2.getData().add(new XYChart.Data(12, 0.531035));
                scatterChart.getData().addAll(series2);
                Set<Node> chartNode = scatterChart.lookupAll(".chart-plot-background");
                for(final Node chr : chartNode){
                    chr.setStyle("-fx-background-color: transparent;");                          
                chartNode = lineChart.lookupAll(".chart-plot-background");
                for(final Node chr : chartNode){
                    chr.setStyle("-fx-background-color: transparent");                           
                mainGraphStackPane.getChildren().add(scatterChart);
                xAxisBC.lowerBoundProperty().bind(xAxisLC.lowerBoundProperty());
                yAxisBC.lowerBoundProperty().bind(yAxisLC.lowerBoundProperty());     
        stage.show();
    EventHandler<MouseEvent> mouseHandler = new EventHandler<MouseEvent>() {
        @Override
        public void handle(MouseEvent mouseEvent) {
            boolean XScaling=false;
            boolean YScaling=false;
           if (mouseEvent.getEventType() == MouseEvent.MOUSE_DRAGGED || mouseEvent.getEventType() == MouseEvent.MOUSE_MOVED ){
                LineChart<Number, Number> lineChart = (LineChart<Number, Number>) pane.getCenter();
                NumberAxis yAxis = (NumberAxis) lineChart.getYAxis();
                NumberAxis xAxis = (NumberAxis) lineChart.getXAxis();
                double Tgap = xAxis.getWidth()/(xAxis.getUpperBound() - xAxis.getLowerBound());
                double newXlower=xAxis.getLowerBound(), newXupper=xAxis.getUpperBound();
                double newYlower=yAxis.getLowerBound(), newYupper=yAxis.getUpperBound();
                double xAxisShift = xAxis.localToScene(0, 0).getX();
                double yAxisShift = yAxis.localToScene(0, 0).getY();
                double yAxisStep=yAxis.getHeight()/(yAxis.getUpperBound()-yAxis.getLowerBound());
                double CurrentPrice=yAxis.getUpperBound()-((mouseEvent.getY()-yAxisShift)/yAxisStep);
                double Delta=0.3;
                if(mouseEvent.getEventType() == MouseEvent.MOUSE_DRAGGED && mouseEvent.getX()<xAxisShift+yAxis.getHeight() && mouseEvent.getY()<yAxisShift+yAxis.getHeight() && (XScaling==false || YScaling==false)){
      //==================================================== X-Axis Moving ==================================
                    if(rectinitX.get() < mouseEvent.getX()){   
                        newXlower=xAxis.getLowerBound()-Delta;
                        newXupper=xAxis.getUpperBound()-Delta;
                    else if(rectinitX.get() > mouseEvent.getX()){   
                        newXlower=xAxis.getLowerBound()+Delta;
                        newXupper=xAxis.getUpperBound()+Delta;
                    xAxis.setLowerBound( newXlower );
                    xAxis.setUpperBound( newXupper );
    //===================================================== Y-Axis Moving ====================================
                    if(rectinitY.get() < mouseEvent.getY()){   
                        newYlower=yAxis.getLowerBound()+Delta/1000;
                        newYupper=yAxis.getUpperBound()+Delta/1000;
                    else if(rectinitY.get() > mouseEvent.getY()){   
                        newYlower=yAxis.getLowerBound()-Delta/1000;
                        newYupper=yAxis.getUpperBound()-Delta/1000;
                    yAxis.setLowerBound(newYlower);
                    yAxis.setUpperBound(newYupper);
    //----------------------------- Re-Scale the X-Axis when dragging below it ---------------------------------
                else if(mouseEvent.getEventType() == MouseEvent.MOUSE_DRAGGED && mouseEvent.getY()>yAxisShift+yAxis.getHeight() ){
                    if(rectinitX.get() < mouseEvent.getX()){   
                        newXlower=xAxis.getLowerBound()+Delta;
                        newXupper=xAxis.getUpperBound()-Delta;
                    else if(rectinitX.get() > mouseEvent.getX()){   
                        newXlower=xAxis.getLowerBound()-Delta;
                        newXupper=xAxis.getUpperBound()+Delta;
                    xAxis.setLowerBound( newXlower );
                    xAxis.setUpperBound( newXupper );          
    //--------------------------------- Re-Scale the Y-Axis when dragging to the left of it --------------------------
                else if(mouseEvent.getEventType() == MouseEvent.MOUSE_DRAGGED && mouseEvent.getX()> (xAxisShift + xAxis.getWidth())){
                    if(rectinitY.get() < mouseEvent.getY()){   
                        newYlower=yAxis.getLowerBound()-Delta/1000;
                        newYupper=yAxis.getUpperBound()+Delta/1000;
                    else if(rectinitY.get() > mouseEvent.getY()){   
                        newYlower=yAxis.getLowerBound()+Delta/1000;
                        newYupper=yAxis.getUpperBound()-Delta/1000;
                    yAxis.setLowerBound(newYlower);
                    yAxis.setUpperBound(newYupper);               
                rectinitX.set(mouseEvent.getX());
                rectinitY.set(mouseEvent.getY());
                if(mouseEvent.getEventType() == MouseEvent.MOUSE_MOVED && mouseEvent.getY()>yAxisShift && mouseEvent.getY()<yAxisShift+yAxis.getHeight() && mouseEvent.getX()>xAxisShift && mouseEvent.getX()<xAxisShift+xAxis.getWidth()){
                double XX=((mouseEvent.getX() - xAxisShift) / Tgap) + xAxis.getLowerBound();
                double YY=CurrentPrice;
                series1.setName(String.format("%.2g%n",XX) + ", " + String.format("%.4g%n",YY));
    public static void main(String[] args) {
        launch(args); 
    }

  • How to show customers and vendors in balance sheet

    hi guru,
    i want to show my customer and vendor balances individually under head debtors and creditors in the balance sheet. that in balance sheet report when i click on debtors or creditors it should be expand and system should show the individually customers balance. how it is possible is there any option while perpairing of FSV to assign the customer and vendors to the debtors or creditors or we will have to open different reconciliation account for individual customer.
    please clear this
    thanks

    This is not possible as standard as the accounts you mention are recon accounts, they should not be open item managed or have line item view to them.
    Therefore against the actual GL you cant see the detail.
    If you have a single Recon for say all of your customers and a different one for your vendors you could look at right a report to display all open documents for customer or vendors per Company Code and then link it to the FSV so when you double click the relevant line it calls the new program.
    This is far fetched, probably very hard to do, but the only way around getting what you want.
    In ERP 6.0 with document splitting active there is the possibilty to drill into the line items of recon accounts.
    Please award points if this is useful.

  • How to show image and file field

    Hi,
    I try to bind DataTable with Sales-Rep_Data_tbl under Order database source (within Creator).
    The columns have IMAGE and RESUME.
    After binding and run, the two fields show no meaning in browser. Should I do some extra work? How do I display them?Thanks!

    Hi, Runak/Creator Team:
    Thanks a lot for quick response!
    I followed the steps there, but after run, the image still couldn't be displayed . It 's just a "X" icon there.
    I don't know the reason.
    If "Sample Application" in tutorial offers similar application to download, it would be wonderful.

  • Help regarding how to show total and grand total

    hi all
    please help me to show the total / grand total fund wise
    i m giving final output that i want
    which functions may i use .
    following is my query
    SELECT MUT_NAME , NATURE , BROK_TYPE ,sum(BROKERAGE) brokerage   FROM (
    SELECT MUT_NAME , NATURE , BROK_TYPE ,BROKERAGE  FROM (
      select mf.mut_name , si.nature ,'UPFRONT' BROK_TYPE ,  sum(up1.paid_brok)  BROKERAGE from upfront_paid up , upfront_paid_dtl upd , upfront_pr up1 , scheme_info si , mut_fund mf
      where up.slab_id = upd.slab_id
      and up.SLAB_ID = up1.paid_slab_id
      and up.sch_code = si.sch_code
      and si.mut_code = mf.mut_code
    -- and si.mut_code = 'MF004'
      group by   grouping sets (  (mf.mut_name , si.nature) ) ROLLUP(MF.MUT_NAME,SI.NATURE)
      UNION ALL
      select mf.mut_name , si.nature ,'TRAIL' BROK_TYPE ,   sum(up1.paid_brok)    BROKERAGE  from TRAIL_paid up , TRAIL_paid_dtl upd , TRAIL_pr up1 , scheme_info si , mut_fund mf
      where up.slab_id = upd.slab_id
      and up.SLAB_ID = up1.paid_slab_id
      and up.sch_code = si.sch_code
      and si.mut_code = mf.mut_code
    -- and si.mut_code = 'MF004'
      group by  grouping sets (  (mf.mut_name , si.nature) ) ) ROLLUP(MF.MUT_NAME,SI.NATURE)
    UNION ALL
    SELECT 'TOTAL ' MUT_NAME , ' ' NATURE , ' ' BROK_TYPE ,SUM(BROKERAGE)  FROM (
      select mf.mut_name , si.nature ,'UPFRONT' BROK_TYPE ,  sum(up1.paid_brok)  BROKERAGE
      from upfront_paid up , upfront_paid_dtl upd , upfront_pr up1 , scheme_info si , mut_fund mf
      where up.slab_id = upd.slab_id
      and up.SLAB_ID = up1.paid_slab_id
      and up.sch_code = si.sch_code
      and si.mut_code = mf.mut_code
      --and si.mut_code = 'MF004'
      group by  grouping sets (  (mf.mut_name , si.nature) ) ROLLUP(MF.MUT_NAME,SI.NATURE)
      UNION ALL
      select mf.mut_name , si.nature ,'TRAIL' BROK_TYPE ,   sum(up1.paid_brok)    BROKERAGE  from TRAIL_paid up , TRAIL_paid_dtl upd , TRAIL_pr up1 , scheme_info si , mut_fund mf
      where up.slab_id = upd.slab_id
      and up.SLAB_ID = up1.paid_slab_id
      and up.sch_code = si.sch_code
      and si.mut_code = mf.mut_code
    -- and si.mut_code = 'MF004'
      group by  grouping sets (  (mf.mut_name , si.nature) ) ) ROLLUP(MF.MUT_NAME,SI.NATURE)))
    GROUP BY grouping sets (MUT_NAME),( NATURE ),( BROK_TYPE)
    ORDER BY MUT_NAME , NATURE , BROK_TYPE 
    Sl. No.     Fund House     Fund Type     Brokerage Type     "Type-wise
    Commission "     Gross Commission
    (1)     Fidelity Mutual Fund     Equity     Upfront Commission     xxx     
                   Trail     xxx     
                   Others     xxx     
              Debt     Upfront Commission     xxx     
                   Trail     xxx     
                   Others     xxx     
    T O T A L :                         xxxxx
    (2)     Franklin Templeton Mutual Fund     Equity     Upfront Commission          
                   Trail          
                   Per Form          
                   AUM Linked          
                   SIP Advance Annual Brokerage          
                   Others          
              Debt     Upfront Commission          
                   Trail          
                   Others          
    T O T A L :                         xxxxx
    CONSOLIDATED TOTAL COMMISSION :                         xxxxxany help appriciated.

    how can i use compute in procedure
    actually i am giving the output from query to ref_cursor and from front end ( .NET) they are fetch rows and show the output.
    i want output as fallows
    fund name -- nature --- brok type --- brokerage
    1] fidelity     equity     upfront       2000
                 equity     trail         1000
                 debth      upfront       1500
                 debth      trail         500
      Fidelity                            5000
    2] abc       --                     
    so on hope this clears you
    Message was edited by:
    Pankaj M

Maybe you are looking for