SSAS 2012 Tabular Mode - ssas

Just started to do a Tablur Mode project in SSAS 2012. When I try to add a new Dim Table using the Existing Connection (Model > Existing Connections) it works fine and imports data and also I can see the table in Grid (Data View) Mode, but cannot see the table in Diagram View.
What am i missing here?

Is there an actual relationship between the rows in the two tables, i.e. PK -> FK? Do the referenced columns have the following:
1) the same name in both tables
2) the same data type in both tables
3) data integrity between both tables

Related

Power BI Direct query mode - handle multiple tables

I have a azure sql db where all tables sit - fact, dimension other lookups. Have a requirement to pull(3 tables) a fact table, a dimension and another lookup table(not part of star schema) via direct query and be part of data model within Power BI.
Direct query doesn't allow more than one table to query against(from a single source).
Any thoughts/suggestions?
Sorry.. thanks to Jon's response, it triggered me to look further and I have found that for each table(from same source) I have to go through 'get data' process.
Initially, I thought via one 'get data' process I could multi select tables, but, obviously not.
All ok here now.
I tried with mysql db, I able to select multiple tables and load once to power bi.
New Source -> Database -> Mysql Database -> Add host and password ----> then you retrieve window with table list --> it views tables, views , procedures etc....

Pentaho multi table input multi table output

Question in regard of Pentaho Spoon (Data Integration):
How can I transfer the input of multiple tables from one database to multiple tables in another database? Basically a 1:1 data migration with creating the tables automatically in the target database.
I basically want to multiply the following transfomation: Picture of table transformation
Try the Copy Tables wizard, under the tools menu.
To use it, you will need to create a new transformation and define both database connections that you want to use.

How to run data comparison on tables with different names in Visual Studio?

I have two linked sql servers (server A and server B). On A I have database X that contains a table with the name Images. On server B I have database Y with a table called REPL_Images that is suppose to automatically replicate whats in the Images table from Server A. I have discovered that data is missing from the REPL_Images table. When I open Visual Studio and use the data comparison and synchronization tool, I select ServerA.X as the source and ServerB.Y as the target. But when I go to the next screen and expand tables, the Images table isn't even listed. I assume it is because the tables have different names (I did not create the schema). Is there a way to force a comparison AND synchronization between two tables of your choosing no matter what?

Can't edit database fields in myLittleAdmin for SQL Server 2005 and 2008

Whenever I create a new table in a database and add some data to it I then cannot edit that data. I can do everything else - rename columns, add new columns, delete columns, write new data. I just cannot edit existing data.
What's interesting is that for tables that existed before I started working on the database, I can edit existing data. This problem is only happening for tables I create. Anyone have an idea?
Thanks!
You must have a primary key defined on your table.
Check this KB
http://forum.mylittleadmin.com/yafnet/Default.aspx?g=posts&t=359

SSAS dimension source table changed - how to propagate changes to analysis server?

Sorry if the question isn't phrased very well but I'm new to SSAS and don't know the correct terms.
I have changed the name of a table and its columns. I am using said table as a dimension for my cube, so now the cube won't process. Presumably I need to make updates in the analysis server to reflect changes to the source database?
I have no idea where to start - any help gratefully received.
Thanks
Phil
Before going into the details of how to amend the cube, have you considered creating a view with the same name as the old table which maps the new column names to the old?
The cube processing process should pick this up transparently.
EDIT
There are quite a lot of variations on how to amend SSAS - it depends on your local set-up.
If your cube definition is held in source control (which it should ideally be), you need to check the cube definition out and amend it from there.
If your definition exists only on the server you need to open it from the server:
Open the Business Intelligence
Development Studio (BIDS) -
typically on the Windows start menu
under Programs > Microsoft SQL
Server 2005.
Go to File > Open > Analysis Services Database
Select your server/database and click OK.
Once you have the project open in BIDS, you can amend the Data Source View to switch to the new table.
These instructions are based on the principle that it's going to be easier to alias the new table to look like the old in the DSV, since this means fewer changes within the cube definition.
Open the Data Source View from the Solution Explorer - there should be only one.
Locate the table you need to change in the DSV
Right-click on the table and select Replace Table > With New Named Query
Replace the existing query with a query from the new table with the new columns aliased with the new names:
SELECT ~new column name~ AS ~old column name~
FROM ~new_table~
Once the new query has been set, deploy the changes:
If you use source control, check in and deploy the project to the target server.
If you opened the cube definition from the server, select File > Save All
Finally, re-process the cube.