Solved

what fact table is being used to creat dataset

Posted on 2012-03-23
7
333 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

691 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