Showing posts with label shared. Show all posts
Showing posts with label shared. Show all posts

Sunday, March 25, 2012

Changing Attribute Label Name in a Shared Dimension

Hi,

I have a dimension called Branch that is linked to alot of Branch-related fields in my fact table like Send-To Branch, Collection Branch, Receiving Branch etc.

Since my Branch dimension is shared, if i change the description name of my attribute in Send-To Branch Dimension Structure, it will affect the rest of my Dimensions related to Branch. Can it be possible that i can change the attribute name in each branch dimension without affecting the others?

example:

Send-To Branch

Send-To Branch ID

Send-ToBranch

Send-To Branch Type

Collection Branch

Collection Branch ID

Collection Branch

Collection Branch Type

cherriesh

No, It is not possible to rename attributes in each instance of a role playing dimension.|||

So that means, I need to create SQL views to instantiate my Branch Dimension and link them individually to the different branch-related foreign keys in my fact table?

is it too costly in terms of the storage?

cherriesh

|||

Well it either means that you need to come up with a more generic naming convention for your attributes. So that your cube dimensions would look something like the following...

Send-To Branch

Branch ID

Branch

Branch Type

Collection Branch

Branch ID

Branch

Branch Type

Although this is not without issues as it can be confusing in tools like Excel where you cannot always tell which dimension an attribute came from.

I don't know if you need to create SQL views, you might be able to get away with creating multiple identical dimensions off the same dimension table(s). I'm not sure as I usually use the generic attribute name approach.

It is not usually too costly in terms of disk storage as most dimensions are pretty small when compared to the fact tables. It can have an impact when you consider cache storage as SSAS will be caching multiple sets of identical dimension keys which it does not need to do with role playing dimensions. You will also have to consider the extra processing time and the maintenance overhead of having to keep multiple dimensions synchronized.

Thursday, March 8, 2012

Change the Shared Data Source when deploying

I am trying to move my reports (and data sources) from one server to another.
I can move everything fine, but when I go to execute a report, it says
invalid data source, even though the data source exists with the same name as
it did on the original server. I can manually go through each report and
point them to the data source and it works fine, but I need to get this
working with little or no intervention.
--
JasonMake sure you create the shared datasource first before deploying any
reports that reference it, it should get picked up fine then.
--
HTH
Jasper Smith (SQL Server MVP)
http://www.sqldbatips.com
I support PASS - the definitive, global
community for SQL Server professionals -
http://www.sqlpass.org
"JasonDWilson" <JasonDWilson@.discussions.microsoft.com> wrote in message
news:8005DE7C-15C1-4AAC-82C4-83F1C3FFDB75@.microsoft.com...
>I am trying to move my reports (and data sources) from one server to
>another.
> I can move everything fine, but when I go to execute a report, it says
> invalid data source, even though the data source exists with the same name
> as
> it did on the original server. I can manually go through each report and
> point them to the data source and it works fine, but I need to get this
> working with little or no intervention.
> --
> Jason

Friday, February 24, 2012

Change Shared Data Source at runtime based on a parameter

I have 11 databases identical databases except that they have different usename and passwords. I want to setup 11 Shared Data Sources and set the report to choose a different Shared Data Source based off of a parameter. Is this possiable

Changing shared data sources dynamically is currently not supported.

The closest you can get through expressions in the report is to use a non-shared data source with an expression-based connection string. This option and other options are discussed in more detail in this relating thread: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=16395&SiteID=1

-- Robert