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

Edit data string from datasource

$
0
0

Hello,

I am using Report Builder 3.0 and I have a report that uses a list within a list. It has a customer as parent and the devices of the customer as child. Right now, all the devices are in 1 string in the database, something like this: 

     12/11/2016 23:40:36 - Guest VM Name: DP-APP14
     Backup Result: Successful Backup - Backed 530 MB
     12/11/2016 23:28:32 - Guest VM Name: DP-APP12
     Backup Result: Successful Backup - Backed 559,38 MB
     12/11/2016 23:16:46 - Guest VM Name: DP-RDS01
     Backup Result: Successful Backup - Backed 19,71 GB

I want to edit this string so every device + their message will have their own seperate string. Should I do this in the report code block? Or in the code block of 1 of the 2 lists? 

This is what I have now:

Customer list
   Devices

This is what I want:

Customer list
   Device     Device     Device


Percentage of total in Tablix

$
0
0

Hi people, I am trying to do a percentage of total, but the way I did, even when the column value chances it calcullates the same percentage...Where is my mistake?

Expression: =sum(Fields!CMES_CONSOLIDADO.Value,"matrix1_DESC_UNIDADE")/sum(Fields!CMES_CONSOLIDADO.Value,"DataSet1")

Layout:

Result:

SSRS generate model renames objects ending -ces to -cis

$
0
0

I have a model created by using "Generate Model" on a SQL Server data source in the web front end.

Tables ending in "-ces" have their names changed to end in "-cis".

That is, table "Prices" becomes table "Pricis" and "Invoices" becomes "Invoicis".

Why is this?

It understandably confuses my reports.

How can I stop it doing this?

MTIA,
e

How can I use functions returning a result set in a Report Server Model dataset?

$
0
0

I have a project for a web portal, developed locally.

In the datasets i use a SQL query of the form "select * from fn_resultset(@param,...)".

I'm moving over to use a model for the actual portal.

This option does not seem to be available to me.

Is there any way I can include these functions in the model?

Is there any way I can use the functions in a dataset query directly?

MTIA,
e.

Sorting when the rows\data are in multiple pages?

$
0
0

Hi

I want to modify the single page view report to multiple pages (say 25 rows per page) and I want to apply sorting where the data should sort A-Z and Z-A in all pages. 

Example: Page 1 starts with A-Z and then when i click the sort button - it should sort from Z-A

I missed this one and I edited again - I have a Parent group created with this expression Ceiling(RowNumber(Nothing)/25)

How do I implement this?

Appreciate your help.


KPI + cache refresh plans + parameterized dataset + SSRS 2016

$
0
0

A KPI dependent on a parameterized dataset is not refreshing and display the updated value from the cache. A KPI using the same sproc without the filtering parameter refreshes when browser is refreshed. Is there a known issue regarding parameterized datasets with regard to KPI refreshing?

SSRS Mobile - Time chart not aggregating by category properly.

$
0
0

Hi Team,

I'm encountering the following issue: The Time Chart is not aggregating values properly and instead, is replicating the same data points (Categories) when more than one day gets selected.

- I'm using the the time navigator to control the behaviour of the Time chart. 

- The time unit selected in the Time chart is set as: Hour

- The field that's used as category is of type: Datetime

- The field used to aggregate values is of type: int.

See image 

The above image shows that for one day selected the aggregation shows correct in the Time Chart, just one day's hours is displayed as categories and summed up to each datapoint. 

The image above shows that if 2 days get selected in the time navigator, the categories get duplicated in the Time Chart's X axis, hence if I was to select a week this graph would become unreadable (24 hrs times 7). 

This issue is presented in the browser and within mobile devices.

Thanks. 

ssrs 2010 with lots of warning messages

$
0
0

Can a report server 2010 stop running or execute slowing when too many warning messages are generated? I am asking this question due to the following situation?

In an existing ssrs 2010 report, I changed changed a report to 2 main tablixes. When I execute the modified report, I get the following warning message, "========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
[rsParseErrorInvalidSize] Near character position 733 in the input string, the value of the font-size property for the textrun ‘stringtemplate3.Paragraphs[0].TextRuns[0]’ is “14px”, which is not a valid size.  Valid sizes may not exceed 455 inches (1155.7 centimeters). Preview complete -- 0 errors, 1 warnings". The warning message is due to html embedded within a varchar(max) column.

When I run the report with the modified html stored in the varchar(max) field called "stringtemplate3", the warning message goes away.

I am asking this question since there are already existing rows in the database where this warning message will occur. This warning message will occur until the next school year starts.

Thus can the  report server 2010 stop running or execute slowing when too many warning messages are generated? If so, is there anything I can look at in log files to see where the message may see there may be a problem that is occurring?


How to calculate the percentage according to other column in a matrix

$
0
0

Hi all,

I'm creating a report by SSRS.

Now I need to calculate the percentage  using other column in a matrix, but I find no expression support for it. Who can help me?

Thank you !


Unable to save Power BI document in Reporting Services using the new functionality of PowerBi in SSRS

$
0
0

I have configured Reporting Services SQL 2016 correctly and installed the new version of SSRS and Power BI  released with the article 

https://blogs.msdn.microsoft.com/sqlrsteamblog/2017/01/17/power-bi-reports-in-sql-server-reporting-services-january-2017-technical-preview-now-available/

When I try to save the PowerBI document SSRS  I receive the message , the URL is not a valid Report Server address 

SSRS is local  and I have also tried to use localhost with th same result.

Can you please help me?

Enrico


LDAP QUERY Active directory ADD TO PARAMETER SSRS

$
0
0

Hello,

i have the problem with my query LDAP to Active Directory.

The problem, i will be add a parameter to member query but it's no ok.

SELECT cn
FROM 'LDAP://OU=xxx,OU=xxx,OU=xxx,OU=Groups,OU=xxx-xxx,DC=xxx,DC=xxx'
WHERE objectClass='group'
AND member='CN=xxx,OU=xxx,OU=Users,OU=xxx-xxx,DC=xxx-xxx,DC=xxx'


i will be add a parameter to the query (@User) SSRS

SELECT cn
FROM 'LDAP://OU=xxx,OU=xxx,OU=xxx,OU=Groups,OU=xxx-xxx,DC=xxx,DC=xxx'
WHERE objectClass='group'
AND member='CN=@USER,OU=xxx,OU=Users,OU=xxx-xxx,DC=xxx-xxx,DC=xxx'

please help me.

Best regards


SSRS 2008 Report Parameter Default Value doesnt work when deployed

$
0
0

Hi,

I have a parameter that chooses its available items from a query (with a label and a value column). I set the default for the parameter to the a particular value.

It works in Preview from design mode, but when I deploy it and run the report, it does not set the default.

Any ideas?

Thanks!


Rick

SSRS Active Directory Data Source LastLogonTimeStamp returns "System._ComObject"

$
0
0

I am working in Report Builder and I have created a Data Source Connection to my Active Directory. I want to get LastLogonTimeStamp from my AD computer objects but when i run the query i get "System._ComObject" instead of a date. All the other fields return data.

here is my code:

SELECT ADsPath, cn ,objectCategory,name, lastLogonTimestamp
FROM 'LDAP://DC=domain,DC=org'
where objectCategory = 'Computer'

Eventually i would like a query that returns a count of Computer objects where LastLogonTimeStamp is older than 30 days.

I have researched this and found that the LastLogonTimeStamp is a IADsLargeIntegerValue and not an actual date. How can i display this as a date is SSRS Report Builder

SSRS - The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version.

$
0
0

Hi,

I am getting below while opening RDL file from C# win form application:

Error- The attempt to connect to the report server failed.  Check your connection information and that the report server is a compatible version.

Code-

ServerReport report = new ServerReport();
report.ReportPath = "/ReportsFR/AONOfferteNewFR";
report.ReportServerUrl = new Uri("https://srvdevnet.gmd.lab/Reports");

ReportDataSource reportDataSource = new ReportDataSource();
reportDataSource.Name = "DS_AONOOfferNew";
reportDataSource.Value = (new DbHandler()).GetAllEmployees();
Byte[] mybytes = report.Render("pdf", null); - Error coming at the line

Thanks in advance for your help.

Deploying a report on a client side

$
0
0

When a report is designed its data source points to a database on the development SQL Server. After publishing it on the client side what's a recommended way of modifying database information?

Thanks


How to Jump on more detailed report when click to some field in SSRS reports

$
0
0

Hello Everyone,

I am trying a Scenario where I need to create a table chart in SSRS. And I want to analysis more to click on any column's field in this table chart.

For e.g.- Let say I have six bank accounts showing in visual and now I want a detailed report by clicking any of those account no and it jumps to a new report which gives me more detailed information like total credits and spending etc.

How I can achieve it ?

Any suggestions will be helpful.

Thanks,

Akash

SQL 2016 Upgrade from SQL 2012 - issues with ReportServer version

$
0
0

Hi,

I have done an inplace upgrade to our production server from SQL 2012 SP1 to SQL 2016 (went to SP2 first).   All seemed to go smoothly until I tested out the reports which are configured to point to our old ReportServer database.  I now get this error:

  • 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 '173'

I have tried reconfiguring the database in the Configuration Manager and it doesn't seem to make a difference.  I've never been prompted to upgrade the database and suspect it never was upgraded.  I've tried installing SP1 as well as the cumulative update but nothing seems to make a difference.  I have gotten it to work by creating an empty ReportServer database, but unfortunately that is not an option for us.  The RSEXEC role has been granted dbo access.

Any help would be great.

Thanks,

Hillary

Displaying the excel Tab Name based on condition

$
0
0

I'm building a report(ssrs r2) where I have 3 parameters( product1,Product2,Allproducts).... 3 tabs.

1. If user selects the parameter = All then display 3 tabs.

2. if user selects product 1 ..I need to hide the product 2 tablix and display the Product1 & Allproducts tabs 

3. if user selects product 2 ..I need to hide the product 1 tablix and display the Product2 & Allproducts tabs

The issue is for ex  if user selects option 2 and exported the report excel ... page names are shown as product 1 * product 2 instead of product 1 and Allproducts

Any insight will be great help!

Thanks in advance

Column becomes empty when the VerticalAlign property is set to Middle or Bottom in SSRS 2016

$
0
0

The full issue is described here: https://support.microsoft.com/en-us/kb/3172732

It was supposedly fixed in CU1 (13.0.2149.0), but I'm on CU2 (13.0.2164.0) and am experiencing this exact problem.  Wondering if anyone else can replicate the issue on CU2?

Thanks,
Chris


SSRS 2016 Report Manager Print Control does not respect page orientation on linked reports - Bug?

$
0
0
I'm posting here before I submit a bug because I want to be sure it is actually a bug and not an issue in my environment. I have a report in SSRS 2016 SP1 that has a page orientation of landscape. When I use the new print functionality on theREPORT, it automatically selects Landscape page orientation in the Print dialog. When I run theLINKED REPORT and click print, it doesn't select the Landscape page orientation automatically. I have verified this on multiple reports. Is anyone else seeing this issue? If I need to submit a bug, where is the best place to do it? The only place I could find was https://connect.microsoft.com/SQLServer/Feedback but I didn't know if there was a better place to submit the bug since this isn't SSRS specific.
Viewing all 10045 articles
Browse latest View live


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