what fact table is being used to creat dataset

Posted on 2012-03-23
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.
Question by:vbnetcoder
  • 4
  • 3
LVL 37

Expert Comment

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:

Author Comment

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]
LVL 37

Expert Comment

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 :)
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.


Author Comment

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

Accepted Solution

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.

Author Comment

ID: 37772758
OK Thank you.
LVL 37

Expert Comment

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.

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

A recent questions about how to add SSRS named instances, couldn't find any that talks about SQL server 2008, anyway I decided to help by creating some screen shots. The installation is straightforward, you just pop the SQL server 2008 installati…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

813 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

9 Experts available now in Live!

Get 1:1 Help Now