reporting-services

How do I format date and time on ssrs report?

99封情书 提交于 2019-12-17 10:32:50
问题 on SSRS report I need to show todays date and current time i tried this =FormatDateTime(Now,"MM/dd/yyyy hh:mm tt") but this is not working for me giving an error. Anyone please help me for expression ? I want output display like 4/12/2013 12:05 PM 回答1: =Format(Now(), "MM/dd/yyyy hh:mm tt") Output: 04/12/2013 05:09 PM 回答2: If the date and time is in its own cell (aka textbox), then you should look at applying the format to the entire textbox. This will create cleaner exports to other formats;

Viewing SSRS Reports in an ASP.net MVC Site

僤鯓⒐⒋嵵緔 提交于 2019-12-17 10:16:25
问题 Is there a way to put a SQL Server Reporting Services report viewer control on an ASP.net MVC view? If not...what is the best way to accomplish this? 回答1: No, not in a MVC view. But you can have a web forms pages which have server controls in them mixed in with your MVC site. Hmm, just googled "mix asp.net mvc and web forms" to find some examples, and google questioned whether I'm human or not :) Anyway, here's a link - http://www.packtpub.com/article/mixing-asp.net-webforms-and-asp.net-mvc -

How to handle IIF or Switch divide by zero giving #ERROR?

笑着哭i 提交于 2019-12-17 10:07:51
问题 I tried using IIF and Switch case, but I am unable to handle N/A case when there would be a divide by zero error. For example: =switch( ReportItems!Textbox54.Value = 0, "N/A", ReportItems!Textbox54.Value <> 0, ((ReportItems!Textbox56.Value) / (ReportItems!Textbox54.Value))) I am getting N/A with out this: ReportItems!Textbox54.Value <> 0, ((ReportItems!Textbox56.Value) / (ReportItems!Textbox54.Value) But if add this condition I am getting an error? I am using SSRS 2008 R2. Output: 19.47% 13

How to get total of top 10 sales in SSRS 2012

一笑奈何 提交于 2019-12-17 09:55:11
问题 I am taking Top 10 of Sales Volume grouped by Product categories in SSRS 2012. I need the total of these top 10 but it shows the complete total. I cant do it on dataset level as I need the complete dataset for other parts in the report. I tried the solution as given in MSDNlink but that didn't help either. Thanks in advance. 回答1: This sort of approach does actually work very well. You haven't given any idea of what your data/metadata is like, but the concepts can be explained with a simple

SSRS - How to build a simple multi-column report?

感情迁移 提交于 2019-12-17 05:13:04
问题 I am new to SSRS, so forgive my newbieness. I am using Sql Server 2008 and I want to show 1 single field from a table in multiple columns in the report. Just like if I were to print labels. How can I achieve this? Example: Instead of printing: Names Report Andrea Austin Barbara Bob Bruno Cathy Chis ... I want to print in columns (say 3 fixed columns): Names Report Andrea ---- Bruno ---- Darren Austin ---- Cathy ---- Francis Barbara ---- Chis ---- Gabriel Bob ---- David ---- Gerald ....... ---

Changes to parameter not showing on Report Server after deployment

青春壹個敷衍的年華 提交于 2019-12-17 04:36:51
问题 I have 7 parameters (3 multi select of string, 1 DateTime, 3 string values) in my SSRS 2008 report, and I have set all the parameters as null in the default value . It's working fine in my preview window of Visual Studio 2008. But after deployment to my report server, the "NULL" checkbox for the parameter is not checked , causing the report not to get loaded at initially. 回答1: This is "by design": When you first deploy reports, parameters are uploaded with all their settings. Administrators

SSRS 2008 R2 - SSRS 2012 - ReportViewer: Reports in Safari/Chrome but works fine in Firefox/Internet Explorer 8… why?

♀尐吖头ヾ 提交于 2019-12-17 03:47:26
问题 I have some simple reports in SSRS 2008 R2 , but they won't display at all in Safari or Chrome. According to Microsoft's Books Online, these browsers are supported in limited fashion. However, I can't see anything after the data "Loading" clock completes. The parameter bar and bread crumb navigation section at the top of the page are all there. Also, I can Save/Export to any format on Safari and Chrome. It just won't display the report section itself, which is just blank. Am I supposed to use

Compare SQL Server Reporting Services to Crystal Reports [closed]

主宰稳场 提交于 2019-12-17 03:22:00
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . Locked . This question and its answers are locked because the question is off-topic but has historical significance. It is not

Left Outer Join Not Working?

ぃ、小莉子 提交于 2019-12-17 02:31:54
问题 I have a query pulling data from three tables using LEFT OUTER JOIN for both joins. I need the query to return the left most (Salesrep table) info even if the there is no corresponding data in the two right tables (prescriber and prescriptions, respectively). When I run this query without the date parameters in the WHERE clause, I get the expected return, but as soon as I include the date parameters I get nothing returned where there is no matching data for a salesrep. I need to at least see

SSRS report with 32-bit Oracle Client Not working in 64-Bit Environment

冷暖自知 提交于 2019-12-14 04:26:05
问题 I have a SSRS report using 32Bit Oracle client build in BIDS 2008, Report is running fine in BIDS (VS 2008) but when deployed to Report Manager on Win2k3 64 Bit Server it is failing with the following error "Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed." I have gone through several articles which are suggesting to Enable IIS to 32Bit using csscript Enable32Biton64