Solved

what fact table is being used to creat dataset

Posted on 2012-03-23
7
324 Views
Last Modified: 2016-02-14
I have reports that connect to SSAS cubes. Is there an easy way of determining which fact table is being joined in with the dimmesions to create the datasets.

I several fact tables that have the same fields so it is hard to determine for which is the correct fact table.
0
Comment
Question by:vbnetcoder
  • 4
  • 3
7 Comments
 
LVL 37

Expert Comment

by:ValentinoV
ID: 37760286
If you open your dataset, you can use the "Design Mode" button to switch from the graphical designer to the text editor.  This allows you to have a look at the MDX query behind the dataset and you'll see all dimensions and measures being retrieved.

Here's an article that should give you a bit more insight in this: http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/MS-SQL_Reporting/A_2320-Your-First-OLAP-Report.html
0
 

Author Comment

by:vbnetcoder
ID: 37771240
I want to know what fact (measure)
table is being used since I have more then one. The MDX only says [Measures].[FieldName]
0
 
LVL 37

Expert Comment

by:ValentinoV
ID: 37771324
Ah, well in that case you'll need to look at the cube's design (SSAS project).  If you don't have that project, you can open an existing cube by launching the BIDS and then File > Open > Analysis Services Database.

The following assumes you're looking at the OLAP DB in the BIDS.

If you open the cube and select your measure, you can then use the Properties pane to look at its Source settings.  The table name that you'll find there is the "friendly name" as specified in the Data Source View.  To get the physical name of the fact table, open the Data Source View and locate your table.  In its properties you'll find the actual table name in the Name property.

So I guess that means there isn't really an "easy" way, but at least there is a way :)
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:vbnetcoder
ID: 37772373
Any way that i can tell when i am in bids in a SSRS project?
0
 
LVL 37

Accepted Solution

by:
ValentinoV earned 500 total points
ID: 37772728
Not that I'm aware of (would have mentioned it if it was)...  The Data Source View is the only place in the OLAP database that has references to the physical tables, so you'll really need to check there.
0
 

Author Comment

by:vbnetcoder
ID: 37772758
OK Thank you.
0
 
LVL 37

Expert Comment

by:ValentinoV
ID: 37772778
If it's really so difficult to remember where the facts are coming from, perhaps it's an option to rename them to make it more clear?

Or to use measure groups?

I know, both require changes to the cube, so it may not be possible in your situation.  Just wanted to share the options.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Written by Valentino Vranken. Introduction: The first step of creating a SQL Server Reporting Services (SSRS) report involves setting up a connection to the data source and programming a dataset to retrieve data from that data source.  The data…
It is helpful to note: This is a cosmetic update and is not required, but should help your reports look better for your boss.  This issue has manifested itself in SSRS version 3.0 is where I have seen this behavior in.  And this behavior is only see…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now