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

SQL Mobile 2016 Dataset Aggregations Strategy

$
0
0

Hi Everyone,

I am using the new SQL Mobile 2016 Report Publisher tool. My problem is that the tool can't do expressions so it essentially can't "re-cook" calculations at different aggregation levels (Company, Branch, etc.) from datasets I published from visual studio to my report server. So I am unable to use the "All" options in the Mobile Publisher. 

I have 16 datasets that drive a group of dashboards for a "Branch Manager" group of users, which means aggregating sales, Gross Profit Percent, and other metrics to the Branch level from my 2016 SSAS tabular model. 

I now have to create a group of dashboards for an Executive level which is simply the totals of all branches. The problem being is I now have to deploy and maintain 16 additional datasets that are the same but grouped at the Company level. 

To avoid this, I am wondering if it's possible to.. when in Visual Studio Report Services Dataset Query Designer (drag and drop from my cube) to either add an "All" row like below. Or create a calculated member that is based on the totals (the Mobile publisher allows a "First" aggregation so that could work). 

The green is how my data spits out currently. The yellow row, or yellow column is what i'm trying to get to. You see you can't simply average Gross Profit Percent, or mathematically correctly get that percentage based on the Branch level percentages. 

To mention it, we also use Row Level Security on this cube for these data sources, Managers can just see their branches, Execs can see everything.  i'm not sure how these scenarios would play out if i could get the data to come out like below.

I am hoping to stay in the Query Designer instead of editing the MDX itself. It's just so much easier to use the Query Designer as our team is not MDX experts. 



parameters multiple SSRS

$
0
0

Hi experts, I have this parameter…

 

The problem is that for a given CountryFullName, I have several localcode

 

For example for country China I have localcode cn_a cn_cc

 

So… Can I use this parameter and in my code do localcode in (@parameter) ??


What versions of SSRS can use SQL Server 2014 RDBMS as a datasource?

$
0
0

Hi,

What versions of SSRS can use a SQL Server 2014 RDBMS as a datasource?  Presumably SSRS 2014 and 2016, but what about older versions of SSRS?  I can't figure out where to even look for this information...

thanks!

Martin

Exporting a KML formatted file from SSRS

$
0
0

I am trying to export a KML formatted file from SSRS.

The path I went down was to use the ‘CSV Device Information settings’

&rs:Command=Render
&rs:Format=CSV
&rc:ExcelMode=False
&rc:FileExtension=KML
&rc:NoHeader=True
&rc:Qualifier=~

The resultant output looks like ..

~<?xml version="1.0" encoding="UTF-8"?>~
~<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">~
     <Document>
          <name>2016_12_19 09_17_18.kml</name>
~          <StyleMap id="msn_blue-pushpin">~
               <Pair>
                    <key>normal</key>
                    <styleUrl>#sn_blue-pushpin</styleUrl>
               </Pair>
               <Pair>
                    <key>highlight</key>
                    <styleUrl>#sh_blue-pushpin</styleUrl>
               </Pair>

The issue is that SSRS sees the double quote and decides to put the ‘Qualifier’ at the start and the end of the line (including the first line)
When the KML file is fed into Google Earth it complains that there is a parse error on line 1 ‘XML or text declaration not at start of entity’
Replacing the tilde with a space does not help (although the only line that Google earth complains about is the first).

I am looking for a technique to bypass this behaviour.

- Can I specify ‘<?xml version="1.0" encoding="UTF-8"?>’ without using double quotes? How?
- Can I specify a ‘Qualifier’ that is a zero length string? How?
- Can I get SSRS to treat lines with double quotes as not requiring delimiters? How?



Cannot read the next data row for the data set

$
0
0

Hi,

My report runs fine when I view in VS, data shows fine when I run the query in the data window, but when I publish it to the server, I get the above error. I am running SQL server 2005 RTM and I have re-deployed the entire solution.

Any ideas?

ssrs 2010 final page break

$
0
0
In an existing ssrs 2010 report , I have created multiple groupings within the report so the report will print on different pages. The multiple groupings would comes from 1 (one)  column that is contained within a sql server database where the field is defined as varchar(max).
The groupings are based upon =IIF(Fields!items.Value like "*PAGE_END*",False,true) literal in the groups area of a page break. The disable property uses the the expression listed above.
The page breaks occur fine except one extra page is generated. The disable property makes a page break occur when there is not data to be displayed.
Here is what 2 different records look like:
record # 1
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<span id="END_PAGE"></span>
<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><p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
record # 2
<span id="END_PAGE"></span>
<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><p>&nbsp;</p>
<p>&nbsp;</p>
Can you tell me and/or show me how to not have a final page break occur when thers is not another
record to work with?

First execution of a report (rdlc) very slow in ASP.NET MVC in Azure App Service

$
0
0

Good Morning.

We have developed an application in ASP.NET MVC and deployed in Azure (App Service) which includes rdlc reporting. The first time a report is generated and rendered takes 10-15 seconds; after the first execution the time varies between 1 and 3 seconds. The reports are simple and usually have one or two sheets.
We have found additional information stating that this is due to the way SSRS works:
"SSRS regularly restarts the domain of the application after a specific period (default, 720 minutes)".
This behavior can be modified by incrementing the value of the RecycleTime parameter in rsreportserver.config.
The question is whether you can update this value through some parameter in the Azure App Service or through the web.config file.
Thank you very much.
regards

SQL 2012 Forms Authentication Error

$
0
0

Hi All,

I implemented the Forms authentication in SQL 2012 by following the steps provided below website.

https://msftrsprodsamples.codeplex.com/wikipage?title=SS2012!Security%20Extension%20Sample

Currently I cannot access the Report Manager, I added some part of the log file which mentions about the errors.

For the 2nd error, I have the UILogon.aspx in the ReportManager/Pages folder but I don't know why I am getting it.  How can I solve this?

Thanks,

1)     library!ReportServer_0-2!13f0!12/30/2016-11:27:51:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.AuthenticationExtensionException: , Microsoft.ReportingServices.Diagnostics.Utilities.AuthenticationExtensionException: The Authentication Extension threw an unexpected exception or returned a value that is not valid: . --->System.NullReferenceException: Anonymous logon is not configured. userIdentity should not be null!
   at Microsoft.Samples.ReportingServices.CustomSecurity.AuthenticationExtension.GetUserInfo(IIdentity& userIdentity, IntPtr& userId)

2)   ui!ReportManager_0-1!fd8!12/30/2016-11:27:55:: i INFO: Unhandled exception: System.Web.HttpException:The file '/Reports_SQLEXPRESS/Pages/UILogon.aspx' does not exist.


SSRS 2016 Report Viewer V13 Toolbar Icons not displaying

$
0
0

The Report Viewer control is not rendering the toolbar correctly. 

I'm following the instruction Getting started with the ReportViewer 2016 control at https://msdn.microsoft.com/en-us/library/mt764770.aspx and am able to run reports from my application, however there are issues with the Report Toolbar.

1. I'm not seeing the toolbar icons, even though the hyperlinks are active.

2. When I open the Export dropdown the background is transparent and difficult to read.

3. Report parameter dropdowns appear as textboxes, yet when I click them they act like dropdowns.

Attached is an image showing the toolbar as it is rendering in my application:

ssrs 2008 r2 export to excel issue

$
0
0

Can you tell me how I can find out what is wrong with an export to excel file from an ssrs 2008 r2 report?

In a new existing ssrs 2008 r2 report, I am exporting the file to excel and I am getting the following errort message when I try to open the excel spreadsheet, "We found a problem with some content in 'reprt.xls'. Do you want to try to recover as much as we can? If you trust the source of this workbook, click Yes'.

When I click the 'yes' button much of the data is gone. The excel spreadsheet is in a protected mode.

SSRS subscriptions Email ID storage

$
0
0

Can anyone please let me know where / (which table)  the report server stores email addresses ,which has been set up for subscription. I would like to find out subscription details from the database(ReportServer) using TSQL , where I know the report name & the email address where its been delivered. Many thanks.<o:p></o:p>

Select c.Name , s.LastRunTime,s.LastStatus  ,s.Description , c.Path ,s.SubscriptionID ,s.Parameters 
from Catalog(nolock) c join 
Subscriptions(nolock) s on c.ItemID=s.Report_OID 
where 
c.Name='A1003 -xxxx' <o:p></o:p>

and  where'Here I would like to include the email address to pull out info'<o:p></o:p>

order by LastRunTime <o:p></o:p>


Mobile Reports: Generate a simple details report / add Images

$
0
0

Hello all,

I am pretty new in SSRS and even more in mobile reports so first of all sorry if I am asking a silly question here.

Is there any way in Mobile Report Publisher to generate a simple "details report".

Something that would look like:

<Image>

Name:      [DatabaseField]

Last Name: [DatabaseField]


I see all kind of complex reports but can't find any way to do this simple thing. I am also unable to add fixed images.

Thank you very much,

Miguel

Setting culture in mobile reports

$
0
0
What's the best way to set culture in mobile reports? I have a culture-sensitive web application that displays text and other culture-specific values in the end-user's configured language. I am also loading the mobile report through an iframe. I would like to change the text of the "Loading..." message to render in a language that matches the end-user's culture.

Gregory Block, PhD, MBA

SSRS 2016 Inplace Upgrade - ReportManager folder missing

$
0
0

Hi all

After installing SSRS 2016 (Version 13.0.4001.0)  as an inplace upgrade "over" an existing SSRS 2012 + Service Pack 3, I notice the \ReportManager folder no longer exists.

All I have in MSRS13.MSSQLSERVER\Reporting Services\

\LogFiles

\ReportServer

\RSTempFiles

\RSWebApp

sql_rs_keyfile.dll

ThirdPartyNotices.txt

Can anyone else confirm if this folder is no longer present / relevant in 2016 version?  The reason I ask is that previously we had to add lines to web.config file in..

MSRS11.MSSQLSERVER\Reporting Services\ReportManager\web.config

Such as: 

  <appSettings>

..

<add key="aspnet:MaxHttpCollectionKeys" value="10000" />

.. 

</appSettings>

And also tweak the ReportingServices.js file in

MSRS11.MSSQLSERVER\Reporting Services\ReportManager\JS

There is nothing clear I could find on the MS site to confirm if this folder / web.config is still relevant

Any help much appreciated

Thanks

Andy

How to pass multi-value parameters to DDS (data driven subscription)?

$
0
0

Using RS2005, how should multivalue parameters be stored in a database field so that a data driven subscription can properly read and use them?  I have so far had no luck using syntax of:

1)  parm1, parm2

2)  parm1,parm2

Do single qutoes need to explicitly wrap the values?  Can you please provide an example and a SQL INSERT statement using parm1 and parm2 to demonstrate what to store in the database field? 

Thanks!!

 

 


Cannot connect to the data source

$
0
0

Hi All,

I have a report on our sharepoint site and when i click on the report and enter the parameters i get the following error

cannot create connection to the data source. For more information about this error navigate to the report server on the local server machine, or enable remote errors

My question is if i can access the report and enter the parameters, why cannot i access the data source?

Thanks

SSRS subscrption email addresses

$
0
0

Good day,

I have a request to find all distinct email address (recipients) from our subscribed reports. How can I achieve this?

Please assist.

Many thanks,

Regards

SSRS email addresses for subscriptions

$
0
0

Good day,

I have a list of email addresses (well over 200). I wish to find all reports subscribed to individual email addresses. 

I am using the below script:

use ReportServer 

select distinct a.Path , 'name@home.com' as [email]
from Catalog as a
inner join Subscriptions  as b on b.Report_OID=a.ItemID
where ExtensionSettings like '%name@home.com%'

How can I iterate this over the 200 email addresses?

Please assist,

Many thanks

Reagrds

Zimiso

SSRS 2008R2 : Not able to use Previous aggregrate function in matrix columns cell

$
0
0

Hi Expert,

I have used a matrix tablix in my report. It is working fine. But when I am trying to use Previous aggregrate in one matrix column cell I get the below error:

The use of previous aggregrate function ia a tablix cell with in 'Tablix1' is not supported.

Please help me regarding that.

Thanks Rana

Why is SSRS trying to interactively log on a domain account?

$
0
0

Hello,

Can someone help me investigate why SSRS is trying to use a domain account for interactive logon?

An account failed to log on.

Subject:
Security ID:S-1-5-80-1343824832-3923883481-2178675695-19353822-2341032094
Account Name:ReportServer$XXXXX
Account Domain:NT Service
Logon ID:0x161438D9

Logon Type:2

Account For Which Logon Failed:
Security ID:S-1-0-0
Account Name:XXXXX
Account Domain:XXX

Failure Information:
Failure Reason:Unknown user name or bad password.
Status: 0xC000006D
Sub Status: 0xC000006A

Process Information:
Caller Process ID:0x898
Caller Process Name:E:\Microsoft SQL Server\MSRS11.XXXXX\Reporting Services\ReportServer\bin\ReportingServicesService.exe

Network Information:
Workstation Name:LONSQL1
Source Network Address:-
Source Port: -

Detailed Authentication Information:
Logon Process:Advapi  
Authentication Package:Negotiate
Transited Services:-
Package Name (NTLM only):-
Key Length: 0

This event is logged on a daily basis at around 11:10 AM local machine time.

Thank You,

Wojciech

Viewing all 10045 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>