Find list of FACT tables in the cubes
Hi experts,
Pls help me to find list of FACT tables in the cube and Dimension table associated with the Fact table. your answer will be very helpful for me.
Thanks
hi,
Go to Analysis Server (SSMS)-> use
--All Measures
SELECT [CATALOG_NAME] as [DATABASE],
CUBE_NAME AS [CUBE],[MEASUREGROUP_NAME] AS [FOLDER],[MEASURE_CAPTION] AS [MEASURE],
[MEASURE_IS_VISIBLE]
FROM $SYSTEM.MDSCHEMA_MEASURES
WHERE CUBE_NAME ='Adventure Works DW2012'
ORDER BY [MEASUREGROUP_NAME]
You can use below link ;
http://bennyaustin.wordpress.com/2011/03/01/ssas-dmv-queries-cube-metadata/
Thanks
Similar Messages
-
SSAS 2008 Using multiple (three) fact tables in the same cube
Hi, I have three fact tables in my cube,
Actions
Events
Visits
Events captures anything that happens, any transaction. It contains parent actions and parent visits, plus other things that business deems as "actions" that change all the time.
Actions captures a subset of Events and has its own transactional structure. Each action has an event, but not every event has an action.
Visits is a completely different subset of Events with a very different transactional structure from both events and actions. Each condition can have an event, but not every event has a condition.
These facts don't have many overlapping dimensions, perhaps a couple of outrigger look-up dimensions, like Codes and Dates.
I am struggling to reorganize the cube in such a way that I don't have to process with errors and unknown dimension members. Is there any specific guidance re: what to do in these situations?@Victor Rocca
Some dimensions are common, like Dates and Codes, but mostly they are their own dimensions. Visits
and Actions facts have foreign keys from Events in them, so I would prefer to join directly, anyway. -
Distinct count for multiple fact tables in the same cube
I'm fairly new to working with SSAS, but have been working with DW environments for many years.
I have a cube which has 4 fact tables. The central fact table is Encounter and then I also have Visit, Procedure and Medication. Visit, Procedure and Medication all join to Encounter on Encounter Key. The relationship between Encounter
and Procedure and Encounter and Medication are both an optional 1 to 1. The relationship between Encounter and Visit is an optional 1 to many.
Each of the fact tables join to the Patient dimension on the Patient Key. The users are looking for a distinct count of patients in all 4 fact tables.
What is the best way to accomplish this so that my cube does not talk all day to process? Please let me know if you need any more information about my cube in order to answer this.
Thanks for the help,
AndyHi Andy,
Each distinct count measure cause an ORDER BY clause in the SELECT sent to the relational data source during processing. In SSAS 2005 or later, it creates a new measure group for each distinct count measure(it's a technique strategy for improving perormance).
Besides, please take a look at the following distinct count optimization techniques:
Create Customized Aggregations
Define a Processing Plan
Create Partitions of Equal Size
Use Partitions Comprised of a Distinct Range of Integers
Distribute the Hash of Your UserIDs
Modulo Function
Hash Function
Choose a Partitioning Strategy
For more detail information, please refer to the article below:
Analysis Services Distinct Count Optimization:
http://www.microsoft.com/en-us/download/details.aspx?id=891
In addition, here is a good article about SSAS Best Practices for your reference:
http://technet.microsoft.com/en-us/library/cc966525.aspx
If you have any feedback on our support, please click
here.
Hope this helps.
Elvis Long
TechNet Community Support -
How to find list of languages installed in the SAP system?
Hi All,
Please tell me, how to find list of languages installed in the SAP system?
Thanks and Regards,
Kumar.Hi Virgo Rhyme
Hope the following info will be helpful
3rd - SAP is the 3rd largest software company in the world
30,000 - Total number of people employed by SAP
5,400 - Number of programmers employed by SAP
$7.024 billion - FY03 Revenue
$1.077 million - FY03 Net Income
12,000 - Number of companies using SAP
79,800 - Number of SAP installations
12,000,000 - Number of people using SAP
120,000,000 - Total number of people in the 12,000 companies who are using SAP
28 - Number of languages supported by SAP
46 - Number of country-specific versions of SAP
22 - Number of industry-specific versions of SAP
1,000 - Number of pre-defined best practices contained in the SAP system
10,000 - Number of tables requiring configuration in a full SAP implementation
55,000 - Number of SAP experienced consultants worldwide
28 - Number of years ago SAP was started
Reward if helpful
Regards
Lakshman -
Reg: Using Multiple fact tables in the RPD!
Hello everyone,
Can I get some help with the following scenario?
We use OBIEE 11g.
We have a report that uses only 1 fact table to retrieve the data and it takes hell lot of time to bring up the data in the report.
My question here is is there a way to bring up the performance of the report if we split the data in 1 fact table to 2 fact tables and make the report use the 2 fact tables.
Are there any other ways of tuning the report for better performance.
Thanks for the help in advance!
Ajay.Hi Ajay,
Follow the following steps for the tuning;
1. Try to tune the SQL query first generated by the report, and make necessary changes. (Put indexes on required column so that your query is scanning the index instead of entire table)
2. You can try to create agg fact table and use the agg navigation for improving the performance. (Idea is to reduce the data set on which sql is fired)
3. You can try to create partitions on the FACT table in the DB and so that required partitions are queried as per filters.
4. In the Last if all the above doesn't tune your query you can try splitting the FACT table in to TWO or More as per your decision and then use fragmentation content in the BMM layer of the RPD so it will hit appropriate tables as per you report.
Mark Correct/Helpful if it helps.
Best of Luck,
Kashi -
No fact table at the requested level error.
I have one dimension
Account
Two fact tables
Threshold and Transaction
These tables are joined to the Account Dim using Account Number.
Now when I create an analysis using Account Numbers from all three tables, it says no fact table at the requested level. If I include any other fact from both the fact tables, it populates null. It works right when I create an analysis from one dimension and either of the fact tables.
Why do we get this error and how else should it be modeled.
Edited by: 979130 on Dec 29, 2012 12:52 AMI'm not sure about your data.. I give couple of options try them out any of one should work.
Assuming both facts are at same granular: You need to create Logical Fact table in BMM add first fact as source then, open properties wizard and add other fact table.
Assuming both facts are at Different or Same granular: You need to create Logical Fact table in BMM add first fact and then add 2nd fact as 2nd logical table source and set the content tab for both facts
Using any of the option you'll be going for metrics and use them in report.
In general: You need to let BI server let know how data is spread across tables so that BI Server can respond as you expected.
Hope this helps, Appreciate if you mark as correct/helpful
Edited by: Srini VEERAVALLI on Dec 29, 2012 12:58 PM -
Was wondering why this table is a fact table in the AdventureworksDW2008r2 database? It has no measures that I can tell.
Here is the schema for the table....
[ProductKey] [int] NOT NULL,
[CultureName] [nvarchar](50) NOT NULL,
[ProductDescription] [nvarchar](max) NOT NULLYes, I think it should be a dimension also.
The dimDate table has translation for month, dyas, etc in other languages. They don't put those translations in a fact table. Also, fact tables have measures, you can not perform math on those columns except maybe count...
The only thing I could think of is maybe it is some sort of intermidiate table... like if you have a many to many and need a one to many for SSAS, but still trying to wrap my head around some of these concepts.
I have just been studying this stuff for about a year or so, so wasn't sure. Studying for 70-463 hope to get MCSE someday too.
Mike -
Newbie ques : How to get the list of all tables in the database
Hi,
I'm very new to Oracle (using Oracle8i currently). I wanted to know if there is a way to get the list of all tables in the database. Like in mySQL you can use the command " show tables" to get the list of all the tables.
Any help will e greatly appreciated. Please "cc" any reply to [email protected] also.
thanks
DevenHi
Select table_name, owner from all_tables;
will give u all the tables in the database.
all_tables, dba_tables, user_tables
all_objects, dba_objects, dba_objects
there are many, more tables. login as system and query the tab and try to describe the tables.
Thanks
Malar -
Table to get the list of all tables in the database
hi,
please let me knwo the table where i can get the list of all tables in the databasehi,
please let me knwo the table where i can get the list
of all tables in the databaseHi Michael,
Will you EVER start reading some documentation?
I guess it's not far that many regulars won't reply to those kind of questions.
Believe me, reading doesn't hurt (well, at least, most of the times).
Rgds,
Guido -
How to find last accessed/updated tables and the query text?
I am using :
Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
With the Partitioning option
JServer Release 8.1.7.4.0 - Production
How to find last accessed/updated tables and the query text?
Regards
LEE1212Check DBA_TBALES view there you find one date column that indicate last update
One option is as follows:
(1) Turn the auditing on: AUDIT_TRAIL = true in init.ora
(2) Restart the instance if its running.
(3) Audit the table:
AUDIT INSERT,SELECT,DELETE,UPDATE on TableName
by ACCESS WHENEVER SUCCESSFUL
(4) Get the desired information using :
SELECT OBJ_NAME,ACTION_NAME ,to_char(timestamp,'dd/mm/yyyy , HH:MM:SS')
from sys.dba_audit_object.
Cheer,
Virag Sharma
http://virag.sharma.googlepages.com/
http://viragsharma.blogspot.com/
Message was edited by:
virag_sh -
How to find rows in F table of a cube for a given request ID
Can someone tell me how to find the rows in the F table of a cube for a given request id?
Hi,
Copy the Request ID number of that cube and go to manage of the cube and select contents tab, select Infocube content,
select list of objects to be displayed with results and in that screen give Request ID at Request ID row and at bottom Max no. of Hits keep blank and execute at the top.
this will display all the data rows loaded with that request. this is records from cube.
from Fact table, go to SE11, give /BIC/FXXXX "XXXX" is cube name for custom cube.
get the SID of that cube from the Cube contents as mentioned above, for field select for output along with Request ID select Request SID also.
from SE11 give table /BIC/DXXXXXP "XXXX" is cube name for custom cube. P for Packet Dimension. here pass reqest SID in 'SID_0REQUID' and get value for DIMID.
pass this DIMID into KEY_XXXXP, this give the fact table rows for that request DIM ID.
hope this helps
Regards
Daya Sagar -
Hi All,
When I search for Inventory quantity in an InfoCube, it is giving me all zero values. I had verified and found correct values in the Fact Table for that InfoCube. The Update Rules applied is a direct InfoObject to InfoObject mapping(Source Key Figure). But I am getting all zero values for Inventory quantity in the InfoCube. Why???
Thanks & Regards
YJhi,
there you can look for answer:
a)
http://service.sap.com/bi , choose BI InfoIndex from the left navigation area and then follow the Non cumulatives link in the list. There are two very important docs.
b)
SAP Note 586163 Composite Note on SAP R/3 inventory management in SAP BW
I had similiar problem with incorrect requests compression or incorrect validity table structure (detailed info you can find in those docs).
Regards,
Andrzej -
How to find list of internal tables while debugging
Hi Experts,
I am debugging a block of an ABAP program( User Exit ). Is there any facility to see what are the internal tables, work areas are available for that particular block? Can I see it new debugger? Because I don't know from which internal table I can take a particular value, which I need to populate in an user exit.
Thanks and regards,
Venkat.hi,
you can find the exact answer here :
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/840ad679-0601-0010-cd8e-9989fd650822#q-6
under heading List of internal tables while debugging
regards
rahul -
Query to find list of all tables relating to BP
Hi,
Is there any query which can generate list of all table names relating to BP?
For example tables like BUT000,020,051 etc which are related to BP. I know a list of 14-15 table names but do not know the name of each and every field that is existing in BP.
By writing a query can we get a list of all such table names for all the fields which appear in Field Grouping (which may be Role specfic)Hi Praveen,
Well I am not aware of such query but if you want the CRM data model give me your mail ID i will send it to you in which you will find all the required details.
Best regards,
Vikash. -
Problem using 2 Fact tables with the same dimension
Hi,
I have noticed a very strange behaviour in Presentation Services / BI Administrator. I have 2 cubes (created in OWB) which are in the same business model, they are set up with foreign keys etc. and works as they should using them separately. Problem is (sometimes!) when I want to use the common dimension (Project) against both of the fact tables (Sales Order and Purchase Order).
Scenario 1:
If I use Project Id, Purchase Amount, Sales Amount I get either an amount in Sales Amount or in Purchase Amount, BUT if the Project Id starts with a letter (not starting with a number) it will show the correct amount for both Sales- and Purchase Amount.
Scenario 2:
I use Project Description (even followed by Project Id or not), Sales Amount, Purchase Amount I get the correct numbers for all projects. Project Description must come before Project Id or else it will not work.
I only noticed this problem when using both of the Fact tables since I want to compare Sales Amount and Purchase Amount in each Project. The Dimension for Project consist of Project, Sub Project and Activity and works fine. If I only use Sales Amount or Purchase Amount with Project Id I don't get this error. Only when both numbers are used.
I would be very happy if anyone have a good solution/explanation to this problem! Seems like could be something in the BI Server memory that goes wrong somewhere.The strange thing is that the results from the queries are correct running them in SQL Developer. This is one that works:
SELECT Project.Project saw_0, "- SalesOrderFact"."Sales Amount" saw_1, "- PurchaseOrderFact"."Purchase Amount" saw_2, REPORT_SUM(saw_1 BY ), REPORT_SUM(saw_2 BY ) FROM SalesOrder ORDER BY saw_0
SALES ORDER:
select T3032.PROJECT_DESCRIPTION as c1,
sum(T161.SALES_AMOUNT_LOCAL) as c2
from
DIM_PROJECT_V T3032,
CUBE_SALES_ORDER T161
where ( T161.DIM_PROJECT = T3032.DIMENSION_KEY )
group by T3032.PROJECT_DESCRIPTION
order by c1
PURCHASE_ORDER:
select T3032.PROJECT_DESCRIPTION as c1,
sum(T3020.TOTAL_BUY_AMOUNT) as c2
from
DIM_PROJECT_V T3032,
CUBE_PURCH_ORDER T3020
where ( T3020.DIM_PROJECT = T3032.DIMENSION_KEY )
group by T3032.PROJECT_DESCRIPTION
order by c1
And this will give the wrong result in Answers (correct in SQL..):
SELECT Project."Project Id" saw_0, "- SalesOrderFact"."Sales Amount" saw_1, "- PurchaseOrderFact"."Purchase Amount" saw_2, REPORT_SUM(saw_1 BY ), REPORT_SUM(saw_2 BY ) FROM SalesOrder ORDER BY saw_0
SALES_ORDER:
select T3032.PROJECT_KEY_NAME_ID as c1,
sum(T161.SALES_AMOUNT_LOCAL) as c2
from
DIM_PROJECT_V T3032,
CUBE_SALES_ORDER T161
where ( T161.DIM_PROJECT = T3032.DIMENSION_KEY )
group by T3032.PROJECT_KEY_NAME_ID
order by c1
PURCHASE_ORDER:
select T3032.PROJECT_KEY_NAME_ID as c1,
sum(T3020.TOTAL_BUY_AMOUNT) as c2
from
DIM_PROJECT_V T3032,
CUBE_PURCH_ORDER T3020
where ( T3020.DIM_PROJECT = T3032.DIMENSION_KEY )
group by T3032.PROJECT_KEY_NAME_ID
order by c1
As you can see the SQL look very familiar, and I cannot see anything in SQL that should be the cause of this error. I think the error must be in the BI Memory or something.
Any ideas?
Maybe you are looking for
-
ITunes Movie Download keeps stopping at 1.64GB
Hiya, I recently bought the Avengers off iTunes [HD, trying 1080p] but everytime the download gets to around 1.64GB, the timer vanishes and the progress bar stops going up indefinatly, though it says it's still downloading. The iTunes extra part of t
-
I plug my ipod into my computer and it begins to charge, then in the bottom right corner it says installing device driver, and then says digital still camera failed. Im not sure what that means. Then when i open my itunes all my music is gone from m
-
I have 5 computers authorized on my account and I would like to deauthorize all of them. When I try it tells me I cannot do so until January 2016. Is there a way around this? I no longer have access to the computers that are authorized.
-
Getting my backed-up photos into iPhoto on the new external hard drive
I managed to use Time Machine to restore the back-up of my external hard drive (that died) to a new external hard drive, however, while I can see the .jpeg images that were in my original (ext. hard drive) iPhoto library on the new Passport Drive, th
-
"connection time-out occurred" when my mac goes to sleep.
When My macbook goes to sleep I get a "connection time-out occurred" when I try to connect to the internet. and I have to restart my mac and restart the router. The is always a BT hotspot page displayed on the screen. I have a 2011 macbook pro. This