Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

what fact table is being used to creat dataset

Posted on 2012-03-23
7
Medium Priority
?
344 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
Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

 

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 2000 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

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

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

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
This shares a stored procedure to retrieve permissions for a given user on the current database or across all databases on a server.
Kernel Data Recovery is a renowned Data Recovery solution provider which offers wide range of softwares for both enterprise and home users with its cost-effective solutions. Let's have a quick overview of the journey and data recovery tools range he…
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…

578 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