Filtering On Distinct Objects In Reporting Services 2005
Apr 29, 2008
Is there a way in Reporting Services to filter based on a parameter, but get it to use distinct values?
Currently I have a dataset that is grouped on a Branch value and a Team value.
The end-user wants to be able to filter out data based on the branch values, however when I set it up to that field it comes back with:
Branch 1
Branch 1
Branch 1
Branch 2
Branch 2
Branch 3
Branch 3
and the same goes with Team, which is a sub-group of branch. Is there any way I could set this up so that the parameter drop-down will only display distinct values? Also, is it possible to do the same with another parameter based upon the branch parameter.
Ex.
Branch 1 contains Team 01, Team 02, and Team 03
Branch 2 contains Team 04, Team 05
User selects to filter by Branch 1, the Team dropdown should only contain options for further filtering on Team 01, Team 02, and Team 03 not all of them.
Any help is much appreciated.
View 3 Replies
ADVERTISEMENT
Sep 4, 2007
hi,
I have a trouble in filtering with SQL reporting services 2005 (SSRS). Please help me in clearing this issue.
I have a textbox and an dropdownbox with all the column names of a table in it. I will be entering some text in the textbox and will select a column name in the dropdownbox. I should get a result by checking the value of the textbox in the selected colum from the dropdownbox.
I give the query in where condition as: "(@dropdownvalue LIKE @Textboxname) ", which is not working.
Thanks in advance,
John.
View 1 Replies
View Related
Feb 19, 2008
I am trying to generate a report that is basically a class list. It lists classes for a specific semester and lists them by day of the week and then by time.
If I am pulling back a dataset of all classes, how do I filter my report so as to show each set of classes appropriately (by day and by time within the day)? I tried using the Filter function on the table level, but I guess I don't get it.
My table would need to look like this:
MONDAY:
8:30 - 9:30
9:30- 11:30
11:30-1:30
classnum/prof
classnum/prof
classnum/prof
classnum/prof
classnum/prof
classnum/prof
TUESDAY:
8:30 - 9:30
9:30- 11:30
11:30-1:30
classnum/prof
classnum/prof
classnum/prof
classnum/prof
classnum/prof
classnum/prof
View 4 Replies
View Related
Aug 21, 2007
Hi,
I have being trying this for quiet a while now and I just cant find a solution. Basically I have a field called Total Active. The total active indicates for example..... A project is open or closed. If the project is open, the value 1 is displayed in the database and if closed the value 0 is displayed in the database.
So I have my field in reporting services and now I just want to count all the open projects. I thought you could do this:
= Count(Fields!Active_flag.value = 1)
This does not seem to work.....or my syntax is wrong or something.
Then I tried to pass all the values in Fields!Active_flag as a object using VB custom code. Example:
=code.getTotalActive(Fields!Active_flag.value)
then receive the Object and loop through it to count all the 1's in the Object (Active_flag.value) and pass the total back. However I was not successful with this because I couldn€™t get the length of the Object....which I needed to iterate through all the values.
My next attempt which I thought was a sure winner was using a group and filtering out all the 0's which left only 1's that I could count. But this brought about another problem.....the filter only looks for 1's and then counts the 1's and displays then.... But when it doesn€™t find any 1's then the entire Field does not display on the report. This is very frustrating because I would rather have is say "no projects active" instead of it not displaying.
Any help will be much appreciated. I have boggled my mind for the solution.
thanks
Ziyaad
View 8 Replies
View Related
Aug 20, 2015
I am creating custom reports from TFS data in Report Builder 3.0. What I am trying to do is make it possible to run the report and then filter on something and only display those results. For example.. I have created a report with Project Name, Deployment Dates.
The report returns all the project names with a particular type of work item with a planned release date. I would like to be able to drop down and select a particular project name and only display results from that project. By default, I do want all the projects to display but want the possibility to select a specific project.
Do I go to dataset properties of the project name field and add an expression under the filters section?Do I also need a parameter?
View 10 Replies
View Related
Oct 3, 2012
I'm building a report that has a column in the table called countries of origin, that column can contain data like "USA","China" ( normal countries) but some rows can also contain "USA, China, Australia" ( multiple counties in one row).
I'm trying to build a filter to filter my results :
-I have a data set created with a list of all world countries
-I've Build a Parameter containing a drop down list with all countries
--- My problem is when I want to create the filter in my main data set , I can so it , but when I search for example for "USA" , I don't get the lines where there are multiple countries and "USA" is one of them...
There must be an expression in the filter that will be able to search through all the values in the string and return me my correct results.
View 19 Replies
View Related
Dec 14, 2007
Everybody says that sql reporting supports using business objects but I am running into a situation where I have a custom business object which has bunch of objects bundled inside and if I try to show those objects in a list or table, all I get is an error without any description.
Can we report on business objects which have some depth build into them, like a customer -> address -> shipping -> Although my custom object has 4 level deep objects which I would like to group on and report on.
If yes then how do we achieve this?
Or what kind of interface do those object need to use like IEnumerator or what?
Is there any example out there which reflects this?
Atul
View 4 Replies
View Related
Jul 20, 2005
Hi,I am evaluating Microsoft Reporting Services against Business Objectsas a reporting tool against SQL Server. I am primarily a BOBJdeveloper and am finding RS not easy to use. Can anyone provide anyfeedback to the overall comparison between these 2 products as I amfinding RS frustrating and am wondering if it is just a matter ofre-adjusting and spending more time on it or if anyone else is findingRS more trickey to use than BOBJ as wellI would be extremely grateful for any feedback.Many thanks in advanceLA
View 1 Replies
View Related
Jun 17, 2015
I am making a report using RDLC. I have made the connection with Sybase database (using ODBC) and when I add a new DataSet in report then it says:
The database is new or does not contain any objects...Connection to database is successful and it contain many tables and views but they are not being displayed.
Tried again with Sybase OLEDB provider but same issue.Even the Server Explorer where you can see database servers added is not showing any tables and views. I read somewhere it is because there may be no primary keys defined in any table so I created a new table with primary key but issue remains the same.
View 2 Replies
View Related
Oct 28, 2005
Hello All,I've got a stored proc that I can't change that creates a quite largedataset and takes in 5 parameters. I need to be able to have each ofthe parameters selectable from a drop down box so that as you gothrough the list of parameters you restrict the results. I have itable to load the parameters but I end up with this:Location-LONDONLONDONLONDONNEW YORKNEW YORKNEW YORKNEW YORKTORONTOTORONTO....Any idea how i can filter the list of locations by distinct? fromwithin SQL Reporting Services. I tried a temp tbl in query analyserand that works but SQL reporting services doesn't like it.
View 1 Replies
View Related
May 14, 2015
Table here shows partial data extract in order I want to see the report. I need to report:
part-a  full, 8 layer, 7 layer, 6 layer....
Part-b  full, 8 layer, 7 layer, 6 layer....
part-a  full, 8 layer, 7 layer, 6 layer....
Part_NumberÂ
 Pal_num
      MFGDate
Shifttime
WorkCen
[Code] ....
if I group by part number, I get a total. I need a 'sub-total' by part as each group is produced.
Report should be:
Part                        FULL     8layer  7layer 6layer   5layerÂ
4layer.....
604-04043Â Â Â Â Â Â Â Â Â Â Â Â Â Â 6Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â 1
604-02057Â Â Â Â Â Â Â Â Â Â Â Â Â Â 14
604-04043Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â 7
View 3 Replies
View Related
May 13, 2009
I have integrated sharepoint list data to SQL Server reporting services. I am using the below to query sharepoint list data using sql reporting services.
<Query>Â Â <SoapAction>http://schemas.microsoft.com/sharepoint/soap/GetListItems</SoapAction>Â Â
<Method Namespace="http://schemas.microsoft.com/sharepoint/soap/" Name="GetListItems">Â Â Â Â Â
<Parameters>Â <Parameter Name="listName">Â Â Â Â Â Â Â
[Code] .....
By using this query, I am getting a dataset which includes all the columns of sharepoint list. Among these columns, I wanted to display only 2 columns (i.e Region and Sales type) using chart. I have created a Region parameter but when I click preview, the drop down box is giving me all the repeatative values of region like
RG1,RG1,RG1,RG2,RG2,RG2,RG2,RG3..........
I wanted to display only distinct values of Region parameter so that whenever end user select region from the parameter drop down, it will display the respective value of Sales type column.Also when I select only RG1 parameter, it is giving me a chart including the sales type of all the Regions. (it should display me only the sales type of RG1) How can I link these 2 columns so that they will display the values respectively. Â
View 36 Replies
View Related
Mar 22, 2008
Hello,
I am trying to migrate my reports from SQL server 2000 reporting services 32bit to 2005 64bit. I am following the migration steps that MS specified.
Restored my Reportserver and ReportserverTempDB databases
Then I was using the configure Report services to upgrade these databases but I always end up getting the follwoing exception when I run the upgrade on the "Database Setup" configuration for 'ReportServerTempDB' database
System.Data.SqlClient.SqlException: Could not locate entry in sysdatabases for database 'ReportServerTempDBTempDB'. No entry found with that name. Make sure that the name is entered correctly.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.ReportingServices.Common.DBUtils.ApplyScript(String connectionString, String script)
at ReportServicesConfigUI.SqlClientTools.SqlTools.ApplyScript(String connectionString, String script)
It's driving me crazy, why is it looking for 'ReportServerTempDBTempDB' in the catalog instead of 'ReportServerTempDB'?
Is it possible to migrate from 32bit to 64bit?
Any help is appreciated
View 1 Replies
View Related
Jun 10, 2015
I am working on complex invoice document that handles various types of invoicing, credit, and progress bill customer facing documents. Â I am faced with same problem I see many SSRS devs posting on. Â And that is extra blank pages, being generated because the report width exceeds the width of the page.
My problem is I cannot shrink the horizontal width of the tablix and therefore the report width either...
While I would have done things differently if developing from scratch, the tablix in question has only one column and objects contained in rectangles are placed in the row/column cell.....The link to the image below shows the row I am currently working on. Â Essentially all the client wants a columnar report with column lines, closed footers, etc... Â so rather redoing the whole tablix, which I still might do, I am using rectangles with the column then lining them up. Â Anyway, that is a whole 'nuther post. Â My specific questions are: Â
Invoice in Report Builder
1. In the image I have selected the parent rectangle. Â The children are other rectangles and the data is with grandchildren textboxes that exist within those rectangles. Â I clearly have a bit of right side white space in the main parent rectangle, but there is no sizing tool on a hover... just move tool. Â And if I change the rectangle size in the prop form it just snaps back to the cell width. Â How do I size the parent rectangle and keep if from expanding.
Here I am guessing that to actually reduce the horizontal width of tablix and then the report, I have to first decrease the parent width of the rectangles that occur in each row?
View 2 Replies
View Related
Aug 18, 2015
I have made an SSRS report using the recursive parent functionality to show a hierarchical tree of values. The problem I have is that some children have more than one parent, but because (in order to use the recursive parent nicely) I need to group the results by Id, I only see distinct entries. This means that I only see each child once, even if it "should" appear in multiple locations in the report (under each of its parents).
View 6 Replies
View Related
Mar 23, 2007
Hi,
I have just install SQL 2005 SP2 and trying to get Window SharePoint Services V3 integrated with SQL 2005 SP2 reporting services.
In SharePoint Central Administration, I select the Reporting Services Integration page and have setup the Report Server Web Service URL and Authentication Mode. I then goto Grant database access, specify the SQL server name, get promted for a username and password that has access SQL Reportserver and get the following error "The group name could not be found"
Does anyone have any ideas?
Thanks
View 5 Replies
View Related
Sep 16, 2007
Hi All,
I'm trying to create reports in RS2005 using AS2000 as my data source. I understand that if I use RS2005 on AS2000, I wont be able to enjoy the OLAP based parameters as in using AS2005. Does anyone know an easy way to easily use Parameters in RS2005 while still using AS2000?
Regards,
Joseph
View 1 Replies
View Related
Jul 30, 2007
Hello,
i have a small problem with the data sources in the reporting services, maybe you can clarify the situation... I have a MS CRM 3 solution with the reporting services 2005 installed. From an other vendor we have a arcplan solution on the 2000 analysis services. I would like to get access from the 2005 reporting services to the 2000 cube. Is this possible? Ive read that the SSMS cant connect to the 2000 cubes. Can i connect from the reporting services??
thank you
regards
Andreas
View 3 Replies
View Related
Sep 7, 2015
We have SharePoint list which has, say, two columns. Column A and Column B.
Column A can have three values - red, blue & green.
Column B can have four values - pen, marker, pencil & highlighter.
A typical view of list can be:
Column A - Column B
red  - pen
red - pencil
red - highlighter
blue - marker
blue - pencil
green - pen
green - highlighter
red  - pen
blue - pencil
blue - highlighter
blue - pencil
We are looking to create a report from SharePoint List using SSRS which has following view:
          red   blue  green
  pen       2    0    1
  marker    0    1    0
  pencil      1    3    0
  highlighter  1    1    1Â
We tried Sum but not able to display in single row.
View 2 Replies
View Related
Oct 22, 2007
I am trying to import Access reports using Visual Studio 2005 and Access 2007. SQL Server 2005 with Reporting Services is also installed. I select Reports in the Solution Explorer and then Import Reports... Microsoft Access and browse to my Access database. After I select the database I see it open briefly as if it is trying to import the reports but then Access quickly closes and a error pops up: "You already have the database open." I have checked and double checked and the database is not open. I have even tried several different databases and the same errror occurs. Any help would be greatly appreciated.
View 1 Replies
View Related
Nov 19, 2007
Hi,
Can we install reporting services 2005 in a machine in which is not installed SQL server 2005.?
Thanks
View 3 Replies
View Related
Dec 8, 2007
Hello,
I'm trying to make some reports using the sql 2005 reporting services addin for Visual Web Developer Express 2005. I download the add-in here. So far it installed "successfully". The problem i have is when i try to add a datasource to the report at "Report > Data Sources... " it gives me an error saying: "The system cannot find the file specified."
Another Error it gives is that when I try to drag a DataSet field from the Website Data Sources toolbox tab the visual web developer crashes :/.
An observation that I don't know if this is ok is when I create a new Data Source it creates an App_Code folder inside where my report is /Reports/ and there it saves the DataSet. Just an observation...
This is my development enviorment:
Laptop:
Windows Vista Home Premium (Up to date)
Microsoft Visual Web Developer 2005 with Service Pack 1
Reporting Add-In for Microsoft Visual Web Developer 2005 Express
Server:
Microsoft Windows Server 2003
IIS 6.0
ASP.NET 2.0
Microsoft SQL Server 2005 Express
Reporting Services for SQL Server 2005 Express
Here are some pictures of the erros:
Error 1
Error 2
Please could someone help me fix this?
Thanks in advance.
View 3 Replies
View Related
Apr 17, 2008
Hi,
I want to get data from Oracle 10g Stored procedure to Reporting Services 2005. I could pass a SQL text and get a record set, but I want to execute a store proc and get the record set.
1. Add New Data Source
2. Choose Type : Oracle and connection tested OK
3. { call Test_Package.Test_Procedure(?) } is it wrong... how to write???
There is an error in the query. ORA-00911: invalid character
Also make sure that you use the text-based generic query designer (2 panes !) instead of the visual query designer (4 panes) - you can switch between them through an icon on the toolbar in the data view of report designer.
Question : I tried many methods but unable to solve it...
create or replace
PACKAGE Test_Package
AS TYPE Test_Type IS REF CURSOR RETURN Test_Table%ROWTYPE;
END Test_Package;
create or replace PROCEDURE Test_Procedure (
Test_Cursor IN OUT Test_Package.Test_Type,
Test_Parameter IN Test_Table.ID%TYPE
)
AS
BEGIN
OPEN Test_Cursor FOR
SELECT *
FROM Test_Table WHERE Test_Table.ID >= Test_Parameter;
END Test_Procedure;
The below site gave some example but i could not solve it... any suggestions greatly appreciated...
http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=357121&SiteID=17
http://groups.google.com/group/microsoft.public.sqlserver.reportingsvcs/browse_frm/thread/bbc613c4529ed3cd/696624ec4ba70937?q=oracle+stored+procedures
View 1 Replies
View Related
Jan 24, 2008
Company is starting to use the Reporting Solution feature. The model has been created however when adding filters we receive a yellow exclamation point when trying to add certain entities as filters. Can someone point me in the right direction on why this might occurr.
Thanks
View 3 Replies
View Related
Jan 22, 2008
I'm using Report Builder to create a new report. The problem I'm having is that once I choose a Field from an Entity in the Entities list I can only choose Fields from that Entity. For example, I have two Entities, one called Customers and the other called Delivery. Within the Customer Entity I have several Fields that I want to add to my report, say First Name and Last Name. From the Delivery Entity I have a Status Field which I'd like to include but because I have no way to get back to my Entities list, without removing the Fields from my Report, I can't include that Field.
If I remove the Fields from my report, the Entities list then populates with both the Customers and Delivery Entities, THEN I can choose my Delivery Entity and select the Status Field. But I can't get back to the Customer Entity. I keep going back and forth.
I'm not exactly sure what I'm doing wrong, or if there is a more efficient manner to accomplish what I'm trying to do.
Thanks.
View 1 Replies
View Related
Jun 11, 2007
What is the best option to monitor user accesses to published reports? IT department wants to have an idea about the need (value and time) of produced reports.
Regards,
Vitor Mota
View 2 Replies
View Related
Apr 11, 2007
Hello All,
I am getting the following error while I am connecting SQL 2005 reporting services through local and outside
http://localhost/reports
http://servername/reprots
I configured through all the stems through reproting services configuration
You advise/suggestion is greately appriciated.
Ven
---------------------------------------
Server Error in '/Reports' Application.
--------------------------------------------------------------------------------
An error occurred while parsing the configuration file. The ReportServerVirtualDirectory element is missing.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Exception: An error occurred while parsing the configuration file. The ReportServerVirtualDirectory element is missing.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[Exception: An error occurred while parsing the configuration file. The ReportServerVirtualDirectory element is missing.]
Microsoft.ReportingServices.Diagnostics.RSConfiguration.ThrowElementMissing(String element) +41
Microsoft.ReportingServices.Diagnostics.UIConfiguration.ParseXML(XmlNode node, RSConfiguration configObject) +1104
Microsoft.ReportingServices.Diagnostics.RSConfiguration.ParseDocument() +972
Microsoft.ReportingServices.Diagnostics.RSConfiguration.Load() +32
[ServerConfigurationErrorException: The report server has encountered a configuration error. See the report server log files for more information.]
Microsoft.ReportingServices.Diagnostics.RSConfiguration.Load() +166
Microsoft.ReportingServices.Diagnostics.RSConfiguration.Construct(String configFileName) +62
Microsoft.ReportingServices.Diagnostics.RSConfiguration..ctor(String configFileName, String location) +296
Microsoft.ReportingServices.Diagnostics.RSConfigurationManager..ctor(String configFileName, String configLocation) +134
Microsoft.ReportingServices.UI.Global.get_ConfigurationManager() +84
Microsoft.ReportingServices.UI.Global.get_Configuration() +4
Microsoft.ReportingServices.UI.GlobalApp.Application_AuthenticateRequest(Object sender, EventArgs e) +84
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
View 2 Replies
View Related
Dec 30, 2005
Hi,
I am trying to use reporting services 2005 with a VB SQL stored procedure that i created in visual studio using CLR.
The stored procedure was created successfuly in SQL server but while linking the report to the stored procedure, i am receiving the following message
"An error occurred while retrieving the parameters in the query.
The stored procedure 'mysp' doesn't exist.
Thanxs in advance
View 11 Replies
View Related
Jun 20, 2007
I have a sql server 2000 database and sql server reporting services 2000 installed on it i want to install 2005 sql reporting services on sql server 2000 Is Sql server reporting services 2005 works fine with sql server 2000 and what are the settings that i have to perform.
View 1 Replies
View Related
Apr 26, 2007
I am trying to learn Reporting Services using the title "MS SQL Server 2005 Reporting Services Step by Step" by Stacia Misner and Hitachi Consulting, published in 2006. I am experiencing problems with some of the exercises. I got as far as Chapter 4 when I followed directions to create a SQL statement to define a query string for a dataset. Pg 80:
select * from vProductProfitability
where year = 2003 and
MonthNumberOfYear = 1
The view vProductProfitability does not exist in the tutorial database that came with the book, rs2005sbsDW. The result of this query is the basis for the entire chapter on developing basic reports and I'm being denied a learning opportunity because the view does not exist. In short, I'm stuck.
I have tried to find somewhere at Microsoft to place this question and get some answers so I can continue thru the tutorial. To no avail. Does anyone have any suggestions?
BTW, the solution that came in the CD is also wrong because the query noted above is also in the solution.
This humble grasshopper seeks wisdom.
Respectfully Submitted,
Dave Matthews
Atlanta, GA
aka FlooseMan Dave
View 17 Replies
View Related
Apr 8, 2006
Why doesn't SQL Server 2005 need IIS for its http readiness while its Reporting Services do? Thanks.
View 2 Replies
View Related
Oct 7, 2007
SQL was installed w/o reporting previously by the other admin. How do i enable the reporting now?
View 6 Replies
View Related