reporting

SSRS: Showing the correct execution time on a two page report?

一笑奈何 提交于 2019-11-30 04:37:28
问题 I'm just wondering how I can show the correct execution time on a report? Until recently I had been using the following in the footer of my reports as a label expression: ="Execution Time: " + IIf(System.DateTime.Now.Subtract(Globals!ExecutionTime).TotalSeconds < 1, "0 seconds", ( IIf(System.DateTime.Now.Subtract(Globals!ExecutionTime).Hours > 0, System.DateTime.Now.Subtract(Globals!ExecutionTime).Hours & " hour(s), ", "") + IIf(System.DateTime.Now.Subtract(Globals!ExecutionTime).Minutes > 0,

Differentiating Backend vs. Frontend Purchases in Magento

拜拜、爱过 提交于 2019-11-30 04:35:29
问题 Is there a way to tell if an order was placed through the frontend of the web site or entered through the administrative panel? 回答1: By default, Magento only stores the remote_ip in table sales_flat_order for an order that is place by customer (while admin order is set to null). So try this: if(!empty($order->getRemoteIp()){ //place online } else{ // place by admin } See Programmatically differentiate between admin & customer-placed orders 回答2: Every order has a store_id , when entered

Export to single HTML with embedded images using Jasper Report

纵然是瞬间 提交于 2019-11-30 04:11:06
问题 Can Jasper Report export to single HTML with embedded images? I have output of jasper reports as single Excel file, PDF, RTF. But multiplay HTML files. It trouble for me to manage not single report file, but many files and folders in HTML case. 回答1: I don't think that jasper reports has built in support for this, so you'd have to roll out your own implementation. You can use this technique to embed them images. <img src="data:image/png;base64,iVBORw0K... " /> So first you'd use java's xml

RDLC - Adding a Data Source in VS2010

断了今生、忘了曾经 提交于 2019-11-29 23:19:26
Greetings. I have an RDLC file and am wanting to add a data source to it, although without any luck so far. The data source is a custom class written by myself (just to add, we do this all the time). We recently converted over to the VS2010 RDLC format which caused some problems, but we've made some changes to our implementation that workaround the more major issues. So, back to the issue at hand, when I attempt to add my data source to the DummyDataSource list in the RDLC view in VS2010 it just does nothing, however it does add the data source to the list of data sources, but you can't select

Generating Reports - What works for you? [closed]

一个人想着一个人 提交于 2019-11-29 23:02:30
I'm looking for a templating tool that allows powerful manipulation of data and report building. JasperReports is powerful, but is it the best out there? I generally don't need the ability for fancy colors or gradients, but I do need the ability to position data accurately and produce reliable, quick results. Ideally, generating a report shouldn't need to be driven by a visual tool, either, and should be entirely API based. Does anyone have real experience with any major reporting framework in a large scale application? Some of the reporting tools I've seen deal primarily with

How do I get a summary count of missing/NaN data by column in 'pandas'?

孤人 提交于 2019-11-29 21:28:57
In R I can quickly see a count of missing data using the summary command, but the equivalent pandas DataFrame method, describe does not report these values. I gather I can do something like len(mydata.index) - mydata.count() to compute the number of missing values for each column, but I wonder if there's a better idiom (or if my approach is even right). Both describe and info report the count of non-missing values. In [1]: df = DataFrame(np.random.randn(10,2)) In [2]: df.iloc[3:6,0] = np.nan In [3]: df Out[3]: 0 1 0 -0.560342 1.862640 1 -1.237742 0.596384 2 0.603539 -1.561594 3 NaN 3.018954 4

When to build a separate reporting database?

守給你的承諾、 提交于 2019-11-29 21:03:01
We're building an application that has a database (yeah, pretty exciting huh :). The database is mainly transactional (to support the app) and also does a bit of "reporting" as part of the app - but nothing too strenuous. Above and beyond that we have some reporting requirements - but they're pretty vague and high-level at the moment. We have a standard reporting tool that we-use in-house which we'll use to do the "heavier" reporting as the requirements solidify. My question is: how do you know when a separate database for reporting is required? What sort of questions need to be asked? What

show only in the first row in crystal reports details section

橙三吉。 提交于 2019-11-29 18:58:15
问题 i have a crystal report and there is a field in details section which currently showing for each row. what's the way to set this field to show only once on the very first row? 回答1: Right-click on the field in Report Designer, select Format Field... , click on the Common tab in the Format Editor dialog, click on the conditional suppression button (the box marked x-2 to the right of Suppress) and enter the formula RecordNumber > 1 . Click Save and close to exit the Suppress Format formula

Excel VBA - Splitting data into report table

天大地大妈咪最大 提交于 2019-11-29 16:19:23
I'm after a bit of help automating a report for work. I have a spreadsheet with a data dump on, as per screenshot below (this is some data I have mocked up for this example). This spreadsheet also has two other worksheets, one has a list of sales reps, the other has the basic template I need to achieve. The data shows potential new business for our sales reps. This data is split down by sales rep, as well as a rating for the new business (hot, warm, lukewarm, general). The template splits each reps data up into a separate table for each rating (i.e on the sheet for "Rep 1", it will have four

SOAP call with query on result (SSRS, Sharepoint)

随声附和 提交于 2019-11-29 15:11:39
I created a report in VS using a shared data source which is connected to a sharepoint list. In the report I created a dataset with a SOAP call to the data source so I get the result from the sharepoint list in a table. this is the soap call <Query> <SoapAction>http://schemas.microsoft.com/sharepoint/soap/GetListItems</SoapAction> <Method Namespace="http://schemas.microsoft.com/sharepoint/soap/" Name="GetListItems"> <Parameters> <Parameter Name="listName"> <DefaultValue>{BD8D39B7-FA0B-491D-AC6F-EC9B0978E0CE}</DefaultValue> </Parameter> <Parameter Name="viewName"> <DefaultValue>{E2168426-804F