How do I view the source tables of a cube? - db2

I have access to db2.
I also have access to some Cognos Cubes via TM1 explorer.
Is it possible to find out the source tables for the cubes ?
For example, can I see what tables are used for the FST cube shown below ? and if possible even how the tables are joined etc
. ?

To answer your question, you need access to the TurboIntegrator process that load your cube.
In your example, since it's an external source (Db2), the cube is loaded with a TurboIntegrator Process (process object in green). It's seems that you don't have the security access to view the process so you're not able to see the data source.
Hope it helps !

Related

How do I merge two Dashboard data sources in grafana

I would like to re-use a query between panels -- ideally between library panels.
Context:
I have three Postgres datasources. For simplicity, say A contains ecommerce behavior, B contains app behavior, and C contains user profile data.
I have a query on source C that helps me determine if the user is an enterprise, paid, or free user. Call the query Q.
Situation:
I am trying to filter out enterprise users from queries on A and B. So I need to apply Q to these tables.
Attempt at solution:
I have two library panels where I set the Data source -- Mixed --. In the first panel, I make a query to datasources A and C. In the second panel, I make queries to B and C. Note I am using query Q in both cases.
Woohoo!
Problem:
I would like to define Q exactly once to help future-proof changes.
Ideally, I would be able to use a Dashboard data source in a -- Mixed -- context. How do I merge two -- Dashboard -- sources?
Maybe these can help you
https://grafana.com/docs/grafana/v9.0/dashboards/json-model/
https://grafana.com/docs/grafana/v9.0/dashboards/scripted-dashboards/
The basic idea is, make sure that you correctly set the gridPos and datasource properties in a way that make sense; and you can merge as many dashboards as you want by taking the panels (as mentioned in the docs, panels is an array of JSON that represents building blocks of the dashboard).
Hope it helps. I'm working exactly on the same right now.

How to call a sas dataset by its label or where to check its name

I have a problem in dealing with SAS Enterprise Guide that runs on the server of my client.
I do not have access to the libraries so, in order to use the datasets the only thing we can do is to store them on the local disk C: of the computer and drag them to SAS.
We can not create libraries because the server does not read local paths.
Once you drag a table, let's call it "mydata" in SAS, the table is automatically renamed "mydata9865" with random numbers at the end and "mydata" is its label.
If you right-click the table and go to properties, you can't find the name of the table, just the label.
The only way I found to check the real name of the dataset is to open the Query Builder and check the name in the code preview.
The problem is that I am dealing with tables of millions of records and the machine I am using is very slow, so whenever I want to open the Query Building, just to check the table's name, it takes sometimes even an hour.
I am not a SAS expert, so I am sure there is a smarter way to do so. Is it possible for instance to use the table by calling it with its label?
data mydata2;
set mydata;
run;
instead of
set mydata9865?
Or is there some place I can rapidly check the name of the table without going through the query builder?
I tried to google it but I can't find anything, I hope someone will be able to help me!
Thank you in advance
Hover the mouse pointer over a data node to see it's attributes. The data set name is the File name: value.
For example:
In this example I had renamed the nodes created by two different queries to be the same (doable:yes, smart:maybe not). NOTE: A data node Label: is not necessarily the same as it's underlying data set's label metadata.
Regarding
use the table by calling it with its label?
Two nodes can have the same label, and is a a situation that defeats this approach.
Use the COPY task to upload your data explicitly. It sounds like you're not adding your data to the projects properly so SAS automatically assigns a name, rather than if you explicitly import or load your data.
Problem solved! I should have simply upload the data to the server with Tasks->Data->Upload Data Sets to Server but I didn't know this task so I didn't know it was possible to do it at all!
https://communities.sas.com/t5/SAS-Enterprise-Guide/Importing-sas-data-sets-from-C-drive-into-SAS-EG-not-possible/td-p/135184
Thank you everybody for you help!

Tableau 9.3: using a multi-option set as a filter across multiple data sources

First Post! am kinda feeling the pressure :)
I've created a multiple option filter for my dashboard using a set (with include all members). which is great for my sheets which use that datasource as primary, but when it's the secondary source I've hit a brick wall - I cannot see (or find any reference in searches) how to use the filter. Any calculated dimensions I've seen reference In/Out. Is there a way round this or something I'm missing?
thanks.
You can't do it when it's based on the secondary source in a data-blending scenario. Currently Tableau only allows for it to be applied to the primary. We are hoping this changes in version 10.0.

Crystal Reporting From AX Database

I am having an issue finding links within Crystal Reporting. I am trying to link 2 tables. However this seems to be a long task as I battle to find any links.
Is there a method that should be followed, as the most that have the same names to not link the tables correctly.
You should take a look on AX Data Dictionary Tables for the involved tables, then check the Relations node of the table. Any direct relation is usually on the child table. This of cause requires developer rights to the target AX system.
Remember to join on DataAreaId and PartitionId as well. Always check if any appropriate index exist.
Also the Reverse Engineering Tool may be of help.

how to figure out which columns in the fact table are used for calculating measures in an OLAP cube?

I have to verify that olap cube data and the data from relational tables from where a cube is built is correct.
And I will do so by writing the TSQL queries and compare the values with that of cube.
But, I got stuck in the course of determining which columns are used for measure. How do I figure out which columns are used for measures?
Help appreciated!
You need to look at the cube metadata.
For SSAS2005, take a look at the DSV (data source view) and mappings to dim and fact table values behind the scenes. This should allow you to see what is going on. If you don't have a project you can reverse engineer it using the 'import anslysis services template' (or some such) option from the new project dialog in BIDS.
Calcuated measures are defined in the cube script. If you have a reverse-engineered cube or cube project you can open the cube and see this in the 'calculations' tab.
For AS2000 you can open the cubes on the server (assuming sufficient permissions) and look at the mappings there. There is a tool called OLAPScribe that will help you do this for AS2000. Alternatively you can run a trace on the source database and capture the SQL generated by the cube as it is processed.