I'm developing a BISM Tabular Model in SQL Server Analysis Services (SP1). The tool I'm using is SQL Server Data Tools 2010 (the 2012 Version doesn't exist / work yet). My data source is a SQL Server 2012 SP1 Relational Instance
In the measures grid the results of the DAX expressions, i.e. the Measure's value, are now not being displayed. They did before. I'm not sure what I did.
An example. Say create a measure using DAX like:
Users:=DISTINCTCOUNT(UserId) // Say I have 50 UserIds
The measures grid should display
Users: 50
But it just displays:
Users
It doesn't appear to affect other any other functionality
Any Ideas? Thanks
Related
While Googling for a way to compare two tables (same schema) that are located in two different databases, I came across the tablediff.exe utility which works great for creating a script to make changes in table B so that it matches table A.
However, in my case I need changes to be made to table B only if the data in B is older than that of A. Otherwise, the change needs to be applied to table A.
Is there a way to do it using tablediff.exe, and if not is there any free command line alternative?
The Community (free) version of Visual Studio has 'Data Comparison...' for SQL projects. Right click on the object in SQL Server Object Explorer and specify Source and Target...
Here are some screen shots
Right click (in VS (Dark Mode) SQL Server project) in the SQL Server Object Explorer on the Table to compare.
Connect to the 2 instances
Then select the object(s) and voila!
I cannot comment on the conversation from above, but to add to SteveC comments, Visual Studio does have a Data Compare utility.
Tools > SQL Server > New Data Comparison
i need a little bit help.
I have a developer DB (dev_home), in this db are many tables.
I need a compare to another DB (real_home).
The Tables are the same, but the table_names not!
For example i develop # dev_home, in the table personal.
In this table i've created new field, which are not exist in #real_home DB.
There are tools that do this i.e. compare two different instances of a database or two different databases etc ..
Such as
Red-Gate's SQL data comparison tool
or
You can also use Microsoft Visual Studio 2015 Community Edition (Free)
I am not sure if this is possible but I have a very large data set (extracted using Microsoft SQL Server Management Studio) and would like to import this into some sort of cube (OLAP?) to be analysed in Microsoft Excel (Pivot tables etc.) which is of course limited by c.1 million lines.
Ideally I would to run a query from management studio directly into a cube which is then accessed via Excel.
Thanks in advance.
You can create a Pivot Table using an external data.
Then you can give the SQL Server as a source and it would not matter that the source is with more than 1 million rows:
I have a table, which I have clicked Edit top 200 rows, as I wish to flip a cell in one of my columns which is smallint from a 0 to a 1. Every time I change the cell's data from a 0 to a 1 it is automatically changed back to a 0.
It seems that all of my columns are immutable in this way, what am I missing so that I can edit data in my sql database table manually for testing? I am using SQL Server Management Studio 17.
When using Microsoft SQL Server Migration Assistant which converts a MySQL database to an MSSQL or Azure Sql database, triggers are generated for you during the migration and added to your SQL tables.
In my case, these were stopping me from updating and inserting to my table, so I deleted them.
I want to edit the data in a rather large mssql table that is in a Windows Azure SQL Database. So, I try this by creating a query with a "where" clause, and then I expect to edit some cells by choosing them directly from the results pane.
I try to use Microsoft SQL Server Data Tools (last, 11.1.30618.1), VS 12.
I found two modes:
http://i.stack.imgur.com/1UsOf.png — i can't edit cell's
http://i.stack.imgur.com/Fh1lc.png — i can't found my query to add where section
I ve tried another solution:
http://darrylbajaro.wordpress.com/2011/09/25/how-to-edit-ms-sql-records-with-filtering-on-sql-management-studio/
But since I'm using a Windows Azure SQL Database, it does not have the same options and so will not work (ssms 11.0.2100.60): http://i.stack.imgur.com/X0J7x.png
I d like something like heidli sql (I've used it many years for mysql), but for azure+mssql, maybe someone knows?