Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all 10045 articles
Browse latest View live

SSRS 2016 Mobile,Tabular Date column not recognized as Date in Dataset

$
0
0

Hey guys, I am currently attempting to build a mobile report that using a dataset from a Tabular model.  One of the Columns in the dataset is a Date column called FullDate.  Within the tabular model itself this column is marked as a Date data type and the table is marked as the date table.  

Within the Mobile Report publisher the column doesn't seem to be recognized as a date.  This is preventing me from using the time slicer and time charts in my report.  Is there something that I'm missing?

I used the Query Builder to create a simple two column select as an example...It output the following MDX:

 SELECT NON EMPTY { [Measures].[SumQtyPartsInvoiced] } ON COLUMNS, NON EMPTY { ([Master_dim_Calendar].[FullDate].[FullDate].ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_VALUE, MEMBER_UNIQUE_NAME ON ROWS FROM [Model] CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS



SSRS 2016 Mobile using Parameterized Tabular for URL Access Fails

$
0
0

This is done on a SQL 2016 SP1 box

I'm currently trying to create a mobile report that will be accessed via URL while passing in a parameter value to the shared dataset.  I can't seem to get the URL access with the parameter value to work correctly.

Within VS I've created a shared dataset against our tabular model that returns 2 columns and uses a dimension as the filter.  It looks like this:

After I click ok and go to the parameters section I can see that a parameter is created for the dataset and is given the default value from the previous step.

When I create a Mobile report and pull in the dataset it recognizes it as a parameterized dataset.

If I click the cog I can set the default value here as expected.

I then set up my report and save it to the server.  When i access the report using the direct URL it works as expected using the following link:

http://server/instance/mobilereport/tabularmobile/tabulartest

However when i try to pass in the parameter for the tabular dataset I get an error.  I've tried two different ways to pass it in:

the first method is using the default value that was created in the dataset which is

"\[Member_dim_Organization\].\[BKOrganizationBaseOrgKey\].&\[001-06H-4NC\]"

http://server/instance/mobilereport/tabularmobile/tabulartest?DataSet3.MemberdimOrganizationBKOrganizationBaseOrgKey=%5BMember_dim_Organization%5D.%5BBKOrganizationBaseOrgKey.&%5B001-06H-4NC%5D

And 

http://server/instance/mobilereport/tabularmobile/tabulartest?DataSet3.MemberdimOrganizationBKOrganizationBaseOrgKey=001-06H-4NC

Both Parameter URLs give me the error:

Could not load mobile report

The report may be misconfigured, the data may not be available, or the server version may be unsupported.

report not working in chrome?

$
0
0

Hi experts,

I never had issues with ssrs: I use both IE and firefox; and most of the users I create reports for, use the same.

There is a few group of users that have tried one of my reports in Chrome, and after they click on “View Report”, the result doesn’t get loaded in the page.

Of course, same report works perfectly in IE or firefox.

Why it’s not working in Chrome?

Mobile Reports - Bugged Pie Chart when summing negative values

$
0
0

Hello team, 

Spotting an issue with the pie chart in Mobile Reports. The value in the center of the Donut Chart is parsing negative figures as positive ones, so the total value shows an incorrect amount. Unreliable chart.



Sort report by totals -column

$
0
0

I've created an SSRS report in Report builder and I'm displaying it in SharePoint 2010.

What I would need to do is to sort according to my totals -column.

My report structure is as follows:

The first and column second columns are the ID and the name of a customer. There are over 35.000 consolidated customers in the database.

The third column is the column which I would like my report to be sorted upon. It gives the sum (Amount_EUR) of all different productlines sold to the customer.

The fourth column in this report design model is the product groups sold to that customer. There over twenty of product groups visible when Running the report.

This is what my report looks like when finished(you'd have to scroll a lot to the right if I took the whole of the report so I cut only a part of it to be visible, but I think you'll get the idea):

---

I tried to add a sorting option from the reports Tablix properties and adding this code as the sorting function:
=SUM(Fields!Amount_EUR.Value)
but I'm getting an error:  "A sort expression for the tablix 'Tablix1' includes an aggregate function.  Aggregate functions cannot be used in data row sort expressions."
Ok, so no aggregate functions aren't allowed to the sort.

If I just put:
=Fields!Amount_EUR.Value and sort by that from Z to A(biggest to largest) it doesn't have any effect. The report is still sorted alphabetically by the ParentID.

I've also tried some other code bits, but they all seem to be saying that I couldn't put an aggregate function into the sort expression....but my Total -column is already calculated with a Sum -function....

So, to my final question;
Is it possible sort my report based on that Total -column? If yes, how is that possible?

EDIT: I'm using SSRS 2008

Audio Alerts on Reports

$
0
0
I'd like to add some custom code or add-on that will play an audio file when certain criteria are met.

I've got a heads up display that uses a report from ssrs, it refreshes every 30 seconds and is displayed in a control room that has several other displays with countless peices of information. The user may not notice the big red alert symbol on the report so I'd like fire an audible alert that will notify the user that there is a problem.

Can I use vbscript and the "Custom Code" section to play an audio file if a specific criteria is met? Perhaps someone has some creative ideas of how to make this work.

Thanks!

Tyler

-- Tyler Mitton http://www.rippleaudio.com __________________________________ Need Background Music? Buy & Sell Audio @ http://www.rippleaudio.com

Issue while using embedded vb code in SSRS 2005

$
0
0
Hi


Problem description:

    I am using the function to embedd within the report .This function is called the user presses the view report button.

It works in the report designer (in preview),but it doesn't work on the server after i deployed it to the server,
why does it give me the message that is Error during processing of '@ParameterName' report parameter.(rsReportParameterProcessingError).

I am using Mgbox to display some alert statements in the Custome code.. embedded into the.. report

do I need to do anything with custom assemblies?
or any ot
her reasons this?

Any help to solve this issue is greatly appreciated

Regards,
Kay

javascript in code section of SSRS 2008 Report throwing unable to read beyond the end of stream error

$
0
0

I am trying to embed a javascript in the code area of a SSRS 2008 report. When I add the code:


 System.Web.HttpContext.Current.Response.Write("<script language=""javascript"">alert()</script>")


it throws an error:

An error occurred during client rendering. Error: Invalid token in RPL stream. Report properties token: 0x0.


This code is in the Code section of the report and I have referenced System.web


If I use

System.Web.HttpContext.Current.Response.Write("<script language=""javascript"">var x = 1;</script>")

The error shows: An error occurred during client rendering. Unable to read beyond the end of the stream.


Can someone please show me what I am doing wrong? I have seen plenty of posts that employ the System.Web.HttpContext.Current.Response.Write for adding javascript to the page.

Thanks

Paul



ssrs using expression for page breaks

$
0
0

In an existing ssrs 2010 report , I will like to create multiple groupings within the report so the report will print on different pages. The multiple groupings would come from 1 (one)  column that is contained within a sql server database where the field is defined as varchar(max).

I would like the groupings to be based upon specific literals. However I do not know how to create multiple groupings based on different parts of the same sql server 2010 column containing different literals.

In the example I am showing you, I would like to create a page break where the literal <span id="END_PAGE"></span>.  is located. The literal could be anything.


I am just using the literal  <span id="END_PAGE"></span> so you can show me and/or point me to links that will tell me how to accomplish my goal of page breaks? Would I somehow be able to use some page break property like disable or one of the other properties?

<p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>12/9/2016</p><br /><br /><br /><p>  </p><p>To the Parent/Guardian of Joe Smith&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 447782</p><span id=""ADDR_BEG"> </span>  <p>4 VERNON AVE </p><span id="ADDR_NEXT">CLER, NE
68111<span id="ADDR_END"></span><br /><br /><br /><br />
Dear Parent/Guardian and Joe Smith:<br /><br /><br />
This letter is to inform you that Jarious has the equivalent of 5 or more
unexcused absences this school year.&nbsp; <span style="color: black;
font-family: arial,sans-serif; font-size: 10pt;"><span style="font-family:
arial; font-size: 14px;">We believe student attendance in&nbsp;school is a key
component to school success, so it is very important for all children to develop
habits of good attendance. Poor attendance contributes to failing grades,
decreased learning opportunities, lower academic achievement and may limit your
child's opportunities to be involved with school activities.</span><br /><br /></span><br /><p><span style="color: black; font-family: arial,sans-serif;">(Option
1)</span></p><p><span style="color: black; font-family: arial,sans-serif;">Please call me at<em>PHONE NUMBER</em> to discuss these absences. During this phone conference we
will address concerns and issues that may be contributing to the absences, and
develop a collaborative plan to try to improve attendance. </span></p><p><span style="color: black; font-family: arial,sans-serif;">&nbsp;</span></p><p><span style="color: black; font-family: arial,sans-serif;">(Option
2)</span></p><p style="margin: 10pt 0in;"><span style="color: black; font-family:
arial,sans-serif;">I have scheduled an attendance review on <em>DATE</em> at<em>TIME</em>.&nbsp;&nbsp;We will meet at <em>PLACE</em> located at<em>ADDRESS</em>. Please check in at the main office upon your arrival.&nbsp;
During this meeting we will address concerns and issues that may be contributing
to the absences, and develop a collaborative plan to try to improve attendance.&nbsp;The student and parent should attend this review. If you cannot attend
this meeting&nbsp;please contact me at PHONE #. </span></p><br /><p>  </p><p>&nbsp;</p><p>We are notifying you so that together we can address all issues that may be
contributing to these absences. Communication between the home and school is
very important and we request that parents call the school each and every day
that a student is going to be absent. Let us work as partners to make your child
successful in school.</p><br />
Sincerely,<br /><br /><br />
Tracy smithk<br /><p>  School Support Liaison/ Attendance Designee</p><p>TECH School</p><span id="END_PAGE"></span><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>12/9/2016</p><br /><br /><br /><p>  </p><p>To the Parent/Guardian of Joe Smith&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 447782</p><span id=""ADDR_BEG"> </span>  <p>4841 CLEAR ST #205</p><span
id="ADDR_NEXT">VET, NJ 68104<span id="ADDR_END"></span><br /><br /><br /><br />
Dear Parent/Guardian and Joe Smith:<br /><br /><br />
This letter is to inform you that Jarious has the equivalent of 5 or more
unexcused absences this school year.&nbsp; <span style="color: black;
font-family: arial,sans-serif; font-size: 10pt;"><span style="font-family:
arial; font-size: 14px;">We believe student attendance in&nbsp;school is a key
component to school success, so it is very important for all children to develop
habits of good attendance. Poor attendance contributes to failing grades,
decreased learning opportunities, lower academic achievement and may limit your
child's opportunities to be involved with school activities.</span><br /><br /></span><br /><p><span style="color: black; font-family: arial,sans-serif;">(Option
1)</span></p><p><span style="color: black; font-family: arial,sans-serif;">Please call me at<em>PHONE NUMBER</em> to discuss these absences. During this phone conference we
will address concerns and issues that may be contributing to the absences, and
develop a collaborative plan to try to improve attendance. </span></p><p><span style="color: black; font-family: arial,sans-serif;">&nbsp;</span></p><p><span style="color: black; font-family: arial,sans-serif;">(Option
2)</span></p><p style="margin: 10pt 0in;"><span style="color: black; font-family:
arial,sans-serif;">I have scheduled an attendance review on <em>DATE</em> at<em>TIME</em>.&nbsp;&nbsp;We will meet at <em>PLACE</em> located at<em>ADDRESS</em>. Please check in at the main office upon your arrival.&nbsp;
During this meeting we will address concerns and issues that may be contributing
to the absences, and develop a collaborative plan to try to improve attendance.&nbsp;The student and parent should attend this review. If you cannot attend
this meeting&nbsp;please contact me at PHONE #. </span></p><br /><p>  </p><p>&nbsp;</p><p>We are notifying you so that together we can address all issues that may be
contributing to these absences. Communication between the home and school is
very important and we request that parents call the school each and every day
that a student is going to be absent. Let us work as partners to make your child
successful in school.</p><br />
Sincerely,<br /><br /><br />
Tracy smithk<br /><p>  School Support Liaison/ Attendance Designee</p><p>TECH School</p><span id="END_PAGE"></span><p>&nbsp;</p><p>&nbsp;</p> 



ssrs report setting up page breaks

$
0
0
My task is to have up to 5 'letters' appear on separate page where data is obtained from 1 varchar(max) column in a sql server 2012 database field. I am looking for your suggestion and/or potentially how to setup my suggestion in an ssrs 2008 report.
I am thinking of having 5 separate rectangles and embedding those 5 rectangles into one overall rectangle.
I am going to setup these rectangles so page breaks will occur between each letter that is stored in a rectangle.
Each rectangle will know which letter of 5 letters  it to use. Each letter is represented by '<p>par1</p>' I am using this has a placeholder fora letter that is sent to a customer. I am trying to simplify what I am planning to do. The <div id=letter1 /> tag following each letter would be the unique tag each rectangle would look for
All the data is stored in a varchar(max) field in a column called stringLetter
The following is a simplified version of what the data would look like:
<p>par1</p>
<div id=letter1 />
<p>par2</p>
<div id=letter2 />
<p>par3</p>
<div id=letter3 />
<p>par4</p>
<div id=letter4 />
<p>par5</p>
<div id=letter5 />
in the stringLetter field.
Thus I have the following questions:
1. How would each rectangle how to look for the <div id=letter1 /> tag?
2. For each rectangle to pick only the parts of the field that it needs, would I use the filter option on a rectangle?
3. Would you show me examples on how to accomplish this goal?

Fiscal quarter

$
0
0
Hello

I want to arrive at an output like 2011-Q4 (Financial Yr-Qtr)

I can do this by:

CASE -- Results: 2011-Q4 (Financial Yr-Qtr)
WHEN MONTH(MyDate) BETWEEN 1 AND 3 THEN concat((YEAR(MyDate) - 1), '-', 'Q3')
WHEN MONTH(MyDate) BETWEEN 4 AND 6 THEN concat((YEAR(MyDate) - 1), '-', 'Q4')
WHEN MONTH(MyDate) BETWEEN 7 AND 9 THEN concat((YEAR(MyDate) - 0), '-', 'Q1')
WHEN MONTH(MyDate) BETWEEN 10 AND 12 THEN concat((YEAR(MyDate) - 0), '-', 'Q2')
END AS FYrQtr

But can the same output be achieved without using CONCAT? (I only have 2008 at work; CONCAT arrived in 2012).

Thanks.

Can Report Definition Customization Extensions be used with reports which are delivered by Data Driven subscriptions?

$
0
0

Hi Guys

I'm looking to use the RDCE functionality to set the collation of a report data set enabling the report to order correctly when displayed in different languages.

I have a test RDCE assembly which changes the value of a test box on the report.  This works when viewing through the report manager,  however this does not work when the report is delivered via a data driven subscription.  Please find below an extract from the log files.

Please can you confirm if a report linked to an RDCE can be delivered using a data driven subscription? 

Cheers, Nick

Log File:

library!WindowsService_3!8b0!08/21/2013-09:55:03:: i INFO: RenderForNewSession('/RDCE/Bar Chart')
library!WindowsService_3!8b0!08/21/2013-09:55:06:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.HasUserProfileDependenciesException: , Microsoft.ReportingServices.Diagnostics.Utilities.HasUserProfileDependenciesException: The '/RDCE/Bar Chart' report or shared dataset has user profile dependencies and cannot be run unattended.;
library!WindowsService_3!8b0!08/21/2013-09:55:06:: w WARN: Microsoft.ReportingServices.Diagnostics.Utilities.HasUserProfileDependenciesException: The '/RDCE/Bar Chart' report or shared dataset has user profile dependencies and cannot be run unattended.
library!WindowsService_3!8b0!08/21/2013-09:55:06:: i INFO: Initializing EnableExecutionLogging to 'True'  as specified in Server system properties.

Problem with Page Break in a data region who's visibility is conditional

$
0
0
I have a report which produces invoices.
These invoices are more complex than your average ones.

The invoice is for one customer but many orders. Within the invoice, orders are grouped together by their delivery address which can be different for each order within the invoice. I throw a page for each seperate delivery account and sub-total by delivery account too. All this works fine and page breaks are all OK. However I also need a summary page at the end of the invoice showing 1 line per delivery account andf the sub-total for it, then I show a grand total.

To achieve this, I used a list control, grouping on Invoice number. within it I placed 2 tables. 1 is the main Invoice table, the 2nd is the summary table. I have a page break on a group in table 1 that controls the split on delivery account. I have a page breaks on table 2. Again this all works fine and paging is perfect.

Here's the crunch though! If the invoice only contains one delivery account, I need to suppress the summary table. This I can do BUT I still get the page throw for it, effectively giving blank pages. The page break is triggered regardless of whether the containing control is visible or not.

I'm pretty accomplished with RS and I've tried all sorts of tricks and hacks to get round it but it seems a page break is added regardless of whether the control triggering it is visible or not!

I've tried rectangles both with the table in it and outside. And with the page break on the rectangle and when that didn't work , on the table inside it.

Any one else have any ideas on this.

Cheers
Chris

Deploying Reports to Subfolders

$
0
0

The Home folder of our reporting services page has a few subfolders for different types of reports. So, the server is structured like this.

SSRS Home
- Folder 1
  - Report 1
- Folder 2
  - Report 2
- Folder 3
  - Report 3

The problem I'm having is that VS.NET only has a single property for TargetReportFolder and it's at the project level. This means all of my reports will deploy to the SSRS Home folder (in the example above) and not under their appropriate subfolders. There is also no way to create folders within the VS.NET Reports folder (e.g. Folder 1, Folder 2, ...) in which to place the reports so that they will relatively be deployed into their appropriate folder.

Is there any way to make the reports deploy to their appropriate subfolder under the SSRS Home?


Nathon Dalton .NET Software Developer

SQL Query to Extract Group wise SSRS Reports in Integrated mode of Sharepoint and SSRS

$
0
0

Hi,

We have integrated SSRS 2008 R2 and WSS 3.0(SharePoint) and created a SharePoint portal where we upload SSRS reports and provided access of these reports to end users.

There are two database when we integrate SSRS + SharePoint

1- Report Server DB for SSRS

2- Content DB for SharePoint

We have created different department wise groups and assigned that groups to particular SSRS reports.

This SharePoint portal is access by all india users.

My Requirement is :

We need T-SQL code to extract Group wise SSRS Reports.

Thanks

Bijay Maurya

Tech Mahindra


Regards, Bijay Maurya


ssrs using expression for page breaks

$
0
0

In an existing ssrs 2010 report , I will like to create multiple groupings within the report so the report will print on different pages. The multiple groupings would come from 1 (one)  column that is contained within a sql server database where the field is defined as varchar(max).

I would like the groupings to be based upon specific literals. However I do not know how to create multiple groupings based on different parts of the same sql server 2010 column containing different literals.

In the example I am showing you, I would like to create a page break where the literal <span id="END_PAGE"></span>.  is located. The literal could be anything.


I am just using the literal  <span id="END_PAGE"></span> so you can show me and/or point me to links that will tell me how to accomplish my goal of page breaks? Would I somehow be able to use some page break property like disable or one of the other properties?

<p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>12/9/2016</p><br /><br /><br /><p>  </p><p>To the Parent/Guardian of Joe Smith&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 447782</p><span id=""ADDR_BEG"> </span>  <p>4 VERNON AVE </p><span id="ADDR_NEXT">CLER, NE
68111<span id="ADDR_END"></span><br /><br /><br /><br />
Dear Parent/Guardian and Joe Smith:<br /><br /><br />
This letter is to inform you that Jarious has the equivalent of 5 or more
unexcused absences this school year.&nbsp; <span style="color: black;
font-family: arial,sans-serif; font-size: 10pt;"><span style="font-family:
arial; font-size: 14px;">We believe student attendance in&nbsp;school is a key
component to school success, so it is very important for all children to develop
habits of good attendance. Poor attendance contributes to failing grades,
decreased learning opportunities, lower academic achievement and may limit your
child's opportunities to be involved with school activities.</span><br /><br /></span><br /><p><span style="color: black; font-family: arial,sans-serif;">(Option
1)</span></p><p><span style="color: black; font-family: arial,sans-serif;">Please call me at<em>PHONE NUMBER</em> to discuss these absences. During this phone conference we
will address concerns and issues that may be contributing to the absences, and
develop a collaborative plan to try to improve attendance. </span></p><p><span style="color: black; font-family: arial,sans-serif;">&nbsp;</span></p><p><span style="color: black; font-family: arial,sans-serif;">(Option
2)</span></p><p style="margin: 10pt 0in;"><span style="color: black; font-family:
arial,sans-serif;">I have scheduled an attendance review on <em>DATE</em> at<em>TIME</em>.&nbsp;&nbsp;We will meet at <em>PLACE</em> located at<em>ADDRESS</em>. Please check in at the main office upon your arrival.&nbsp;
During this meeting we will address concerns and issues that may be contributing
to the absences, and develop a collaborative plan to try to improve attendance.&nbsp;The student and parent should attend this review. If you cannot attend
this meeting&nbsp;please contact me at PHONE #. </span></p><br /><p>  </p><p>&nbsp;</p><p>We are notifying you so that together we can address all issues that may be
contributing to these absences. Communication between the home and school is
very important and we request that parents call the school each and every day
that a student is going to be absent. Let us work as partners to make your child
successful in school.</p><br />
Sincerely,<br /><br /><br />
Tracy smithk<br /><p>  School Support Liaison/ Attendance Designee</p><p>TECH School</p><span id="END_PAGE"></span><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>12/9/2016</p><br /><br /><br /><p>  </p><p>To the Parent/Guardian of Joe Smith&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 447782</p><span id=""ADDR_BEG"> </span>  <p>4841 CLEAR ST #205</p><span
id="ADDR_NEXT">VET, NJ 68104<span id="ADDR_END"></span><br /><br /><br /><br />
Dear Parent/Guardian and Joe Smith:<br /><br /><br />
This letter is to inform you that Jarious has the equivalent of 5 or more
unexcused absences this school year.&nbsp; <span style="color: black;
font-family: arial,sans-serif; font-size: 10pt;"><span style="font-family:
arial; font-size: 14px;">We believe student attendance in&nbsp;school is a key
component to school success, so it is very important for all children to develop
habits of good attendance. Poor attendance contributes to failing grades,
decreased learning opportunities, lower academic achievement and may limit your
child's opportunities to be involved with school activities.</span><br /><br /></span><br /><p><span style="color: black; font-family: arial,sans-serif;">(Option
1)</span></p><p><span style="color: black; font-family: arial,sans-serif;">Please call me at<em>PHONE NUMBER</em> to discuss these absences. During this phone conference we
will address concerns and issues that may be contributing to the absences, and
develop a collaborative plan to try to improve attendance. </span></p><p><span style="color: black; font-family: arial,sans-serif;">&nbsp;</span></p><p><span style="color: black; font-family: arial,sans-serif;">(Option
2)</span></p><p style="margin: 10pt 0in;"><span style="color: black; font-family:
arial,sans-serif;">I have scheduled an attendance review on <em>DATE</em> at<em>TIME</em>.&nbsp;&nbsp;We will meet at <em>PLACE</em> located at<em>ADDRESS</em>. Please check in at the main office upon your arrival.&nbsp;
During this meeting we will address concerns and issues that may be contributing
to the absences, and develop a collaborative plan to try to improve attendance.&nbsp;The student and parent should attend this review. If you cannot attend
this meeting&nbsp;please contact me at PHONE #. </span></p><br /><p>  </p><p>&nbsp;</p><p>We are notifying you so that together we can address all issues that may be
contributing to these absences. Communication between the home and school is
very important and we request that parents call the school each and every day
that a student is going to be absent. Let us work as partners to make your child
successful in school.</p><br />
Sincerely,<br /><br /><br />
Tracy smithk<br /><p>  School Support Liaison/ Attendance Designee</p><p>TECH School</p><span id="END_PAGE"></span><p>&nbsp;</p><p>&nbsp;</p> 



Sql server 2012 ent SP3 reporting services The found version is '162'. The expected version is '163' error

$
0
0

we installed SP3 on sql server 2012 and after service pack installation we start receiving below error. tried CU1 as well but no luck. please help

  • The version of the report server database is either in a format that is not valid, or it cannot be read. The found version is '162'. The expected version is '163'. (rsInvalidReportServerDatabase

Functions not behaving properly in SQL Server 2015 Microsoft Reportviewer Matix report.

$
0
0

Hello Community 
    I am running VS2013 with a Windows form application that pulls the data from an SQL Server 2014 table.   
The data that gets pulled from the SQL Server table is used by Microsoft.Reportviewer version 11,  that displays the data using a “Matrix” dragged from the toolbox.
    There are 2 columns in the Matrix and each cell in each column has its own formula. 
    “Column A” retrieves a “1” from the table.
    “Column B” also retrieves  “1” from the table.
    “Column A” displays correctly the number “1” in its cell in the Matrix report.
    The problem is that instead of “Column B” correctly displaying a “1” in its cell in the Matrix report,
it adds the “1” from “Column A” to it and displays a “2” in its cell in the Matrix report.
    Below are the actual formulas in the cells in the columns:  
        Column A
            =FormatNumber(Sum(IIF(InStr(Fields!Type.Value,"Y") > 0,Fields!City.Value, Nothing)),0)
        Column B
            =FormatNumber(Sum(IIF(InStr(Fields!Type.Value,"Z") > 0, Fields!City.Value, Nothing)),0)
    The question is how do you stop “Column B” from adding the value from “Column A”?
    Thanks
    Shabeaut

how do I pass the rdlc parameter successfully?

$
0
0

Hello Community
    Using Visual Studio 2013 I am running a Windows Application using C# to access
SQL Server 2014 to produce an rdlc report.
    I pass 4 parameters to the report :
        The top Tablix in the rdlc contains [@parfDate] and [@partDate]. 
        The bottom Tablix in the rdlc contains [@parfDate2] and [@partDate2].
 
      
The associated "Report Data" in the toolbox contains [@parfDate], [@partDate],[@parfDate2] and [@partDate2] in the Parameters container. 
        As you can see below I include the parameters in the SqlDataAdapter and in the ReportParameter sections:
        private DataTable populate(DataTable dt)
        {
            string GetStat = "Data Source=myDS;Initial Catalog=myCat;Uid=myUid;pwd=myPass";
            SqlConnection cn = new SqlConnection(GetStat);
           SqlDataAdapter da = new SqlDataAdapter("SELECT id_num, Date, Field0, Field1, Field2,    
                 Field2, Field3, Field4 from MyTable
          Where Date >= (@parfDate) and Date <= (@partDate)", cn);

--------->  da.Fill(dt); <------ this is where the parameter fails to be accepted *******
  
          return dt;
        }
        private void Report1_Load(object sender, EventArgs e)
        {
      // TODO: This line of code loads data into the 'DataSet1.myTable' table. You can move, or remove it, as needed.
           this.mytableTableAdapter.Fill(this.DataSet1.myTable);
            DataTable dtt = new DataTable();
            dtt = populate(dtt);
            reportViewer1.LocalReport.DataSources.Clear();
           ReportDataSource rptDs = new ReportDataSource("dtdtt, dtt");   
           reportViewer1.LocalReport.DataSources.Add(rptDs);
            ReportParameter[] rpWeekly = new ReportParameter[4];
           rpWeekly[0] = new ReportParameter("parfDate", fDate.ToString());
           rpWeekly[1] = new ReportParameter("partDate", tDate.ToString());
            rpWeekly[2] = new ReportParameter("parfDate2", fDate2.ToString());
           rpWeekly[3] = new ReportParameter("partDate2", tDate2.ToString());
            reportViewer1.LocalReport.SetParameters(rpWeekly);
            this.reportViewer1.RefreshReport();
        }
   
   The problem is that when the application runs it fails on the line above that I pointed out"da.Fill(dt); with an error stating:
   
       "Must declare the scalar variable "@parfDate"."
     
  So the question is how do I pass the parameter successfully?   

       Thanks 
        Shabeaut



SSRS same query take different times on different reports

$
0
0
I was using Sql profiler trying to see which queries were taking a long time. I noticed that this one query had a duration of about 27 seconds on one report. The same query with the same parameters running on a different report takes only about 18 seconds. I want to assume that the reason why it takes 27 seconds on the first report is that there are more queries on that report and some sort of blocking is occurring is that possible? I checked that caching was turned off. Or should I just asume that the 10 second difference is is negligible? 
Viewing all 10045 articles
Browse latest View live