Report on max(calendar_dt)

Hi,
I have a fact table, where data loads for every month end...
I have to build a report, where I need to show the revenue for the max(calendar_dt).
In the front end when I pulled calendar_dt and in edit formula, did max(calendar_dt) and pulled the revenue.
But, instead of giving revenue for a particular date , it is calculating for all months and giving the result.
Example, say for march 2013 I want revenue which should display 20,000.Instead it will displaying for all the months in that table.
Please help me how to achieve this report
Thanks & Regards,
SR

Hi SR,
In Fx of Revenue column use FILTER( fact.REVENUE using dim_Date .Month_end = MAX(dim_Date.MONTH_END))
thanks,
Saichand

Similar Messages

  • Report only MAX value in a query

    I have two tables I'm joining, a one to many relationship exists.
    1 -> Many
    A -> B
    I want a few columns from table A in the report, along with a couple columns from table B.
    Contents of table B are:
    Product
    Start_Date
    Last_Activity_Date
    Sample of data from table B:
    PRIMARY,08/24/2007,08/24/2007
    PRIMARY,08/24/2008,08/20/2009
    PRIMARY,08/30/2008,08/26/2009
    PRIMARY,08/01/2009,08/30/2009
    How do I code the query so that only the last row is returned (the one with the highest Last_Activity_Date)? I originally thought I could use MAX(Last_Activity_Date) but that isn't working.
    Discoverer's original code:
    SELECT /*+ FIRST_ROWS */
         A.ASSOCIATE_NO Assoc_No,
         A.CLIENT_NO Clt_No,
         A.CLIENT_NAME Clt_Name,
         A.ACTIVE_EMP_CNT EE_Cnt,
         B.START_DATE Start_Date,
         ' ' AS Filler_Col
    FROM A, B
    WHERE ( (A.ID = B._ID)
    AND (A.ID = B.ID(+)))
    AND (A.PREMIER = 'Y')
    AND ( (A.STATUS IS NULL)
    GROUP BY A.ASSOCIATE_NO,
         A.CLIENT_NO,
         A.CLIENT_NAME,
         A.ACTIVE_EMP_CNT,
         B.PRODUCT,
         B.START_DATE,
         B.LAST_ACTIVITY_DATE
    HAVING (B.PRODUCT_NAME(+) = 'PREMIER'
    AND B.LAST_ACTIVITY_DATE(+) = MAX (B.LAST_ACTIVITY_DATE(+)))
    ORDER BY 1 ASC, 2 ASC;
    Discoverer's code isn't working the way I want it to. It returns all rows from table B.
    How can I code it so that only the row with the highest Last_Activity_Date is returned?
    Thanks for all your help,
    Gary F.

    Hi,
    There are 2 ways of doing this:
    You can create a rank calculation:
    rank() over (partition by client_name, client_no /* and any other columns from A */ order by last_activity_date desc)
    then create a condition where your rank calculation =1.
    Or you can create max calculations for each column in table B and then don't have any conditions. So for your start_date calculation you would have:
    max(start_date) keep (dense_rank last order by last_activity_date)
    The second method is generally the best.
    Rod West

  • Generate XML report using MAX Generate report.vi

    Hi All,
    Caught in simple and wierd problem. I'm using a simle VI called MAX Generate Reoprt.vi to generate an XML report but getting error
    Error code -2147220553
     Error description :Incorrect report file extension provided.
    The image of the block diagram is attached. I'm able to generate HTML reoport from MAX(absolutely no probs).
    Thanks in advance
    Regards
    VDC
    Attachments:
    Error_in_MAX.JPG ‏7 KB

    You must have the correct file extention. Here's what is wirtten in the detailed help of the function:
    output filename specifies the filename of the generated report.
    You must have the correct extension for the type of report to generate (.xml, .htm, .html, or .zip).
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • Reporting on Max beans ever in cache

    In the Weblogic 5.1 console, for Distributed Objects/EJB/Deployed Beans, on
    the properties tab there are values for max beans ever in cache and max
    cache size. Is there some way to access these values through a java class
    (or some other way) so that I can do a report to see what EJBs have come
    close to reaching their max cache size. We have over 500 beans deployed and
    need some way to pro-actively check these values. I did not see any API doc
    for the console on the website.
    Thanks

    You can start by looking at this example:
    http://dima.dhs.org/misc/WLStats.jsp
    and serverinfo utility at
    http://developer.bea.com/code/alpha.jsp
    Chip Whiteside <[email protected]> wrote:
    In the Weblogic 5.1 console, for Distributed Objects/EJB/Deployed Beans, on
    the properties tab there are values for max beans ever in cache and max
    cache size. Is there some way to access these values through a java class
    (or some other way) so that I can do a report to see what EJBs have come
    close to reaching their max cache size. We have over 500 beans deployed and
    need some way to pro-actively check these values. I did not see any API doc
    for the console on the website.
    Thanks--
    Dimitri

  • Report required max and min value on daily basis

    Hello EXPERTS
    I have requirement to create a report. Requirement is like this. I have a dealer say d1. This dealer has 6 supervisor say sup1, sup2, sup3…..sup6. Daily they open jobcards.
    suppose on 1st march sup1 opened 6 jobcard, sup2 opened 4, sup3 8 and so on. similarly on 2nd march sup1 opened 5 sup2 6 sup4 15 and so on.
    I have all dimension and facts are available.
    The report should display this
    -------------------------------------------------- 1-Mar ---------2-Mar
    Max no of open jobcard per sup------ 8--------------- 15
    Min no of open jobcard per sup------- 4----------------- 5
    Your help will be much apriciated
    Regards

    Hello David,
    Thanks for response. But the below solution is not meeting our requirement. By doing this, it is giving the total no of Jobcard opened on a particular date.
    I have a requirement , suppose on 1st march supervisor 1 opens 20 jobcard, sup 2 opens 25 jobcards and sup 3 opens 15 jobcards. So, if i am selecting max value then my result should be like this
    March 1 --------------------------- 25
    Regards
    Niraj

  • HR-BW report for Travel Expense report(Urgent, max. points awarded)

    Hi All,
    Could anyone please tell how to write a spec to create a BW report for Travel Expense report. or how can we know from which tables can the data be extracted for Personal number, name of the EE, Trip number, Trip duration, Trip begin date, Trip end date, trip destination,  reason for the trip, total cost, reimbursement amount, paid by company, additional amount, total miles/Km,  cost center, CoAr, Status of the trip
    Its very urgent. Please Help!!!!
    Regards,
    Latha

    Hi Latha,
        PR05 is the Tcode for Travel expense Manager where the data will be posted  and The table is PTRV_HEAD   where the data get stored .
    Regards,
    Narendra Kumar Katuri.

  • REPORT BUILDER: MAX. NUMBER OF RECORDS PER PAGE

    Dear Consultant,
    Using DEVELOPER 2000 R2.1 REPORT BUILDER, is there any way to set the " MAXIMUM NUMBER OF RECORDS PER PAGE" dynamically by user input when calling the report, without the need to modify the report at Design time and recompile it?
    Thanks for your help.
    Ghia Haidar
    Developer
    Astrolabe IT - Professional Consultants
    Beirut, Lebanon
    Phone: + 961 1 841.050
    Fax: + 961 1 841.055 www.astrolabe.com.lb
    null

    Refer Manish question.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Ali DHAINI ([email protected]):
    Dear Consultant,
    Using DEVELOPER 2000 R2.1 REPORT BUILDER, is there any way to set the " MAXIMUM NUMBER OF RECORDS PER PAGE" dynamically by user input when calling the report, without the need to modify the report at Design time and recompile it?
    Thanks for your help.
    Ghia Haidar
    Developer
    Astrolabe IT - Professional Consultants
    Beirut, Lebanon
    Phone: + 961 1 841.050
    Fax: + 961 1 841.055 www.astrolabe.com.lb
    <HR></BLOCKQUOTE>
    null

  • Report generation, max size

    Hi all.
    I'm working on a pressure and temp system acquisition. I'm saving the data every 5 sec in a database, then i have 17280 data in 1 day. ¿Can I run a report (Report Generation Tool) directly from the database showing data trends from a entire week? (120960 points) The trends (graphics) are not importants in 1 day and that's the reason because i need to process one week. How can do this??
    Thanks and BR.
    Saludos.

    Hi,
    Yes, it's possible to do it, and we have a lot of examples inside LabVIEW, here is attached one of them where you can create graphs in Excel using the Report Generation Tool.
    If you have any problems using it, please inform us.
    Thiago Matos
    Engenharia de Aplicações
    National Instruments Brasil
    Attachments:
    Bar Graph Excel.vi ‏27 KB

  • MAX create report for cRIO doesn't contain software and devices

    I am trying to create an html report which docoments the software and devices for a cRIO remote system using the MAX -> Remote Systems -> cRIO System -> Create Report -> Custom Report utility.
    The MAX Configuration Report that was generated contains identification, configuration and system monitor information but does not contain software and device information, available using MAX.
    What can I do to create my desired report using MAX?

    Not sure what version of NI-RIO or MAX you have, but I'm running MAX 14.5 and RIO 14.0.1 and my report shows both what software is install and the hardware configuration for everything that shows up under Devices and Interfaces.
    Here is a link to MAX 14.5.
    http://www.ni.com/download/ni-system-configuration-14.5.0/5158/en/

  • A big problem of Generate report with PDF format....Urgent

    I want to generate a report with pdf format through one java file, it have two page 1)gen_report.jsp 2) report_gen.java , the compliation was failed. However, i don't what the problem is .... i hope anyone can help me as it is very argent for me ....Thanks a lot
    1)gen_report.jsp
    <table  id="AutoNumber1">
       <tr>
         <td background="images/top5movie.png">
         <p align="center"> </p>
        </td>
       </tr>
       <tr>
       <td >
          <div align="center">
            <table id="AutoNumber2" >
                  <form method="GET" action="../report_gen" name="report_gen" target="_blank" onSubmit="javascript:return checkr1(this)">
                    <tr>
                      <td ><b>Report Description:</b></td>
                      <td >This report is to show the top five popular movies in cinemix for a period </td>
                    </tr>
                    <tr>
                      <td><b>Data scope:</b></td>
                      <td >Start from
                      <input type="text" name="start" value="2003-1-1" >to
                      <input type="text" name="end" value="2006-1-1" ></td>
                     </tr>
                     <tr>
                      <td><b>Data processing:</b></td>
                      <td >Show
                        <select name="order_by">
                          <option value="desc" selected>top</option>
                          <option value="asc">bottom</option>
                        </select>
                      5 films</td>
                    </tr>
                    <tr>
                      <td> <p align="center">
                          <input type="submit" value="View_Report" name="subm">
                        </p></td>
                    </tr>
                    <input type="hidden" name="report" value="r1">
                  </form>
                  <form method="GET" action="../report_gen" name="report_gen" target="_blank" onSubmit="javascript:return checkr2(this)">
                    <input type="hidden" name="report" value="r2">
                  </form>
                </table>
         </div>
          </td>
        </tr>
      </table>Then my java code is here
    report_gen.java
    import java.io.*;
    import java.net.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    import java.sql.*;
    // chart and pdf out
    import java.awt.Graphics2D;
    import java.awt.geom.Rectangle2D;
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import org.jfree.chart.ChartFactory;
    import org.jfree.chart.JFreeChart;
    import org.jfree.chart.plot.PlotOrientation;
    import org.jfree.data.category.DefaultCategoryDataset;
    import org.jfree.data.xy.*;
    import org.jfree.data.xy.XYBarDataset;
    import org.jfree.data.general.DefaultPieDataset;
    import org.jfree.data.statistics.SimpleHistogramDataset;
    import org.jfree.data.xy.XYSeries;
    import org.jfree.data.xy.XYSeriesCollection;
    import com.lowagie.text.Document;
    import com.lowagie.text.DocumentException;
    import com.lowagie.text.Rectangle;
    import com.lowagie.text.pdf.DefaultFontMapper;
    import com.lowagie.text.pdf.PdfContentByte;
    import com.lowagie.text.pdf.PdfTemplate;
    import com.lowagie.text.pdf.PdfWriter;
    import com.lowagie.text.*;
    import com.lowagie.text.pdf.*;
    import com.lowagie.text.pdf.PdfPCell;
    public class report_gen extends HttpServlet
       private final String titles[] = {"Top Five popular movies ",
                        "Financial cirumstance of cinemas",
                        "Distribution of time segment",
                        "Distribution of favourite movie type"
       private final String descs[] = {"This report is to show the top five  popular movies in cinemix for a period ",
                   "This report is to show the financial circumstance of each cinema site ",
                   "This report is to analysis the customer when is the most visit time ",
                   "This report is to analysis the customer which type of movie do they watch the most"
        private final String bigTitle = "Cinemix";
        private final String driver = "org.gjt.mm.mysql.Driver";
        private final String url= "jdbc:mysql://localhost:3306/cinemix";
        private final String userID = "abc";
        private final String passwd = "abc";     
        public void init(ServletConfig config) throws ServletException
          super.init(config);
       protected void doGet(HttpServletRequest request, HttpServletResponse response)
       throws ServletException, IOException
          final int width = 550;
         final int height = 200;
    / title font (centre and report title)
         final Font fTitle0 = FontFactory.getFont("Helvetica", 42, Font.BOLD);
         final Font fTitle1 = FontFactory.getFont("Helvetica", 30, Font.BOLD);
              // centre name:
        final String title0 = bigTitle;
       // Default category for DefaultCategoryDataset
       final String cat = "data";
       Connection conn;
      JFreeChart chart;
       String title1     = "xyz Report";
       String chartDesc = "description";
       String notes[] = new String[4];
       String chartTitle = "so bad this is title";
       String chartXTitle = "this is x";
       String chartYTitle = "this is y.";
       String report = request.getParameter("report");     
       int max=-10000;
       int min=10000;
       int j=0;          
      // do some basic checking
       if (report == null || report.equals(""))
         report = "-1";  // this course unknow report error message
         String start   = request.getParameter("start");
         String end  = request.getParameter("end");
         String order_by  = request.getParameter("order_by");  // ToDo: check invalid string
           int topN  = 5;
        String order = (order_by.equals("desc")) ? "Top" : "Last";
       String inv[] = {"08:30", "09:30", "10:30", "11:30", "12:30", "11:30", "12:30", "13:30", "14:30", "15:30", "16:30", "17:30","18:30","19:30","20:30","21:30","22:30","23:30"};
         int inv_val[] = new int[inv.length - 1];
         try
            Class.forName(driver).newInstance();
             catch(Exception e)
            printE("Cannot load mysql database driver!", response);
              e.printStackTrace();
               return;
           try
                 conn = DriverManager.getConnection(url, userID, passwd);
                  if (report.equals("r1")) {  // report 1
               DefaultCategoryDataset dataset = new DefaultCategoryDataset();
              Statement stmt = conn.createStatement();
              String sql = "select *,count(f.Name),f.Name from film f, filmDetail fd, ticket t where f.startDate > '" + start + "' and f.endDate <  '" + end + "'and fd.filmID = f.filmID and fd.filmDetailID = t.filmDetailID group by f.name order by fd.filmDetailID asc limit '" +topN+"'";
              ResultSet rs = stmt.executeQuery(sql);
            while (rs.next())
           if (rs.getInt("fd.filmDetailID") > max) max = rs.getInt("fd.filmDetailID");
         if (rs.getInt("fd.filmDetailID") < min) min = rs.getInt("fd.filmDetailID");
          j++;
           ataset.setValue(rs.getInt("fd.filmDetailID"), cat,rs.getString("f.Name"));
           title1     = titles[0];
         chartDesc  = descs[0];
         chartTitle = order + " " + topN + " popular movie";
          chartYTitle = "Box Office record";
          chartXTitle = "Film Name";
          gender = " ";
          chart = ChartFactory.createBarChart(chartTitle, chartXTitle,   chartYTitle, dataset,PlotOrientation.VERTICAL, false, true, false);
        else
              print("Error: I don't inderstand your request!", response);
         return;
           catch (SQLException e)
         printE("Cannot open database connection? <br>", response);
         // printE(e.toString);
      e.printStackTrace();
      return;
         response.setContentType("application/pdf");
         Document document = new Document(PageSize.A4, 5, 5, 5, 5);
        try
             PdfWriter writer;
         writer = PdfWriter.getInstance(document, response.getOutputStream());
        HeaderFooter footer = new HeaderFooter(new Phrase("Page: "), true);
         footer.setBorder(Rectangle.NO_BORDER);
    document.setFooter(footer);
                   footer.setAlignment(Element.ALIGN_CENTER);
                   // step 3
                   document.open();
                   document.add(getHeader(title0, title1, start, end, gender, order, topN, chartDesc));
                   document.add(printChart(chart, writer));
                   document.add(getFooter(notes));
              catch(DocumentException de)
                   de.printStackTrace();
              // step 5
              document.close();
              return;
         }// end doGet()
         /** Handles the HTTP <code>POST</code> method.
          * @param request servlet request
          * @param response servlet response
         protected void doPost(HttpServletRequest request, HttpServletResponse response)
              throws ServletException, IOException
              // processRequest(request, response);
         /** Returns a short description of the servlet.
         public String getServletInfo()
              return "Generate reports for " + bigTitle;
         /* To print en error and exit(?) */
         private void printE(Object obj, HttpServletResponse response) throws IOException
              response.setContentType("text/html");
              PrintWriter out;
              out = response.getWriter();
              out.print(obj.toString());
              out.close();
              // To-Do: how to force exiting?
         // create data chart
         private PdfPTable getHeader(String title0, String title1, String start, String end, String sex, String order, int topN, String desc)
              Font fTitle0 = FontFactory.getFont("Helvetica", 42, Font.BOLD);
              Font fTitle1 = FontFactory.getFont("Helvetica", 24, Font.BOLD);
              Font fTitle3 = FontFactory.getFont("Helvetica", 12, Font.BOLD);
              Font fValue = FontFactory.getFont("Helvetica", 12, Font.UNDERLINE);
              Paragraph parStartEnd = new Paragraph();
              parStartEnd.add(new Phrase("Data start from:                  ", fTitle3));
              parStartEnd.add(new Phrase(start, fValue));
              parStartEnd.add(new Phrase("     to     ", fTitle3));
              parStartEnd.add(new Phrase(end, fValue));
              Paragraph parGenerateDate = new Paragraph();
              parGenerateDate.add(new Phrase("Report generated at:         ", fTitle3));
              parGenerateDate.add(new Phrase(new java.util.Date().toString(), fValue));
              Paragraph parGender = new Paragraph();
              parGender.add(new Phrase("Current show gender:       ", fTitle3));
              parGender.add(new Phrase(sex, fValue));
              Paragraph parTopN = new Paragraph();
              parTopN.add(new Phrase("Now is showing                 ", fTitle3));
              parTopN.add(new Phrase(order, fValue));
              parTopN.add(new Phrase("  ", fValue));
              parTopN.add(new Phrase(new Integer(topN).toString(), fValue));
              parTopN.add(new Phrase("   record(s)", fTitle3));
              // Start main table
              PdfPTable tblMain = new PdfPTable(1);
              tblMain.getDefaultCell().setBorder(0);
              // Print title
              tblMain.getDefaultCell().setHorizontalAlignment(Element.ALIGN_CENTER);
              tblMain.addCell(new Paragraph(title0, fTitle0));
              tblMain.addCell(new Paragraph(title1, fTitle1));
              tblMain.addCell("");
              tblMain.addCell("");
              tblMain.addCell("");
              // Print headers data
              //tblMain.getDefaultCell().setHorizontalAlignment(Element.ALIGN_RIGHT);
              //tblMain.addCell(parInvoiceNum);
              //tblMain.addCell("");
              tblMain.getDefaultCell().setHorizontalAlignment(Element.ALIGN_LEFT);
              tblMain.addCell(parStartEnd);
              tblMain.addCell("");
              tblMain.addCell(parGenerateDate);
              tblMain.addCell("");
              if (sex != " ")
                   tblMain.addCell(parGender);
              else if(order != null && topN > 0)
                   tblMain.addCell(parTopN);
              else
                   tblMain.addCell(" \n");
              tblMain.addCell("");
              tblMain.setWidthPercentage(96);
              tblMain.addCell(new Paragraph("Description of this report:", fTitle3));
              tblMain.addCell(desc);
              tblMain.addCell("\n");
              // Finish main table
              return tblMain;
         // print a chart _directly_ to pdf and return a empty Pdftable...
         public PdfPTable printChart(JFreeChart chart, PdfWriter writer)
              PdfContentByte cb = writer.getDirectContent();
              int width = 550;
              int height = 450;
              PdfTemplate tp = cb.createTemplate(width, height);
              Graphics2D g2d = tp.createGraphics(width, height, new DefaultFontMapper());
              Rectangle2D r2d = new Rectangle2D.Double(0, 0, width, height); //->,
              chart.draw(g2d, r2d);
              g2d.dispose();
              cb.addTemplate(tp, 20, 170);
              // quick method to push down the footer text
              // the only things this method return
              PdfPTable tblDownDown = new PdfPTable(1);
              tblDownDown.getDefaultCell().setBorder(0);
              tblDownDown.addCell(" \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n");
              tblDownDown.addCell(" \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n");
              tblDownDown.addCell(" \n \n \n \n \n \n");
              return tblDownDown;
         public PdfPTable getFooter(String notes[])
              Font fNote = FontFactory.getFont("Helvetica", 14, Font.UNDERLINE);
              Font fComment = FontFactory.getFont("Helvetica", 12, Font.ITALIC);
              Font fTitle1 = FontFactory.getFont("Helvetica", 30, Font.ITALIC);
              // Start footer table
              PdfPTable tblFooter = new PdfPTable(1);
              tblFooter.getDefaultCell().setBorder(0);
              if (notes != null)
                   tblFooter.addCell(new Paragraph("Notes:", fNote));
                   tblFooter.addCell("");
                   tblFooter.addCell("");
                   tblFooter.getDefaultCell().setHorizontalAlignment(Element.ALIGN_LEFT);
                   for (int i=0;i<notes.length;i++)
                        if (notes[i] != null)
                             tblFooter.addCell(new Paragraph("" + (i+1) + ". " + notes[i] + "", fComment));
                             tblFooter.addCell("");
                             tblFooter.addCell("");
                        tblFooter.getDefaultCell().setHorizontalAlignment(Element.ALIGN_CENTER);
                        tblFooter.addCell(new Paragraph("- End of report -", fComment));
                        return tblFooter;
    }

    Go to the cache directory and see if you can open the report directly from here (not in IE).
    I have seen posts on problems with Acrobat Reader Plugin for IE (I believe it was version 6 of Reader).

  • Same select max is very slow in one program but fast in another

    Hi,
    I have a report that becomes very slow these few months. I used SQL trace for the report and found out its these codes that slow down the report:
    SELECT MAX( mkpf~budat )
                  FROM mkpf
        INNER JOIN mseg
                       ON mseg~mblnr = mkpf~mblnr AND mseg~mjahr = mkpf~mjahr
                    INTO posting_date
               WHERE mseg~werks  = w_matl-batch_reservations-werks
                     AND mseg~charg  = w_matl-batch_reservations-charg
                     AND mseg~bwart  IN ('261', 'Z61').
    The thing is these codes have been used in different system, DEV, QAS, and PRD. But only in PRD it is very slow, other systems are pretty fast.
    I even created a local copy of that report in PRD, with the same code. The local file runs fast and perfectly. But the original code is just slow.
    Just wondering if anybody met this problem too? any ideas??

    Hi Liu,
    Index creation is not a advisable solution.Please follow the existing indexes by adding Mandt field.
    Try like this
    SELECT MAX( mkpf~budat )
                  FROM mkpf
        INNER JOIN mseg
                       ON mseg~mblnr = mkpf~mblnr AND mseg~mjahr = mkpf~mjahr
                    INTO posting_date
               WHERE mseg~mandt = sy-mandt
                      AND mkpf~mandt = sy-mandt
                      AND mseg~werks  = w_matl-batch_reservations-werks
                     AND mseg~charg  = w_matl-batch_reservations-charg
                     AND mseg~bwart  IN ('261', 'Z61').
    Hope it will be helpful.
    Regards,
    Kannan

  • Deski "max # rows" defaulting to 65K when document is refreshed

    Post Author: irishman1
    CA Forum: Desktop Intelligence Reporting
    Product:   Desktop Intelligence
    Version:  11.5.0.0
    Patches:  SP2
    Operating System:  Windows XP 5.1 Service Pack 2
    I am creating a simple report in Deski which contains approx 100K rows of data.  My "max # rows" is set to 1M.  The report returns the data correctly.  When I hit the refresh button to re-run the report, my "max # rows" changes to 65K and the report returns "partial data".  Is there a way to set my "max # of rows" to stay at 1M?  I can run the same report in Webi and it runs correctly giving the correct number of rows upon first run and subsequent refreshes.

    Post Author: ttloges
    CA Forum: Desktop Intelligence Reporting
    I think that whoever your administrator is has to increase the max for you, this is I believe done on a universe level (i.e., he can't just increase the max rows for a single user like yourself, the increase will be made for all users of the universe your using).

  • MAX DB Release Notes / Negative Side Affects

    Hi
    we are just in the process to patch our PI 7.0 SP10 System to SP14
    Are you aware of any Release Notes that I could get for MAX DB 7.6.03.14?
    Or does SAP provide any kind of negative Side affect Reports for MAX DB like they do for SPs?
    Thanks
    regards
    Nesimi

    I believe you run 'show interface fc x/y transceiver detail', it will provide the current light levels as well as the minimum and maximum limits.
    Thank You,
    Dan Laden

  • Improving Report Performance

    Hi HTMLDB Team,
    I need some of the undocumented HTMLDB information to improve the performance of the Reports, which will be of useful to every one.
    I have a Customer table, which has 1 Million records in it. It has the following columns:
    First Name, Last Name, Customer ID, State.
    I have a Report Region (PL SQL Block returning the Query), which directly picks up records from this table.
    User can filter Customer Records by any of the above-mentioned column.
    With out any sorting I am getting the response in 2 seconds.
    But If I put Sort on any of these columns my response time goes to 1 min.
    I have index on all the columns too.
    If the user applies any filter like "State=NY" or "First Name=Balaji" I am getting the response in 2-3 seconds.
    Now I want to keep the Report Response time within 2-3 seconds. (Without any filter condition and sorting on some column say "First Name".)
    In order to achieve this I want to add dynamically some filter conditions to the original query. when there are no filter conditions specified by the user.
    My approach is based on the assumption that user will be shown only the first 500 records of the query results (This is the normal HTML DB report behavior and I don't want to increase the Report Region max count beyond 500)
    My Original Report region query is
    SELECT * FROM CUSTOMER ORDER BY FIRST_NAME. -- It is taking 1 minute to returns all 1 million records out of which we are showing only the first 500 records.
    If I rewrite this query as
    SELECT * FROM CUSTOMER WHERE FIRST_NAME < 'B' ORDER BY FIRST_NAME. -- Takes 2 seconds and returns more than 1000 records.
    Now I can use the second query to show the records if the user did not specify any filters and he will be shown only the first 500 records.
    Now my issue is if the user changes the Sort Order to "Last Name" then the above query will not work and I need to change my query as
    SELECT * FROM CUSTOMER WHERE LAST_NAME < 'B' ORDER BY LAST_NAME.
    Similarly if the user selects State as the Sort Order
    SELECT * FROM CUSTOMER WHERE STATE="AK" -- Will definitely give me > 500 records.
    Also I need to consider whether the user is sorting in Ascending or Descending order too.
    From where can I get this Report Sort Order information in HTML DB?
    If you can provide this information, it will be of great use to all HTML DB folks.
    Regards
    Balaji. C

    Hi!
    What exactly did you find at mentioned link regarding report performance ... it is not about performance issues for reports ... id is about navigation from a report row to a page.
    Please, can you tell more exactly what thing solved your solution?
    I have the same situation, a query runing about 1 second dirrectly on the database from SQL Developer, but from APEX page it takes about 55 seconds.
    Thank you.
    Edited by: bustiuci on Nov 15, 2008 9:46 PM

  • Restricting chart records according to Report no. of Records per page

    Hi
    I am calling a column chart from Report using custom Query and I am mapping the Chart Column property in Report respectively to the chart.
    The Repeating frame with respect to the Reports Records 'Max. records property' is set to 2. Hence the chart and the Report records are on the 3 pages as the Total records are 6.
    But the chart is plotting all the 6 records even though the Report populates only 2 records per page. I require it to plot only respective records of the Report for that page in the chart not all the 6 records.
    Pl. let me know how to Proceed
    Thanks
    Prakash H L

    Pagination settings have always been cached for the duration of the session. After changing the rows per page value in the report attributes, either log out, restart the brower, and log in again, or manually re-request the page from the browser address bar, adding 'RP' in the ClearCache position in the URL.

Maybe you are looking for

  • FCE making me cry, lol. I edit down size of my video to fit screen and render, then it goes back

    So my video that I sized down to fit the screen then went back to large again. Every time I have to render its time consuming and I feel like it's every other minute...anyone have tips?

  • Media Card Undetected!

    I accidentally removed the Curve (connected as USB) to the PC. Phone was on and the it can't detect the media card's presence (can't access files 0 music, 0 pics). I tried to reset it (turn off, remove and put card back) and the phone was still havin

  • Shopping cart approval

    Hi Experts, We have following scenario to be implemented: Item based approval is being used for approval of shopping cart. The approvers are determined in BADI. The approver for a line item is taken as the owner of cost center which is assigned to th

  • Org.apache.regexp.*

    Hi all I am trying to import org.apache.regexp.* but looks like I didn't put correct zip file on classes directory. Can anyone please advice, which zip file belongs to org.apache.regexp.* Thanks Ziaul

  • Is any number restriction on Parameter values

    Hi, defined below statements in header section.when i use 30daycredit giving error as "Unknown expression at EOF: 30dayCredit" But when i use "thirtydaycredit" it's working fine.just want to check is any problem by using number in parameter values. h