reporting

RDLC expression resulting in #error

一笑奈何 提交于 2020-01-11 09:49:08
问题 I have two decimal fields, profit and revenue. They are displayed in a tablix control, each has their own column. In a third column, I want to divide profit by revenue. The result when either of those fields is zero is #error, this I'm guessing is due to the dividing by zero. I came up with the following expression to solve this: =iif(Cint(Fields!revenue.Value) = 0 orelse cint(Fields!profit.Value) = 0 ,"",FormatPercent(Fields!profit.Value / Fields!revenue.Value,2)) That expression still

Is a fact table in normalized or de-normalized form?

99封情书 提交于 2020-01-11 04:55:14
问题 I did a bit R&D on the fact tables, whether they are normalized or de-normalized. I came across some findings which make me confused. According to Kimball: Dimensional models combine normalized and denormalized table structures. The dimension tables of descriptive information are highly denormalized with detailed and hierarchical roll-up attributes in the same table. Meanwhile, the fact tables with performance metrics are typically normalized. While we advise against a fully normalized with

AppPool Permission Issue with Accessing Report Server

两盒软妹~` 提交于 2020-01-10 08:50:48
问题 I have a SQL Server 2008 R2 Report Server running on a Windows 7 machine as well as an ASP.NET application. The ASP.NET application makes requests to the Report Server to display a list of reports, render reports, etc. My ASP.NET application successfully gets the list of reports but when it tries to render a report I get the following error: The permissions granted to user 'IIS APPPOOL\DefaultAppPool' are insufficient for performing this operation. (rsAccessDenied) Description: An unhandled

VB.Net: How to use an Object data source in report (.rdlc)

白昼怎懂夜的黑 提交于 2020-01-10 03:18:06
问题 My question is similar to this one but I'm having some problems with the actual implementation. I've got a report (.rdlc) in the business layer of a 3-tier app. I've got an object in the BL ( EmployeeManager ) which has a GetEmployees(Expression as Expression(Of Func(Of Employee, Boolean))) As IQueryable(Of Employee) method. As I didn't want to try and pass a lambda in directly (at least not until I've got something working), I've created a ReportData class in the BL which wraps the

Print JasperReports client-side?

亡梦爱人 提交于 2020-01-09 08:05:42
问题 I have developed a web application that uses JasperReports. I noticed that the reports are printing server-side. How do you make the reports print client-side (from the web browser)? Any insights will be helpful. 回答1: Presuming you have a Servlets-based architecture: Get a handle on the HttpServletResponse instance with HttpServletResponse response = this.getThreadLocalResponse(); (for instance). Set the various headers to indicate a file attachment. HttpServletResponse response =

Print JasperReports client-side?

佐手、 提交于 2020-01-09 08:03:07
问题 I have developed a web application that uses JasperReports. I noticed that the reports are printing server-side. How do you make the reports print client-side (from the web browser)? Any insights will be helpful. 回答1: Presuming you have a Servlets-based architecture: Get a handle on the HttpServletResponse instance with HttpServletResponse response = this.getThreadLocalResponse(); (for instance). Set the various headers to indicate a file attachment. HttpServletResponse response =

How to capture and display information external to my webapp, but relevant to users of it?

Deadly 提交于 2020-01-06 12:59:06
问题 We work on a Django app for researchers that manages research data. Upstream of the app itself there are bas scripts that move data around until the app can reach it. (Different deployments of the app use different kinds of upstream scripts). Now, those scripts produce status information like "Instrument X is down" which users would want to know about. In fact, we'd like to have a status box on the front page showing several of these statuses (so on a good day, you see a row of green lights).

Trying to create a search/copy/paste VBA code

痞子三分冷 提交于 2020-01-06 08:00:39
问题 I am new to VBA and I'm trying to automate a reporting function on a spreadsheet which requires manual work that could be avoided. I have created the below code but I keep on receiving error messages. I will explain what I am trying to achieve and hopefully we will find a solution to this issue. I have two sheets, and I want to look into column L of Sheet1 and for all cells that has "NO" for value, I want to copy the value in column A of the same row, and paste it in the last row of Sheet2 in

Trying to create a search/copy/paste VBA code

偶尔善良 提交于 2020-01-06 07:59:05
问题 I am new to VBA and I'm trying to automate a reporting function on a spreadsheet which requires manual work that could be avoided. I have created the below code but I keep on receiving error messages. I will explain what I am trying to achieve and hopefully we will find a solution to this issue. I have two sheets, and I want to look into column L of Sheet1 and for all cells that has "NO" for value, I want to copy the value in column A of the same row, and paste it in the last row of Sheet2 in

Keeping same number of columns at cross tab report

六月ゝ 毕业季﹏ 提交于 2020-01-05 10:30:21
问题 I have a cross-tab report which similar to this Problem is when there are no data to one month that column won't appear in the report. I would like to keep the same number of column even there are empty values for the row data. Is it possible to achieve in cross-tab reports?? Thanks 回答1: This is a problem more with the underlying dataset. You have two options: Modify your query to always return data even for "empty" groups Hardcode the columns into the cross-tab Option 1 is probably the best