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

SQL 2012 Power View report based PowerPivot Model

$
0
0

Hi,

I've created PowerPivot Model having 2 tables coming from SQL 2012 database. One of this table is a dimension and the other one is a fact having measures.

I exported this workbook having PowerPovit model into Share Point 2010. When I go to create Power View report I am missing the option "Add to table as Sum" for numeric columns (measures). Not sure why is this? When I create a linked table based on data sitting in the worksheet and this option shows for numeric columns in PowerView report.

Anyhelp would be much appreciated.

Thanks


soori


SSRS MHTML on IPHONE

$
0
0
 

Hi,

I have several reports on my SSRS report server 2008 R2. All display great and subscriptions as MHTML display great too.

But when the email is viewed on IPHONE some reports display fine while others do not keep any formatting and look out of shape.

The charts are over some of the tables. 

What can be the reason?


Namnami

Datasets of report file call sp error

$
0
0

i use VS2008 dev 

1, exec sp on sql client ssms sucessful

Command(s) completed successfully.

2, but when use the same query on report file, it pops en error:

An error occurred while executing the query.
Invalid column name '***'.
Invalid column name '***'. (Microsoft SQL Server Report Designer)

===================================

Invalid column name '***'.
Invalid column name '***'. (.Net SqlClient Data Provider)

------------------------------
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.00.5500&EvtSrc=MSSQLServer&EvtID=207&LinkId=20476

anyone have the same experience? 


Tks Gavin Dong

passing multivalue parameter using mysql in ssrs report

$
0
0

Hi,

I am trying to pass multiple values to single parameter.I am using this query in dataset but i am not getting any result it returns blank what should I do where to write this query?????

"SELECT <column> FROM <table> WHERE <column> in ('" & Join(Parameters!Location.Value, "', '") &"')"

I have read the block of Jinchun Chen ,he has given the answer 

"The query should be:
="SELECT a, b, c, CName 
FROM Table1
Where CName IN ('"+Join(Parameters!Parameter1.Value, "','") + "')"

With the "=", the First" " ", and then last " " " 

what does this line mean in the answer

With the "=", the First" " ", and then last " " " 

Thanks


SSRS Date Parameters

$
0
0

Hi Every one,

I have Fiscal year parameter with years 2011-2012 and 2012-2013 and start date and end date parameters but my problem is when i select fiscal year as 2011-2012 but it will not update start date and end date my requirement is when i select Fiscal year as 2011-2012 then the start date will be 04-01-2011 and end date will 04-01-2012 and when i select Fiscal year 2012-2013 then the Start date will be as apl 2012 and end date apr 2013 .

Thanks and Regards

Sarma

SSRS 2012 Map chart not visible when asked up as subreport

$
0
0

Dear reader,

We have a problem with the SSRS 2012 map chart when viewed in the browser as a subreport.

When the report is directly viewed (not as a subreport) everything works fine. The map chart gets displayed.

When the report is viewed as a subreport within a other report the map isn't visible anymore (you only see the borders around the map and a red cross at the left top using IE9).To make this issue even better: In the subreport we have 2 maps; the first doesn't get displayed in each case; the second however is being displayed fine. The second map chart in the subreport is a copy of the first (i compared the underlying XML of both maps; it's exactly the same except for another data field that it's being shown). Exporting the map in the report as PDF or MHTML (when viewed as a subreport) goes well in all occasions; the only problem we have is when its viewed after rendering in the browser as a subreport!!

The reportserver logs don't show anything; it also doesn't seem te be a browser problem (get the same results on Firefox). Any advice is welcome!

On request I can send more information about this issue.

Kind regards,

Ron Verhoeven

Power View using Tabular Model (Numeric data)

$
0
0

Hi all,

I've 2 tables as following which I imported into a tabular model.

Here's the data. Both these tables are joined using column "Main_No"

Table 1

Main_No           Name       

1                        TRAN001

2                        TRAN002

3                        TRAN003

Table 2

Detail_No         Detail_Name        Main_No        Amount

1                       D0001                   1                     200.00

2                       D0002                   2                     100.00

3                       D0003                   1                       50.00

4                       D0004                   3                     100.00

When I go to Power View and dragged the following columns into the report view.

Name, Amount

The output came as following which is incorrect. I've selected the option "Sum" under the column Amount in Power View.

Name             Amount

TRAN001          450.00

TRAN002          450.00

TRAN003          450.00

The output came as following (which is incorrect as well ). I've selected the option "Do not Summarize" under the column Amount in Power View.

Name             Amount

TRAN001          200.00

TRAN002          100.00

TRAN001            50.00

TRAN003          100.00

What should I do to get the proper aggregation as following.

Name             Amount

TRAN001          250.00

TRAN002          100.00

TRAN003          100.00

Any help would be much appreciated.

Thanks


soori

How to flag a Parameter in BIDS as a Report Part, and other concepts

$
0
0

I am using SQL Server 2008 R2 and am just getting started with Report Builder and Report Parts. In BIDS, under the Project Properties of a Report Server project, there is one called "TargetReportPartFolder" with a default value of "Report Parts". That, coupled with documentation that says I can publish a Parameter as a Report Part, leads me to believe that I can take an object in my report (I'm working in BIDS now, NOT Report Builder) and publish it to the sever as a Report Part. For the properties of an image item, there are properties for ComponentDescription, ComponentID, HideUpdateNotification, SourcePath, and SyncDate. But only two of these 5 are open for editing. I don't see that the image got published to the server's Report Parts folder when I published the report.

So the question is this: How do I take elements (Data Sets, Parameters, etc) from a report in BIDS and deploy them as Report Parts. I do realize that once deployed that I cannot then consume those Report Parts in BIDS, that they can only be consumed in Report Builder, but I'm OK with that.

I did find this post: http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/e273d62c-eace-4174-ba70-b3fc13e3f5d7 and this MDSN entry:http://technet.microsoft.com/en-us/library/ee633670.aspx and it had some links, but there was nothing SPECIFIC about HOW to actually accomplish this. I didn't see any specifics in BOL either.

Other questions:

Is it even possible to do what I am trying, or am I FORCED to publish only from Report Builder?
What is the purpose of the properties under the Published Report Part section that is available for some report elements like charts and tables?

Thanks in advance.


Todd C - MSCTS SQL Server 2005, MCITP BI Dev 2008 Please mark posts as answered where appropriate.


Report Parameter Help

$
0
0

Hi all,

In my Dataset i am using a parameter like

t.period between @startPeriod and @EndPeriod each period is the month in the calender year

In my report header this how i i want to see if a user entered 1 & 2 as the paramter vaue. How can i get this done? Any idea?

Activity from January 1, 2012 thru February 29, 2012

 

FM

PowerView Error: An error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions to access the data source.

$
0
0

We have a SharePoint system for Power View, and it was working before the holidays but stopped working after we come back to work today. We have not changed anything in the setup, so we thought there may be something in the system changed that we were not aware of. We are not sure where to start since we don't know what the possible causes are. We'd really appreciate any help to troubleshoot the problem, where to start and what to look for.

Our system setup is below:

SharePoint 2010 on Windows Server 2008 R2, SP1

SQL Server 2012 also on Windows Server 2008 R2, SP1

The users are on the same domain as the SharePoint and SQL Servers.

We create all of our reports based on PowerPivot workbooks (not analysis tabular modules)

I've checked that Analysis Service is running and users have admin access to Analysis Services, and the users have access to the data sources in the PowerPivot workbooks.  

Appreciate any help that would help us troubleshoot the problem or point us to the right direction.

Calling a Web Service in a SSRS Report - Error Converting String to Generic List of Strings

$
0
0
Hello,

I am using SSRS version 2005 and am trying to call a web service to retrieve data for a SSRS report.  I've looked on Google and MSDN for the past 2 days and have exhausted all options.  Here are the details...

The web service method I am calling accepts 4 parameters...

Parameter 1 = Generic list of strings
Parameter 2 = DateTime
Parameter 3 = Int
Parameter 4 = Int

I have created a function (on the CODE tab in report properties) in my report that gets passed a comma delimited string and returns a Generic List of Strings that I use to format Parameter 1.  The code for the function is as follows:

Public Function GetIDs(ByVal IDList as String) As List(Of String)
   Dim stringArray() = IDList.Split(",")
   Dim genericList As New List(Of String)(stringArray)
   Return genericList
End Function

I am passing a string to the function that looks something like this:

"1,2,3,4"



When I try to PREVIEW the report, I get an error that reads:

"There is an error on line 0 of custom code: [BC30002] Type 'List' is not defined"



I've tried changing the function declaration to pass back a string array:

Public Function GetIDs(ByVal IDList as String) As String()
    Return IDList.Split(","c)
End Function

This returned the error (from the web service): 

"Error in line 5 position 22.  Expecting state 'Element'.. Encountered 'Text' with name ", namespace"



I have also tried changing the function declaration to pass back an array: 

Public Function GetIDs(ByVal IDList as String) As ARRAY

This also produced the error:

"Error in line 5 position 22.  Expecting state 'Element'.. Encountered 'Text' with name ", namespace"



I know that this particular web service method DOES work because it is coded to accept nulls in the first parameter.  So... when I call the method with nulls, it returns a recordset of ALL data (this works fine).  Only when I pass a string to the function (which "filters" the recordset by the ID list), does the error occur.

Is SRSS limited with respect to VB.NET code so that the List(Of String) statement is not recognized?  Has anyone done this before and if so, how did you convert a comma delimited string to a Generic List of Strings within a function in the SSRS report?

Any info would be greatly appreciated.

Thanks!

Bob

"A generic error occured in gdi+" error SSRS 2012 SP1 on Windoes Server 2012

$
0
0

A simple SSRS 2012 SP1 report with some sparklines rendered in the browser on the server doesn't return any of the charts (instead, it just shows an unfound image). Looking at the logs, I'm getting a "generic error occurred in gdi+", but when I looked through past posts, they were all on Windows 2008 and had hotfixes where the gdiplus.dll version was less than the one in Windows Server 2012 (6.2.9000.16384).

Any ideas on what's causing this, or how to fix it?


LiveLogic | http://www.livelogic.net

The URL has already been reserved?

$
0
0
One of my servers quit responding during some troubleshooting of another issue and when I try to reconfigure it I am receiving Results as follows:

Reserving url http://+:80
The URL has already been reserved.

It appears to me that there is something with the Virtual Directory that is not allowing me to use it or overwrite it.  If I change the name or the port the new configuration works fine, however this is part of a scale-out test environment and I need to keep the virutal directory names the same.

I have uninstalled and reinstalled SSRS in an attempt to resolve, but that did nothing to this issue.

How can I manually list, delete, or edit  Virtual Directories in SSRS 2008?

Report Builder Datasource Issues

$
0
0

Are the embedded datasource(stored creditentials) reside at Reporting Server?

else

May i know where is it?

The situation is the Embedded datasource not able to polish when running the report,

it prompt the dialogs for inputting it, even tought i save it.

Would it be better to use shared datasource?

Thanks all guys.

andrew

Alternate row formatting - Conditional Formatting with row & column groups

$
0
0
Is there a way to use conditional formatting to alternate the background color for a Matrix table that has both a column groupand a row group?

Here are details of my table....
Row group name:  GroupbyEmployee
Column Group name:  GroupbyProjectNumber
Value:  Sum(HoursWorked)
Tablix name:  matrix1

Note, there is only one row and one column, but they are both 'groups' so I can properly get the sum of hours worked by each employee on each project. 

I have tried the following conditional formatting on the Value text box properties, but none of them give the desired result:  
=IIF(RowNumber("GroupbyEmployee") Mod 2, "White", "PaleGreen")
=IIF(RowNumber("GroupbyProjectNumber") Mod 2, "White", "PaleGreen")
=IIF(RowNumber("matrix1") Mod 2, "White", "PaleGreen")
=IIF(RowNumber(Nothing) Mod 2, "White", "PaleGreen")

None of the scopes above for RowNumber() seem to give the desired result.  I know this has something to do with the row and/or column groups.  Is there anything that will work for this specific example? 

Thanks,
Elizabeth

SSRS 2008 R2 Sharepoint Integration - Known Issues Does Not Fixed After Apply SQL Server 2008 R2 - SP2

$
0
0

Hi All,

Product Info:-

1. Sharepoint 2010 (RTM) - Build Version - 14.0.4762.1000

2. Micrfosoft SQL Server 2008 R2 - Apply SP 2 - Build Version - 10.50.4000

I have configure the SSRS as Sharepoint Integration Mode, and deployed all my reports to sharepoint 2010.

After deployed, I have test the reports which in sharepoint 2010. Below is the 2 issues that I faced, and after google know that those issues are the "Known Issues".

Issues 1 :- http://support.microsoft.com/kb/2486793

Issues 2 :- https://connect.microsoft.com/SQLServer/feedback/details/580461/closing-the-parameter-panel-loses-parameters-when-navigating-between-reports-in-sp-integrated-mode#tabs

According those kb, I have installed the latest SQL Server 2008 R2 - SP2, but since those hotfix/CU/SP2 does not fixed my issues.

Anyone facing the same issues as me? Have you managed to fixed the issues ? Anything that I missing ? Did I need to apply any sharepoint SP in order to fix those issues?

I really run out of ideas on how to fix this. Could anyone help me on this. My boss is "chasing" me to fix this issues as soon as possible.

Please, all the experts, Kindly provide some guide to me as soon as possible. I have suggest my boss to log a case to Microsoft Support, but he does not allow me to do this.

Kindly help.

Thanks in advanced.


SSRS Report Header on each page when row data spans multiple pages

$
0
0

Hi,

The data that a row contains spans across more than 5 pages. It is required that I display the column headers on each of the generated PDF which is not happening. An image of what is being generated is attached. What I need is that the columns headers appear on all the pages. Please note that this is the output from a single row, nut multiple rows.

Need help here.

Shival

image


Shival


A General Question About Best Approach to Creating a Report W/A Large Number of Records

$
0
0

I'm gonna try to be specific, but I'm afraid this is kind of a generalized questions to begin with.  I'd rate my SSRS proficiency as somewhere around upper-novice to lower-proficient developer.  I have a pretty good grasp on most of the basics and can even manage a trick or two in developing reporting solutions. Currently, I'm stumped however.

I need to create a report that will summarize student suspensions for each school in my district (approximately 160 schools), on the same page.  Our schools are grouped into 6 areas, so basically I have the the 6 areas as column groups, and the schools as row groups.  The initial creation of the report worked great, as they just wanted to see suspensions per schools.  I was able to group the mdx data coming in so that only 160 rows of data were being processed (1 for each school) and the report came back in under a second.  

After seeing this, everybody got excited and now they wish to have filters placed on the report so that they can see the suspensions broken down by Race, Gender, and other labels (Is the kid on Free/Reduced lunch? Limited English? etc.).  So I have multiple filters I have to incorporate.  All these labels are (obviously) already attached to each student and are attributes in the Student dimension, so I thought, no big deal, I'll just load in each student and the respective attribute flags, which is about 100,000 records total.  Unfortunately, this has really put a hurtin' on the report -- it's taking about 75 seconds to run this way.  About 30 seconds of this runtime seems to be from pulling in the data from the mdx query itself.  I noticed that each time I added a new attribute field from the student dimension, it would add about an extra 4-5 seconds of processing time.

Next, I tried to create calculated members in the cube itself for each student attributes: total number of males/females suspended, total number of asians/hispanics/whites suspended, total number of "Free/Reduced Lunch" suspended, etc.  This let me get the number of rows back down to a manageable size and the report speeded back up to about 2-3 seconds.  I thought I was home free, but then I started testing and discovered another issue.  If somebody filters to see, say, Asian Females on Free/Reduced Lunch -- it's possible that a student is going to show up three times because they could be Asian, Female, and on Free/Reduced Lunch - so there's no way to filter that out, I think.

I really don't see anyway around pulling in each individual kid, which takes me back to about 100,000 rows.  Am I missing something? Is there a better way to do this?  Is there a trick to organizing my cube or the dimension attributes that I don't know about?  Why would adding an attribute from a record that is already "accounted for" add so much extra time onto the processing?  Is it just a known fact that trying to process so many records will not work?

I've included a screenshot below to give you an idea of what my cube looks like, and the rediculous amount of calculated summary measures i've created trying to fix this...

SSAS dimension translation (multi-language problem)

$
0
0

Hello,

I'm working on a report showing some data from an SSAS 2008 cube with dimension element translation (SQL Server Standard Edition 2008). I have created the report using the report assistant. There I have specified a custom MDX query. After that I have added additional datasets with queries similar to the first one.

When viewing the report in the web browser, only the first dataset's dimension element names are translated. If I assign the first dataset to other tablix controls in the report these will show translated element names, too. So the source of the problem must lie in the dataset definition, but I can't find any difference between the first dataset (created by the assistant, but using a custom MDX query) and the other (manually created) datasets.

Do you have any idea, how to solve this problem?

Also in other reports (not created by me) I have observed the miracle that only the first dataset (used in a tablix control) is translated, but not the additional ones. 

The drop downs for the report parameters are working as they should, i.e. the data is translated.

Thank you in advance and best regards,
Gerald

Footer textbox is not moving to right side when Table's width grows in Landscape Orientation

$
0
0

This is regarding an RDL report which I am working on. I have a table which dynamicaly grow according to volume of data. Orientation is Landscape. I have a footer, added a textbox in the right corner, with an expression to display today's date. It is working fine when I have limited number of data in above mentioned table. But whenever table grows to the right side, after a certain limit, the date textbox is not moving to the right side of the footer. As a result, when I have more data, this field in footer is displaying middle of the footer.

Please provide your thoughts to fix this issue; let me know if I need to provide additional information.

Thanks in advance.


T.A.


Viewing all 10045 articles
Browse latest View live


Latest Images

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