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

SSRS 2016 How do avoid the error "Cannot impersonate user for data source" for a corporate SSRS installation

$
0
0

I have been working on this for over a week now and I can't believe there isn't a best practice for configuring this. If I used stored credentials it seems like a nightmare to have to create a service account for each SQL Server role in order to pass the rights a user would have based on the AD group they are a member of.

So if I create a folder named "Finance on my SSRS server"

I give the AD role "Finance Dept" the SSRS role type "Browser" on the folder

Then on SQL Server let's assume that AD role "Finance Dept" has access to a some stored procs, views.. on the SQL server.

Am I supposed to create a new service account in AD "svc_SSRS_Finance" and give that account log on locally to the SSRS server? That seems like a ton of work when you figure I might have to request these parts to completed by several teams; security for AD account, server engineers to allow log on locally...

Thoughts.


Can we create a SSRS report in 2014 SSRS/SQL SERVER using JSON just like XML ?

$
0
0

Can we create a SSRS report in 2014 SSRS using JSON ?



We want to consume a JSON document which will be passed to SSRS report as parameter  via .net call .

Using xml we can do it but I am not sure in sql server 2014 /ssrs 2014 its possible.

Notification table is not getting flushed out.

$
0
0

Hi There,

I am running a data driven subscription which should send 7 emails. I can see that after sending 4 emails SSRS is getting hung. In notification table, there are 3 entries. Notification table is not getting flushed after waiting for several minutes. I understand the problem might be with the SSRS polling. can anyone help on this ?

No entries in Event table.

Reporting Services 2016 - 4MB size limit when uploading?

$
0
0

Hi,

I have read that reporting services dont have the 4MB upload size limit as older versions did. But when I try to upload a report that is created in report builder, it says "An error has occured.". And the only option is "OK".
The report is 3979KB. When I delete ex. a picture I can upload it without problems.

Any ideas?


Mobile Report Publisher - Aggregating data in grids not working?

$
0
0

I'm not sure if anyone else has come across this, or if it's just me being a dope.

I have a data set in mobile report publisher that is structured as displayed at the bottom of this post.

Running off this data set I have two indicator grids in mobile report publisher that I am trying to aggregate to Level 1 and Level 2 individually. On each of the grids I have added a Gauge Column with Metric 1 set as the Gauge Data and Metric 2 set as the Comparison Data. When I preview the grid without any aggregation it works. the duplicated rows show in the grid with the % figures and the indicator arrows.

However, when I set the 'Aggregate by a field:' setting to on, under the layout tab, and then set the 'Field to aggregate by', on the Data tab, to Level 1 or Level 2, I get distinct label rows which shows that it's trying to aggregate something, but an '(NaN%)' message against each row. Am I missing some part of the process to aggregate data in these grids, or is this a bug?

Data Structure:

Level 1Level 2Level 3Metric 1Metric 2
Business Area 1Department 1Division 1510
Business Area 1Department 1Division 21015
Business Area 1Department 1Division 3510
Business Area 1Department 2Division 41015
Business Area 1Department 2Division 5510
Business Area 1Department 2Division 61015
Business Area 1Department 3Division 7510
Business Area 1Department 3Division 81015
Business Area 1Department 3Division 9510
Business Area 1Department 3Division 101015
Business Area 2Department 4Division 11510
Business Area 2Department 4Division 121015
Business Area 2Department 4Division 13510
Business Area 2Department 4Division 141015
Business Area 2Department 5Division 15510
Business Area 2Department 5Division 161015
Business Area 2Department 5Division 17510
Business Area 3Department 6Division 181015
Business Area 3Department 6Division 19510
Business Area 3Department 6Division 201015



ssrs 2008 using a history file

$
0
0

Can an SSRS 2008 report update a row in a sql server table?

I am asking this question since I currently have a vb.net 2010 program that writes rows to a history table that is accessed by an ssrs 2008 report. If I could update the sql server table in the ssrs 2008 report, my project change would be a lot easier. The row in the sql server table that would be updated is defined as varchar(max).

Thus can you tell if an ssrs 2008 report can update the varchar(max) column in a sql server 2008 table? If so, can you tell me how to accomplish this goal? If this is not possible, can you tell me another way to accomplish my goal using t-sql and not changing the vb.net application?


SSRS 2016 Mobile Reporting Publisher offline data when they are available

$
0
0

I'm curiouse about when the data of the report is available offline. 

I'm using mob. reports within a APP and calling them thru Url access from a native SSRS 2016 server.

Is there a overview for what datasources the reports will work also without a connection to the server or are there any switches to turn on to do so? (cache settings etc)

The check box for storing the data within report  is gayed out for instance when I use SP's on other Servers than the Report server instance running the SSRS.

This is confusing without documentation.

Kind regards 

Matthias

MDX query to sort on year

$
0
0

Hello,

I am new to MDX query, I have a SSRS query in MDX, I am trying to sort the query based on the year in descending order. Please see below MDX query.

I want to sort on [Product].[Model Year] which is highlighted in the below query.

SELECT non empty { [Measures].[Claims per Reg Unit - Cum SOP], [Measures].[Claims $ per Reg Unit - Cum SOP], [Measures].[Registration - Cum SOP]}
ON columns,
       non empty { ([Failure Code].[Component Desc].[Component Desc].ALLMEMBERS * [Product].[Model Year].[Model Year].ALLMEMBERS ) } dimension properties member_caption,
       member_unique_name
ON rows
FROM   (
              SELECT ( { [SOP Age].[Age].&[4] } )
              ON columns
              FROM   (
                            SELECT ( { [High Altitude Claim Type].[High Altitude Claim].&[0] } )
                            ON columns
                            FROM   (
                                          SELECT ( { [Failure Code].[Failure Category Name].&[Chassis] } )
                                          ON columns
                                          FROM   (
                                                        SELECT ( { [Claim Class].[Claim Class].&[STANDARD WARRANTY], [Claim Class].[Claim Class].&[WHOLEGOOD STOCK] } )
                                                        ON columns
                                                        FROM   (
                                                                      SELECT ( { [Registration Threshold].[Registration Threshold].&[50] } )
                                                                      ON columns
                                                                      FROM   (
                                                                                    SELECT ( strtomember(@FromProductModelYear, constrained) : strtomember(@ToProductModelYear, constrained) )
                                                                                    ON columns
                                                                                    FROM   (
                                                                                                  SELECT ( { [Product].[Model Family].&[RZR APEX 60], [Product].[Model Family].&[RZR APEX 55], [Product].[Model Family].&[RZR APEX 50], [Product].[Model Family].&[RZR APEX 4] } )
                                                                                                  ON columns
                                                                                                  FROM   (
                                                                                                                SELECT ( { [Product].[Product Line].&[RZR] } )
                                                                                                                ON columns
                                                                                                                FROM   [Polaris_EDW_Warranty]))))))))
WHERE  (
              [Product].[Product Line].&[RZR], [Product].[Model Family].currentmember, [Registration Threshold].[Registration Threshold].&[50], [Claim Class].[Claim Class].currentmember, [Failure Code].[Failure Category Name].&[Chassis], [High Altitude Claim Type].[High Altitude Claim].&[0], [SOP Age].[Age].&[4] ) cell properties value,
       back_color,
       fore_color,
       formatted_value,
       format_string,
       font_name,
       font_size,
       font_flags

Thanks,

L. Lochan Rao Pawar.


How to show just/only the last value on line graph in a SSRS Line Charts?

$
0
0
Please see the below values retrieved from DataSet Query Designer:

Age  ModelYear    Values

0      2015             8.15

1      2016             9.23

2      2015             1.23

3      2016             8.54

4      2015             6.75

5      2016             4.56

6      2016             5.65

7      2016             6.56

8      2016             7.12

The Line Chart shows 2 line graphs, one for 2015 and other for 2016. Here on both of the line graphs I have to show just the last value based on year in the above fig in the appropriate lines.

Please suggest on how to achieve this.

Thanks,

Setting permissions for accessing reports through ASP.NET web application on IIS

$
0
0

Hello,

We are running SQL Server 2008 R2 in Integrated Security mode and our reports were built with Report Builder 3.0.

Our users access the reports through an ASP.NET IIS web application. The web application recovers the user's login "AD\UserName" that we use to determine which reports he or she can see.  The reports are displayed on the web page using

<img src="http://Server/ReportServer/Pages/ReportViewer.aspx?/TestReport&rs:Format=IMAGE&rc:OutputFormat=png">

Apparently this access method sends the user's credentials "AD\UserName" to Report Server for determining access permissions, instead of using a generic IIS Admin Service logon. 

Currently in Report Manager we've added permissions to everyone to see all reports "AD\Domain Users", plus "BUILTIN\Administrators".  This is not ideal.  We want to find a solution without "AD\Domain Users", just using the IIS Admin Service account.

We want to prevent our users from accessing the reports directly through Report Manager, for example by finding the URL on the web page and navigating to it. We want to manage access to the reports strictly through the web application.

Is there a way to force access through the web application only, using the IIS Admin Service's login instead of the user's credentials?  We would like to remove "AD\Domain Users" from Report Manager and force all access through the web application's IIS login.

Can you help us set up the permissions correctly between the web application and Report Server?

Thanks for your help!


Best regards, Christopher Sorensen

Upgrade of SSRS 2008 R2 to SSRS 2016

$
0
0

Hi All,

Planning to upgrade our SQL Server 2008 R2 server to SQL server 2016. This will be side by side approach, so we will have a separate box for SQL server 2016. I'm planning to do the below steps,

1) Move the .rdl from SQL server 2008 R2 to SQL server2016 file system.

2) Open the .rdl in Visual studio 2015 and export it to report server 2016.

3) Recreate all the User permission in 2016 manually for all the report folder (suggest if any better approach).

Please let me know if you see any issues in the above approach.

Also, SQL server 2008 R2 is in Share point integrated mode. We are planning to install SQL server 2016 in native mode as Microsoft will be stopping the share point integrated mode in future.

Kindly let me know if you need more details.

Cheers

Jim

Filter data set with multible "like" operators

$
0
0

Hi,

Does anyone know how to apply multiple filters in Dataset Properties with the "like" operator? I have ashared data set and since I don't want to apply a "positive" list of entries via the "in" operator I either need to apply two "like" filters or find a way to compine the "in" with the "like".

Example: I have a field containing the DataAreaID and I need to include all records where this field starts with "SE"or "RD".

I am running Report Builder 3.0

Thanks a lot for your support.

LSM


Lars Schott Madsen

SSRS URL not accessible Locally via SSL

$
0
0
I am testing SSL Certs on a SQL 2014 express standalone version getting ready for a MBAM 2.5sp1 install..  I have configured the SQL services configured on the SQL server to be forced to SSL communication.  Now on SSRS, I am getting SSL cert RC4 warnings on the SSL links locally on the server only. When I connect to the SSL linksHttps://server.mydomain.com/Reports or ReportServer I get this error "This page can’t be displayed -- Turn on TLS 1.0, TLS 1.1, and TLS 1.2 in Advanced settings and try connecting to https://server.mydomain.comagain. If this error persists, it is possible that this site uses an unsupported protocol or cipher suite such as RC4(link for the details), which is not considered secure. Please contact your site administrator."  When I connect to this link from another computer it works as expected without the warning.  I can't finish the SSRS portion of MBAM because it can't connect to these links locally when I am installing it.  I get a security warning when I install firefox locally on the server too, so using a different browser.  I am testing with a 90 day free SSL cert from Comodo before I buy one.  Can anyone tell me if this behavior is normal?  I created the cert from a CSR like in this youtube video,https://www.youtube.com/watch?v=GyDwuYKXjB8 .  Is there a way to get these SSL links to work on the server locally as they do remotely or from another computer?

Alternating colors for gropus in an SSRS Report

$
0
0
Hi!

   I have a report with a table that has a single grouping.  Each group may have one, or two, or more rows.  I need all the rows in a group to be one color, but I need the color of the entire group to alternate from one group to the next, between gray and white.  I was able to do this in SSRS 2005 using RunningValue, but I can't figure out how to do it in SSRS 2008.

   Again, it really should be simple.  For Group 1, all rows in this group should white; Group 2, all rows in this group should  be gray;  Group 3, all rows in this group should be white, etc.

   To clarify; I am not trying to color alternate rows!!!  I know how to do that using row number.  I am trying to color all the rows in alternate groups.

  My group is called:  grpGroupID, if that helps. 

  What I need is the specific expression and where to place that expression.  That is, do I place the same expression in the detail columns as the groupby column? 

  There is no group header or footer.  The GroupID is the first column on the left and it is the Groupby field of the group.

Group 1   134.89  Bicycle
Group 2   123.12  Helmet
                89.23  gloves
Group 3   768.32  treadmill
                78.09  monitor
Group 4    33.23  step counter
Group 5    19.99  earrphones
                 3.45  energy gum

What I want is for group 1 to be white, both rows in group 2 to be gray, both rows in group 3 to be white, the row in group 4 to be gray, and the two group five rows, white.

In other words,  Odd groups white, even groups gray.

I've tried using the following expression by highlight the entire row and placing it in the Background color property, but the color isn't changing for any row.  It is remaining white.  I have the feeling ths formula isn't meant to control the color at the group level, but the rows within the group somehow, as though the countdistinct isn't really counting the distinct occurrences of the group-by value at the group level or something.

=IIF(RunningValue(Fields!GroupID.value,

CountDistinct, "grpGroupID") Mod 2, "White","Gainsboro")


I'd really appreciate any help anyone can provide. Nothing I've tried is working.

Thanks!

SSRS image visibility

$
0
0

Hi,

I have a report design, s in the below:

My column grouping is on the field_id. I want the report to display only the columns 'COMPETITOR SPIV YES OR NO', 'COMPETITOR PROMO YES OR NO', 'COMPETITOR MARKDOWN YES OR NO', and if the answer to these questions is a NO, then the answer should  be displayed. If answer is YES, then show the image only. 

Please assist,

Many thanks

Regards


KB3194718 for SQL Server 2014 SP2 CU broke Power view and SSRS

$
0
0

Just installed KB3194718 for SQL Server 2014 SP2 CU on our data warehouse server on the weekend. Now we discovered that our Power view and SSRS report from our BI-enabled SharePoint site is broken with 'Server cannot be found'.

SSRS report will not run online but it ran as scheduled.

Any ideas?

Thank you!


error: could not update a list of fields for the query. verify that you can connect

$
0
0

Hi there,

I am trying to create a report by calling the stored procedure below - rep_com_fig 

but I am getting the error :could not update a list of fields for the query. verify that you can connect.

trouble is the inner Stored Proc is referring to another server table. hence it does not give me permission to access the sub query table.  But I have assigned the correct permission on my Database connectivity which can access it. 


Schedule sending Email with Excel format of the report

$
0
0

Hi,

Can I schedule sending  Email with Excel format of the report in SS Report server?

Thanks for the idea!

Daphne

Migrating a project from VS 2015

$
0
0

I have a VS 2015 solution that has a SSRS project. Trying opening it in VS2017 giving me an error saying that I have incompatible project. How can fix that?

Thanks

SSRS image expressions

$
0
0

Hi All,

I have a multiple choice section in my report design. I have decided to use an image (tick or check) to represent the selected item:

How can I achieve this? for example, if selection is Annual leave, then the below is displayed:



Please advise,

Many thanks

Regards

Viewing all 10045 articles
Browse latest View live


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