I have many lookup tables in my report model. I have tried renaming these fields to more accurately represent the attributes meaning to the end user but I'm having trouble with it.
Here's an example:
I have a table which contains two fields; OfficalGrade and SpecifiedGrade. Both are FK integer values pointing to a Grades lookup table with GradeID as the PK.
In the report builder, the official grade and specified grade fields are both being displayed as GradeID so it's impossible for the user to tell which is which.
In the report model, the Grades Entity has a role for Offical Grade and another for Specified Grade. I've checked both of their properties but I cannot find a setting which will allow me rename the value that is available to the end user.
I'd greatly appreciate any advice on fixing this!
John
I have found that in the autogenerated model attributes are missing for those fields that have relations to other tables. At first, it may look reasonable since a user can still get down to the field's value through the relation/related table. However, if the relation's key fields is the only thing the user wants to display, then going down to the related table is an overkill.
I can add an attribute manually and bind it to the key field(s). Is there an option in the autogeneration process to do it automatically? The only post I've found so far suggests to do everything manually (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1152575&SiteID=1). Is this the only way?
Why I got different results for the same attribute value displayed in my mining model? Any suggestions on what I may have missed for that?
In my case, the mining structure is with case table which is the fact table, within this mining structure, I dragged other attributes from its related dimensional tables as well. E.g The schema of the mining structure is as below:
Then in my training model (using Microsoft Clustering algorithm), the content contained within the training model is very strange, e.g there are different results for the same value of attribute 'Agent Level' . Why did that happen and how can I figure it out? There should only one result for each value of each attribute within one mining model?
Please shed me some light on this issue and I am looking forward to hearing from you shortly for your kind advices and thanks a lot in advance.
My company is new to MDS. I am trying to set an attritube in an entity to read only so the users can't change the value in that field. When I did that, the whole model disappeared. I thought I had deleted it by accident so I created a test model and tried to do the same. The test model disappeared. This time, before saving the new settings I took a snapshot. After saving I took another snapshot. You can see that the whole model is gone (zz_RN_Permissions_Test). I tried every other coworker with admin rights and nobody shows it on the Models list. The behavior on the Excel add-in is correct. I can't change any values on that column. But I need to keep the models available.
I want to use this as the data from which to build a report model. As linked servers don't show up in the Data Source View wizard, I created a view in SQL Server:
create view MyExcel as select * from XL_SPS_1...Sheet1$
Okay, great, now the view shows up in the DSV wizard and I can create the data source view. However, when I create a new report model based on this data source view, the Report Model Wizard tells me at "Create entities for all tables" that I've got an error when it processes dbo_MyExcel that "Table does not have a primary key."
I assume this is where the identifying attributes for the entities in the report model are taken from, so I really can't go further. Does anyone have an idea as to how to add a primary key to a linked server (Excel) in SQL 2005? Can this be done? Other than importing spreadsheet data to a SQL table, how can I get around this?
I have created and deployed a data source (which uses "Credentials supplied by the user running the report") and a model which uses this data source. Also I have built a report using Report Builder and all works well.
Now I wish to use Visual Studio to build a report, so I'm trying to create a data source from my computer which the report should use and I want it to use the model on the remote server. In the Report Wizard I am using "Report Server Model" and the following connection string:
IHowever I can't make the credentials to work. I've tried them all with no luck. What username/password must I use? Because so far nothing of what I have tried works.
I've created dsv that contain all fields from table database. in the smdl I've remove some fileds due to security. All fields in the smdl do not contain drill.
Issue: When I created calculated field in the report builder the field has a link. When I clicked the drill I saw all the record data including field that not in the smdl.
Questions:
1) Can I remove the link from the calculated fields?
2) Can I prevent from users drill to fields that not in the smdl?
I had to change the key columns of a dimension attribute to fix an error. I did this in BIDS. The change was from a single key column to a composite key column. Now I am getting these error when I process the cube:
Measure group attribute key column x does not match source attribute ..
I looked at the cube XMLA definition under mesaure groups and it still shows a single key column with inherited binding. However, the BIDS does not give me an option correct this in any way. I have had to do this once before and the only option seems to be removing the dimension from the cube and add it back in. But that is very error prone since I lose any specific settings at the cube dimension level not to mention aggregations no longer include the dimension, etc.
Not seeing an alternative, I went through each measure group (I have 7) and changed the key columns manually in the XMLA and saved the cube. This worked, but I don't understand why BIDS automatically doesn't do it.
Is this a flaw in the BIDS or I should be missing something.
Is it possible to dynamically refresh the report model of the report builder?
could it even be using code with any of the interfaces?
When we add a table or add a column to the table in database , will the report model get refreshed automatically or do we need to do it externally. If so, can we use any of the objects and write a custom code in VB.
Semantic query execution failed. The 'PerspectiveID' custom property for the 'query' perspective is either not set or is not set to the string data type.
I have a report model that I am trying to deploy using report manager web service. A folder is created by the administrator to place all my SSRS reports. I deployed .rdl files using the "Upload file" function in "Report Manager". All the SSRS reports work fine but when I tried to upload .smdl file (report model file) using the Report Manager's "Upload file" function it gave me the following error message.
The permissions granted to user 'xxxxxxman' are insufficient for performing this operation. (rsAccessDenied)
Does this mean I only have permission to upload .rdl file but NOT .smdl file to my designated folder?
I'm having some difficulty linking a custome drilldown or clickthroug report to another report that I have already created in report builder. I followed a MSDN article found at http://msdn2.microsoft.com/en-us/library/ms345226.aspx but I cannot find the " Select a page area, select Drill-through reports" option in report manager. Does anyone have a better explanation on how to do this? I'm assuming that when you create the clickthrough report there has to some sore of filter on it that relates to the item of the clickthrough. I guess I'm I little confused, any help would be great. Thanks.
Hello, I've created a Report Model Project that can be used by Report Builder to generate ad-hoc reports. I'm trying to create a connection string in my Report Server Project that points to the Report Model Project data source view.
All I can do is create a regular datasource, which bypasses the metadata contained in the Data Source View.
Basically I want my Report Server Project and my Report Builder reports to leverage the same metadata. Is this possible? If so how do I get the connection string?
Is there an API or a way to consume a Report Model? I want to try and roll my own simple web-based / thin-client Report Builder without using the ClickOnce control.
Here is one scenario. There is category X which has subcategories A,B,C,D. A has 5 products and B has some 7 products, C 5 products and D has some 12 products. My problem is I need create a Report model where is if we select X all the list of subcategories and their products should be displayed. I.e if we select X then A 1
2 3
4 5 B 1 2 3 4 5 C and so on..........every thing should be displayed that are under category, i.e subcategories under that category and the products under each subcategory of that category.
Can anyone please help me out to create a Report Model to generate ad hoc reports
I created a report model and deployed it. When I open the rpt builder on web I get the following error.
'The selected data source does not have and content available'
Seemed like it would be a easy issue, but I cannot retrieve any data in the rpt model. The datasource I'm using does work for rpts not associated with the rpt model. Any suggestions? It seems like I've missed a step. Thanks, Lisa
schema and a generated model out of it. Now I€™ve few report requirements which will be developed based on Report Model. These Reports needs aggregate of All similar activities and the hrs spent and it'll be shown with every employee. Like Employee Xyz has spent 14 hrs total on Sick Activity, which will be shown as
Now i need to know the approach to develop it like i'v to ways in my mind
- create 3 custom fields(Sickhrs,Maternityhrs,Workhrs) in the Employee Entity(model), so that managers can create reports like above by simple drag and drop
- leave model as it is.. just create more descriptive fields in all the three table and let managers do the activity grouping etc to develop report like above..
Which approach should i follow? Moreover can you point me to some conceptual info like how report model works..etc..
Hi, it's my first time for using report model as the datasource of reporting service. But I don't know how to build the query string to get data from the report model. Can anyone help me?
I am using Oracle 9.2.6.0 and SQL 2005 SP2. I have created a report model based on Oracle DB. I use .Net Providers/Oracel Client Data Provider driver for my data source to connect to Oracle. It works fine but the performance is a bit slow. Then I tried to use .Net Providers for OLEDBOracle Provider for OLEDB driver. When I deploy, I got the following error message: "System.OleDB".
I tried to use my last resort, which is Native OLEDBOracle Provider for OLEDB. When I deploy, I got the following error message: "Exception of type 'System.NotSupportedException' was thrown".
Anyone has this issue before? What is the best driver to use and what is the best approach in term of performance.
Hi, I've looked in vain for an answer to this, and it seems like it should be simple. Some new fields have been added to a table, and I need to add them to the Report Model. When I go to the data source view, the new fields do not show up in the table. Is there an easy way to get the new fields to show up, or do I need to delete the table (and of course the relationships), and then add it back. Thanks for any help.
The Adventure Works Model comes with 'Sales Person' entity inheriting 'Employees'. The Binding dropdown in the inheritance property for 'Sales Person' provides a 'FK_SalesPerson_Employee_SalesPersonID' choice. The Refining a Report Model in Model Designer Tutorial Lesson 10: Inheriting Properties from Other Entities, walks you through the process of setting this inheritance, but the Binding dropdown, after you set InheritsFrom to Employee, provides only the (None) choice. Anyone know why?
I am using report model as my data source and when I preview my report, I got the following error message:
An error has occurred during report processing. (rsProcessingAborted) Cannot create command for data source 'xxxx'. (rsErrorCreatingCommand) An attempt has been made to use a data extension 'SQL' that is not registered for this report server. (rsSemanticQueryExtensionNotFound)
First, let me freely admit I know nothing about report models or how to deploy them. I was trying to learn by going through the tutorials. The creating part I get, but the deployment part seems to be over my head.
The error message I get is "A connection cannot be made to the report server http://hqjds02/Reports."
I don't understand why. Yeah...I get that it can't connect for some reason. Probably because I have messed things up somehow.
This is how I've got the deployment properties set:
TargetDataSourceFolder: Development (DV)/Data Sources TargetModelFolder: Development (DV)/Models TargetServerURL: http://hqjds02/Reports
In searching for an answer earlier I saw where someone wrote that I should be able to go to the URL and copy and paste it from IE. The actual URL is http://hqjds02/Reports/Pages/Folder.aspx?ItemPath=%2fDevelopment+(DV)&ViewMode=Detail . I tried it, but it didn't work.
Hi! I've created a report with Report Builder using a Model. I want to keep the same report, but I have to use another model (this model is almost the same as previous one, except that it has some extra tables). I tried to change my report's model from Report Manager (Report_Name -> Properties -> Data Sources), but it didn't work.
I was hoping to use the ExecutionLog (along with the RSExecutionLog_Update.dtsx SSIS Package). Closer investigation though shows that when a user executes the report built off the Model it gets logged with a ReportID Guid pointing to the root of the Catalog. Other than the Format being RGDI and the Source being AdHoc, there doesn't appear to be anyway to tell if the user ran this against ReportModel A or ReportModel B.
I'm new to Report Model and trying to create a new expression field with IF condition on related Role's attribute when i do this it gives error "The arguments to the following function are not valid: = (Equal to)" but if put direct Entity's column it works fine.. heres the expression
IF(Activity Type List Value Display Name = "Sick Day", 1, 0)
"Activity Type" is the Role(1--*) in Employee Table, and i'm adding this expression in the Employee Table
are there any sample models that i can download with some complex filters/expressions etc?
Question.... I don't even know if this is possible.
I work for a Education Service Center that deals with school distrcit data. I have created various report models that work fine for these districts. Is it possible to pass parameters or filter out data in report models...Lets say I have ReportModel1 and this contains all campuses....and if jdoe logs in I only want him to have access to campus1.
This application I have created is in ASP.NET and grants permission at sign on based on their Active Directory memberships to groups. They can see the canned reports via a reportviewer control and I pass parameter values for campuses to filter it out accordingly.
They access report builder via a menu button linked to http://servername/ReportServer/ReportBuilder/ReportBuilder.application I was wonder if their is code or method of passing a parameter or filter type to accomplish the same here?
I could always create report models for each campus....