Report Slow to render with expressions/formulas

Hi, using Report builder 3.0 to view/print transactional documents, eg invoices and orders.
I use table matrix (Tablix) to display the products dataset.
the tablix only has 1 row that just repeats the product information, with 6 columns.
I have simple IIF expressions in about 4 of the columns, yet these expressions slow down the report rendering dramatically.
eg:  =IIf(Fields!part.Value > ".", Fields!ordqty.Value, " ")
also I had an expression to change the backgroundColor on every 2nd row:
=IIf(RowNumber(Nothing) Mod 2 = 0, "Gainsboro", "Transparent")
both of these expressions add so much time to the rendering, if i remove them, then i have a PDF rendered in about 10 secs for a tablix filled with about 300 lines.. otherwise its up around 35 seconds..
is there any optimisation that I can apply to keep the expressions and speed?
thanks
Poy

Is that possible to add this expression in T-SQL? BTW, how long the report (T-SQL or stored procedure) is running? 
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence

Similar Messages

  • Unable to integrate Oracle Reports with Express--(To oracle Team also)

    Hi
    Unable to integrate Oracle Reports with Express. While defining
    the Express database connection using the olap connection editor
    iam getting the following error "Error locating the XCONEDIT.INI
    file. Try re-installing the software".
    what should be done?
    Atleat,If anybody has successfully connected to Express via
    Reports6i. Kindly give the details like what softwares to be
    installed in what HOME? and also other steps involved in the
    process.
    YOur help !!!
    kindly respond...(Oracle Team do respond with something)
    with rgds

    hello,
    check out the notes
    Note:112542.1
    Note:167049.1
    on oracle metalink for further information.
    if you still have issues, please contact oracle support services
    for furhter assistence.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to inlcude all records in a report, with a formula result of 0 or 0?

    I'm reporting on classes scheduled for a certain location, and calculating the number of available seats per class. A formula will give me the net seats available (Max seats-count of students). BUT if there are no students enrolled, class does not appear on the report. Formula is {SCHEDULES.qy_sch_max} - Count ({WAITING_LISTS.no_emp}, {SCHEDULES.cd_crs)
    What am I missing? Currently using Crystal 8.5 and reporting against a SQL database.
    Appreciate your help.
    christi

A: How to inlcude all records in a report, with a formula result of 0 or >0?

thanks, Sanjay - been there done that.
basically, I need to show the net result for the open seats available,which will be the same as the max seats offered.
I tried the following:
If Isnull{WAITING_LISTS.no_emp}
then {@Open}={SCHEDULES.qy_sch_max}
else
{SCHEDULES.qy_sch_max} - Count ({WAITING_LISTS.no_emp}, {SCHEDULES.cd_crs})
and got a message "Missing the then".  (@Open is the formula title)

thanks, Sanjay - been there done that.
basically, I need to show the net result for the open seats available,which will be the same as the max seats offered.
I tried the following:
If Isnull{WAITING_LISTS.no_emp}
then {@Open}={SCHEDULES.qy_sch_max}
else
{SCHEDULES.qy_sch_max} - Count ({WAITING_LISTS.no_emp}, {SCHEDULES.cd_crs})
and got a message "Missing the then".  (@Open is the formula title)

  • Has CS6 fixed the PPro with AE dynamic links slow to render problems?

    I've got PPro with AE dynamic links slow to render problems similar to those discussed in this thread:
    http://forums.adobe.com/thread/904652?start=0&tstart=0
    As I understand it (and I could well be wrong), if I render a PPro project that has AE projects dynamically linked in (anything from simple lower thirds to color grading), during rendering the AE bits run as a service, which limits the AE bits to a single CPU and effectively stops simultaneous rendering of multiple frames. This is why I can get very high render times (essentially no parallel processing), and why messing with the number of CPUs allowed for simultaneous frame rendering, or the amount of RAM said CPUs can access, has little to no effect on total render time.
    Supposedly as some point AE was going to be changed such that it used Media Encoder to do it's rendering (same as PPro does), thus speeding up rendering for any PPro project that has AE parts dynamically linked in.
    Has this been done in CS6? If not, any idea when that's scheduled to happen?

    Jim Simon wrote:
    (I do wish Adobe staff would keep this distinction mind when creating their videos.  When I saw one about the new background rendering in PP, I was interested, only to learn that he was actually talking about background exporting, a feature PP has had since AME was introduced in CS4.)
    The distinction is not so distinct, and this is an industry issue, not really Adobe. After Effects has a render queue, which is used for exporting, but you can also export. Lightwave has this, even Avid. The terms do have their own distinct meanings, but of course context is usually required. So usually "rendering previews" or "rendering final output" serve as context-sensitive uses of the term.
    Terminology abuse is widespread, even people with video cameras now call themselves "filmmakers" and people who produce films never shown nor intended for a cinema call themselves "cinematographers." ENG video producers are called "photogs" and news photographers are called "photojournalists."
    Transcoding, encoding, rendering, exporting....mish-mashed unfortunately, but thankfully most people can figure out what's meant.
    Back to the OP - After Effects can be used with Adobe Media Encoder, it's just not the default. You can import any composition into AME from AE and render your encoded export.
    As for background rendering....I remember when Pinnacle Liquid was the first to the table with that feature back in 2004 or 2005. It seemed awesome, except that you needed a ton of spare hard drive space and lots of processing to keep the background rendering going...effecitvely your processor was in use 100% of the time. When you weren't scrubbing or playing back, Liquid was rendering previews. Of course, you could use those previews during export but you rarely would have wanted to do so, since it was better quality to reference the original data when compositing the layers and effects to output to a web file, for instance. Then  you had to keep cleaning up the preview cache.
    I rarely render previews at all, and when I do it's just a small segment at a time, just to get a full look at the final composite. Mercury Playback is usually more than capable of playing back most of my edits the rest of the time.

  • Report on BEx query with 2 structures (one in rows and one in columns)

    Hi, experts! I have to make Crystall report on BEx query with 2 structures, one in columns (with KF's), and one in rows. Is it possible to create such report? Because when I create such report, I cant see fields in structures, only characteristics fields.
    Ok, I found samr problem in another thread. Sorry.
    Edited by: Mikhail Sychev on Dec 5, 2009 9:53 PM

    Hey Flora,
    Happy to hear that its working now.
    Answering your question, again its upto the connection and report format you are using. Based on your question i hope you your report output should be like this.
    You cannot map to two labels for the series, again this report format is possible only in cross tab through Webi. I would suggest you to concatenate the material and month in a dimension in webi like below.
    I have done the concatenation in excel level, i would suggest you to do that in webi. Try to reduce the formula as much in excel.
    or
    If you are using Query browser connection, then i would suggest you to create a separate report which will display the actual vs plan material wise, here you need to pass the material as a prompt.
    Hope this helps in clear, please revert me for any clarification.

  • Creating Profile type report that hold fields with multiple values

    Really hoping someone can please help me out as I am very new to Crystal Reports.
    We use Maximizer CRM and we have been in need of some custom reports to rule out risk for regulators. I contacted Max and they suggested the only possible way is to create through Crystal. Its been almost one month already and I still cannot for the likes of me get this report operating properly. I have been inside and out on all sorts of forums, posted topics but no luck! So I will give it one more attempt in hopes that one of you geniuses can show me the way.
    In Maximizer CRM there is date, numeric, alphanumric and table. Our table fields items can be set to either single value or multi-value. So in crystal i did a default join of Client.tbl and the user-defined fields from view and joined the client id and contact number from all the view fields to client table. See Image:
    and I have dragged all the relevant fields in rows (in details section) rather then columns because we would be reporting on more then 1 record at a time. My problem is - If there is a table with multiple items selected (values), the records triple in count and it will show the same record over and over with just single field value changing at a time.
    The formula field you see in the image is from when I posted a discussion and Abhilash assisted me by providing the formulas I should add:
    1) Create a formula with this code and place this on the Details Section:
    whileprintingrecords;
    stringvar s := s + {field_with_multiple_values} + ", ";
    2) Next, move all the fields (except the formula field above) from the Details section to the Report Footer
    3) Create a formula with this code and place this on the Report Footer. This field would replace the existing field that contains multiple values:
    whileprintingrecords;
    stringvar s;
    Left(s, len(s)-2);
    This method is not working out for this type of report. When I add the formula Crystal is still counting my 2 records as 5 records but I can only view it as a single record and the multi-field has all the values for both records and displaying as a single record. See image:
    Can anyone please assist and advise where I am going wrong?
    -Jared

    Hi Jared,
    Thanks for taking down memory lane that is Maximizer.  Nice to see their table structure hasn't been simplified in the last 20 years.
    If I understand what's happening, you should only see 2 records and not 5.  That means your joins are creating duplicate records.  For now I'm going to skip over trying to optimize your query because I still have bad dreams of linking Maximizer tables.
    There are a couple of ways to work around the duplicates, one is to create a group and instead of having your formula in the Detail section, put it in the Group Header.  The question is what would you create your group on that would get you a unique record?
    If you know where the duplicates are coming from, create a Record Selection Formula that will remove the duplicates.
    There is also the menu option Database | Select Distinct Records.  I've never really had success with this one but there's no harm in giving it a shot.
    I would have you try and find which table or combination of tables is generating the duplicates but that requires playing with your links.  Normally I'd start by adding one table at a time and dropping one field onto the report.  If it doesn't repeat then add another table and field and repeat until you get your duplicates.  Once you know where they are coming from then you can either drop that table from your query or create a selection formula that removes the duplicates.
    Good luck,
    Brian

  • Slow down issue with Premiere CS4 on a Mac pro

    I am having a similar slow down issue with Premiere CS4 on a Mac pro, but I don't have bloated prproj file size.
    Here is what I am working with:
    Mac Pro intel quad core 2.8ghz
    OSX 10.6.7 Snow Leopard
    6Gigs RAM
    3TB storage between 4 drives, each drive with about 50% free space
    I am editing a 10 minute HD video from avchd files.  The edited video is very heavy in photoshop files with a variety of different fx including green screen.  The system has slowed down to almost a standstill.  Anytime I move the playcurser, or try to do any action, it displays the spinning top "thinking" icon and takes 15 seconds to several minutes to unfreeze.  I am often forced to force quit and I have gotten unexpected quits several times.   The program also freezes on startup frequently.
    No other programs are running.  When I export with media encoder, it took about 4 hours to complete.  The last 4 or so photoshop images I added seemed to tip the program over the edge.  It had been slowing down some, but those last few really dropped the processing speed.  Before those additions, export took 30 min to 1hr.
    I did delete the render files (did not check if the file size was bloated beforehand, oops) but it has not significantly affected my performance.

    Do you need all of those extra pixels in the stills? Are you panning the full 4976?
    Two things to consider are that if you using, say a 1920 x 1080 Sequence Frame Size, you can only see that at any time, regardless of how large the images are in pixels. If there are extra pixels, i.e. the Pan is not using all 4976 pxls., I would Scale to just what you need in PS, prior to Import.
    If you are doing any Scale in PrPro, its Scaling algorithms are not as efficient, as those in PS. [Note: CS5 and 5.5 are a major improvement on that statement.]
    With many large stills (the max for CS4 is 4096 x 4096, if there ARE extra pixels, pushing those around will use up resources, and quickly. As a test, some years back, I was working on a "photo wall," and was using 4000 x 4000 images. The workstation had no issues with slowness, until I got to the 5th large still. By the 8th, the Project was too slow to edit. I had to wait for everything. Luckily, I have AE, and it handles large stills much more efficiently, and much differently, than PrPro. I just moved to an AE Comp, and completed the Project, finishing up n PrPro, after I Exported from AE.
    Just something to think about. With Scaling in PrPro, this is one time, where bigger is not necessarily better.
    Good luck,
    Hunt

  • Slow Moving Materials with qty

    Dear Experts,
    Is there any report to see the slow moving Materials with stock qty ?
    Regards,
    Manish Jain

    Please check this answered link:
    Slow Moving Report
    slow  moving report
    Edited by: Afshad Irani on May 19, 2010 10:38 AM

  • Copy paste text from pdf exported from Microsoft.Reporting.WinForms.ReportViewer control with Czech specific characters produced box charactex or ?.

    Used Visual studio 2012. In our project there is used the Microsoft.Reporting.WinForms.ReportViewer control. In the report handled by the control are TextBoxs with a text with Czech specific characters e.g. (ř, ě, ...) . When exporting the report to pdf,
    characters are displayed correctly. However when the text with czech characters in the pdf if copied and  placed into the seach box in the pdf document only box characters are displayed. The TextBox in the report use the default font Arial. When the report
    is exported to Word, and then the Word document is saved as a pdf document, its ok. Coping a text with Czech charactes in the result pdf document and pasting into the search box displays again Czech characters not box characters.
    Also when in the report handled by the ReportViewer control are several Tex Boxes and some of the boxes contains Czech characters and some not, after exporting to a pdf document there is problem with text selection. When in the pdf document I'm trying to
    select several paragraphs, some with Czech characters and some without them, selection behaves strangely and jumps from one paragraph to another unexpectedly.

    Hi,
    did you managed to avoid those squares?
    BTW: if any such char. is encountered in a line, the entire line of text is grabbled.
    I've tried even the ReportViewer from MSSQL 2014, but got the same problem. When I've tried IL Spy, I found a code, where it is checked if the PDFFont is composite - depending on that a glyph is created. But that still only a guess.
    I've tried Telerik's reporting, they have similar problem (beside other), but not with the special characters. They produced scuares for some sequences like: ft, fi, tí.
    Please give any info you got.
    Until then my advices for you:
    a) try JasperReports (seems theyre most advanced, although it is java)
    b) Developer express has quiet quality reports - and it seems they got those special chars. right :D
    c) I created a ticket and waiting for Telerik's response (but if I had to choose reporting, I vould stick with a) or b)

  • Slow calc time with SET CREATEBLOCKONEQ OFF for block creation

    Hello everyone,
    I have a problem with the slow execution of one of my calc scripts:
    A simplified version of my calc script to calculate 6 accounts looks like this:
    SET UPDATECALC OFF;
    SET FRMLBOTTOMUP ON;
    SET CREATEBLOCKONEQ ON;
    SET CREATENONMISSINGBLK ON;
    FIX (
    FY12,
    "Forecast",
    "Final",
    @LEVMBRS("Cost Centre",0),
    @LEVMBRS("Products",0),
    @LEVMBRS("Entities",0)
    SET CREATEBLOCKONEQ OFF;
    "10000";"20000";"30000";"40000";"50000";"60000";
    SET CREATEBLOCKONEQ ON;
    ENDFIX
    The member formula for each of the accounts is realtively complex. One of the changes recently implemented for the FIX was openin up the cost center dimension. Since then the calculation runs much slower (>1h). If I change the setting to SET CREATEBLOCKONEQ ON, the calculation is very fast (1 min). However, no blocks are created. I am looking for a way to create the required blocks, calculate the member formulas but to decrease calc time. Does anybody have any idea what to improve?
    Thanks for your input
    p.s. DataStorage in the member properties for the above accounts is Never Share

    MattRollings wrote:
    If the formula is too complex it tends not to aggregate properly, especially when using ratios in calculations. Using stored members with member formulas I have found is much faster, efficient, and less prone to agg issues - especially in Workforce type apps.We were experiencing that exact problem, hence stored members^^^So why not break it up into steps? Step 1, force the calculation of the lower level member formulas, whatever they are. Make sure that that works. Then take the upper level members (whatever they are) and make them dynamic. There's nothing that says that you must make them all stored. I try, wherever possible, to make as much dynamic as possible. As I wrote, sometimes I can't for calc order reasons, but as soon as I get past that I let the "free" dense dynamic calcs happen wherever I can. Yes, the number of blocks touched is the same (maybe), but it is still worth a shot.
    Also, you mentioned in your original post that the introduction of the FIX slowed things down. That seems counter-intuitive from a block count perspective. Does your FIX really select all level zero members in all dimensions?
    Last thought on this somewhat overactive thread (you are getting a lot of advice, who knows, maybe some of it is good ;) ) -- have you tried flipping the member calcs on their heads, i.e., take what is an Accounts calc and make it a Forecast calc with cross-dims to match? You would have different, but maybe more managable block creation issues at that point.
    Regards,
    Cameron Lackpour

  • Extending network range with express device

    I'm trying to determine how to improve my wifi signal at work.  My office network is set up with a cisco router unfortunately and I purchased an airport express in order to try boost the signal I'm receiving.  I prefer using my macbook air over my pc laptop for which I purchased a wireless adapter that is basically a plug in antenna.  The signal is greatly improved on my pc.  In order to accomplish the same thing for my mac, can you configure the express to boost the signal in addition to having my printer connected to it.
    I have had no issue joining the existing office network and my printer, while a little on the slow side works with both my pc and macbook.  Any thoughts if you can use the extreme device to improve signal strength of a non-airport network or is there something else on the market that would help?

    Unfortunately, most non-AirPort routers are not compatible with Apple's implementation of Wireless Distribution System (WDS)...so it very unlikely that your non-AirPort router can be extended wirelessly with the AirPort Express Base Station (AX).

  • APEX report sorting makes report slow

    Hi,
    I have some reports in APEX that are fast (3 sec) when I have no sorting enabled and they turn slow (20 sec) when I enable column sorting.
    The reports are based on data running over a DB-link, all tables come from the same DB-link. When I launch the queries (with filled in parameters) in SQL+ then it takes no more then 5 sec (with or without sorting). The result is about 1000 to 2000 records (only showing 25 in the report with pagination).
    How can I make the report fast (less then 5 sec) with sorting enabled?
    Is there any known bug in APEX that is the source of my problem?
    Thanks in advance.

    Good point, but I already have recreated the report (delete and recreate) with no result. Cause I know that sometimes the reports run slow, cause they are somehow confused with the sorting, and in most cases it helps to recreate the report (which resets the report ID, so that it's like clearing the user preferences).
    First I thougt it had to do something with the user preferences, but I think that it is something different.
    I really don't know how to explain the time difference between SQL+ and APEX.

  • Oracle Reports 6.x and Oracle Express Server

    What are the benefits of using Oracle Reports in conjunction with Oracle Express Server? We are currently using OFA for planning and forecasting, and are evaluating Oracle Reports as a tool to produce and publish key financial reports for a large user community. Is there any benefit in using Oracle Reports rather than just creating and publishing the reports directly within OFA?
    Thanks,
    Bill

    Bill,
    we tried to use Reports 6i with Express server. There were many troubles.
    1. It is very hard task to establish connection Reports/Express
    2. It is not possible to enter parameters for the reports
    3.There are limitation on the number of dimensions in the report
    Regards
    Joseph Schwertner

  • How do I render Math expressions in my JSP pages?

    Hi,
    I am sort of a beginner using JSF. I am currently working on a project, where I need to render Math expressions such as fractions, square-roots, power-functions etc.
    The problem is, that currently all I am able to do is to use the standard text operators such as '/', '^' etc. I would like to have 'real' math expressions rendered.
    Does anyone know how to do this easiest? Is there any tag-libs available for doing so?
    I realize it is doable using HTML, but because of the design of my application, it is not an option to insert HTML directly into the JSP pages.
    Thanks in advance :)
    Best Regards
    Thomas

    Thank you for the quick answer!
    My problem is not to do the math, my problem is how to display the math on the JSP page. I want to display fractions, power-functions, square roots with the actual mathmatical symbols, not the symbols mentioned above (/, ^, sqrt, etc.).
    Does anyone know how to do this, or if there exists any taglibs?

  • Reports & Microsoft SQL Server 2012 Express LocalDB support policy

    Hello,
    Willing to move some databases into Microsoft SQL Server 2012 (2014) Express LocalDB, I have tryed to map some reports on that database.
    Using OLE DB SQL Native Client (v11) and SAP CR RunTime SP10 (>SP9), I still have trouble when using this data source:
    After drawing some simple reports (standard ones with 2-3 fields from the database):
    - VS designer:
    + when "checking database" or "getting a preview" of the report, it always complains about missing tables.
    + when trying to "re-map" tables from one SQL Server 2012 Express LocalDB to another one it fails, complaining about not findind resources.
    - Running application (.NET 4.0, 32 or 64-bits):
    + without any change to the report configuration: CR Viewer complains with multiple error codes (17, ...) that it cannot find the tables
    + trying to change the configured database from the report: CR VIewer complains with some more error codes
    => Is Microsoft SQL Server 2012 Express LocalDB now officially supported by CR ?
    => Is changing datasource/database configuraton during execution now officially supported by CR ?
    Feel free to provide an any links / howto's / white paper about how managing Microsoft SQL Server 2012 Express LocalDB with SAP CR !
    Many thanks in advance.
    Regards.

    Don,
    I did not want you to think that I am not willing to change anything...
    The issue is that LocalDB specs (http://msdn.microsoft.com/en-us/library/ms130822(v=sql.110).aspx) are not (seems not) fulfiled by what SAP APIs provide.
    Following specs, I need to provide ADO DB/SQL Native Client v11 an "AttachDBFileName" property which, for LocalDB instance, is equal to the DatabaseName property (check below screenshot from MS Mgmt Studio connected to a SQL Server 2012 LocalDB instance).
    Moreover, OLEDB discovery provide in CR 2013 UI this same list of "DatabaseName":
    When connected, this same CR 2013 UI got the right "view" of connected "MDF-labelled" names:
    Moreover, CR connected datasource properties also provide an "initial catalog" (databasename) value with that "MDF-labelled" name:
    That is what I saw previously in API dumped objects and what I tryed to reproduce in my code:
    As previously explained, after adding tables, I am also beeing able to add fields from those tables in my fresh-new report document:
    It fikrst shows results in preview but as soon as I try to refresh / add some more fields / ask CR to "check database" / "change database source", the interface always complain about having "lost" objects:
    Site note for Ludek Uher: CR 2013 StandaAlone fresh-new builded reports are not working neither using CR runtime SP10 when opening/updating that report..
    So YES, I am OK to change whatever is required but please explain me what to use/put into the "crConnectioninfo.DatabaseName" property for a SQL Express 2012 LocalDB case.
    Or leave it as is, LocalDB not being supported by CR ...
    (all my reports & c# code are working well while using SQL Express 2012 "classic" (not localdb)).
    Thanks again for your time.
    Regards.

  • Maybe you are looking for