Converting a SSAS 2008 R2 database into a SSAS 2012 Tabular database
Hi,
I'd like to know if it is possible to convert or migrate in whatever manner a SSAS 2008 R2 database (multidimensional) into a SSAS 2012 Tabular database.
Many thanks
Unfortunately there is no way to convert or migrate a multidimensional cube to a tabular model.
This MSDN article says ...
Because tabular is the newer solution, you might think that migrating an existing multidimensional solution to a tabular format is
the correct course of action, but this is usually not the case. Tabular does not supersede multidimensional, and the two formats are not interchangeable.
If you need to migrate a cube to tabular (maybe for performance reasons), unfortunately you need to build it from scratch. I believe the reason for this is that there are concepts that do not translate across the technologies. There are no good
3rd party tools that I'm aware of that even attempt to do this.
Christian Wade
http://christianwade.wordpress.com/
Please mark correct responses as answers!
Similar Messages
-
SSAS 2012 Tabular. Analysis Services Query Log not working
Hello.
It is possible to configure Analysis Services Query Log on SSAS 2012 Tabular (11.0.3321) server? Or this feature works only with Multidimensional server mode?
It is not a problem for me to configure Query Log on Multidimensional server. But when I'm trying to do this in Tabular server result is always the same: table S_OlapQueryLog created but no data there.
This problem exist in our production server. And is fully reproduced in test environment. This problem was reproduced with SQL 2012 RTM, CU4, SP1 and SP1 CU1.
I tryed to configure Analysis Services Query Log by using SQL account. Later by using windows authentification. Accounts was db owners. Later I have used accounts with sysadmin rights. Results was the same.
In msmdsrv.log i can find only related events like this:
(12/7/2012 9:22:59 PM) Message: The query log was started. (Source:
\\?\P:\Olap\Log\msmdsrv.log, Type: 1, Category: 289, Event ID: 0x41210003)
(12/7/2012 9:25:03 PM) Message: The query log was stopped. (Source:
\\?\P:\Olap\Log\msmdsrv.log, Type: 1, Category: 289, Event ID: 0x41210004)
I'm stuck completely with this functionality. So if someone was much luckier than I please write to me.
Regards
AudriusI agree with Gerhard's comments, but there are a couple of additional points
- I am not 100 percent sure if queries that are answered by the SE cache are recorded in the query log
Queries answered by the SE cache are not definitely not recorded in the QueryLog. So depending on the types of queries and the design of your cube you could possible miss a large proportion of the actual end user queries.
The QueryLog records the QuerySubcube events and there are zero to many of these generated for a given end user query (zero if the query can be answered from cache). The optimizer may also choose to pre-fetch a wider range of data or to break a single range
into a few smaller requests so it is not a true indication of the actual query that the end user generated.
Doing a trace is the only way to catch the actual queries submitted by end users.
http://darren.gosbell.com - please mark correct answers -
Run sql 2008 ssis package into sql server 2012 machine
Hello,
I have created a ssis package in sql server 2008 and use a job to execute it pointing to databaseA. works fine.
Then, I place that package into a sql server 2012 machine and use a job to execute it in the same database, databaseA.
The error I get is something like:
can not use the old version in the new version machine.
Is this really the case or am I doing something wrong please?Hi Arkiboys,
Arthur is right that the error occurs because the SSIS 2008 package cannot be upgraded to SSIS 2012 package. When the SSIS 2008 package is called by SSIS 2012 dtexec utility tool, the package will be upgraded temporarily and the changes won’t be saved. Since
your current SSIS 2008 package cannot be upgraded automatically, you can create the package from scratch in SSDT installed by SQL Server 2010. Another option isto open the SSIS 2008 package in SSDT or add the package to a SSIS 2012 project, then the upgrade
will be performed automatically. Then, you can check the error message during the upgrade, which may help you to find the tasks/components that cause the upgrade failure. In this way, you can remove the tasks/components in question from the SSIS 2008 package
and then upgrade the package, and then add the tasks/components in question in SSDT 2010.
Regards,
Mike Yin
If you have any feedback on our support, please click
here.
Mike Yin
TechNet Community Support -
SSAS 2012 Tabular Error: The operation was cancelled because of locking conflicts
I have a 800 mb SSAS database that I refresh(Process current day partition) every 30 minutes. As soon as the processing starts all my users get error The operation was cancelled because of locking conflicts. I ran the deadlocks trace as described in http://blogs.msdn.com/b/sql_pfe_blog/archive/2009/08/27/deadlock-troubleshooting-in-sql-server-analysis-services-ssas.aspx
but all I see is the processing start and all the users getting the error ("The operation was cancelled because of locking conflicts") 22 mil sec after the processing starts.
I also ran "select * from $system.discover_locks" but I only see lock types 2,4 and 8. None of which seem to be exclusive
This is SSAS 2012 with sp 1
Database ArchitectHi Derek,
According to your description, you get the dead lock error when processing partition. Right?
In Analysis Services, this error occurs when lock manager detects a dead lock. Lock type 2,4 and 8 can also have two transactions waiting each other and cause deadlock. In this scenario, please check the Dead Lock Graph in SQL Profiler
and find the related processes. Check what the processes work for to see if you need to do parallel processing or process other objects before partition processing.
Best Regards,
Simon Hou
TechNet Community Support -
Having trouble converting a MS Access IIF statement into SQL Sever 2012
I am in the process of converting an Access Database to SQL Server 2012.
The statement that works in MS Access currently right now is
IIf([$$AMTP46 WITH LAST DRG]![LastOfMSDRG] Is Not Null,[$$AMTP46 WITH LAST DRG]![LastOfMSDRG],[$$AMTP46]![Billing DRG])
I am not SQL Savvy, can you please help me find a solution to using this IIF statement in SQL. I have tried the CASE statements and no luck there either.
ThanksI presume that you check if LastDRG column is not null then use LastDRG or else use LastOfMSDRG column
You may also show your case query which didn't work for you.
Meanwhile try below:
-- Option 1
SELECT CASE WHEN [LastOfMSDRG] IS NOT NULL
THEN [LastOfMSDRG]
ELSE [Billing DRG]
END AS 'Output'
FROM YourTable
-- Option 2
SELECT COALESCE([LastOfMSDRG], [Billing DRG])
FROM YourTable
-Vaibhav Chaudhari -
SSAS 2012 Tabular Processing in 32 bit mode
Hi All, My SSAS tabular connects to Teradata using the OLEDB providers from Teradata. Unfortunately Teradata only provides 32 bit OLEDB provider and not the 64 bit. So in SSDT I can connect to the Teradata source, select the tables but while importing it
fails with the error TDOLEDB is not registered. I fear this is because SSAS is trying to find the 64 bit driver as my server is 64 bit. Any workarounds on how to proceed? SSIS has an option of specifying 32 bit runtime, is there something similar for SSAS
Processing? Teradata is not going to provide the 64 bit driver soon, does this mean I should switch to ODBC? Any help appreciated.
Thanks, Ashish SinghHave a look at this... This might help you...
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/1b10a45c-47cf-4d91-a8a4-d4cbeacec304/error-deploying-a-cube-using-an-oracle-client?forum=sqlanalysisservices
Please mark as answer, if this has helped you solve the issue.
Good Luck :) .. visit www.sqlsaga.com for more t-sql code snippetts and BI related how to articles. -
SSAS 2012 Tabular Model Restarting
Hello,
We are having tabular model cube which is of 40GB. Every day we are processing this cube via SSIS, before processing it we are restarting the SSAS service(from scripttask) so that it will clear memory and cache.
But most of the time service restating is not happening properly and package is getting failed. Thereafter we need to start service manually and then again we need to run the package.
My question :
• Restarting SSAS service every day is really good practice ?
• Apart from restarting service what other approach is there?
Awaiting for your reply!
Thanks and Regards,
Santhosh Shasthri M R
Hi Santhosh,
You can troubleshoot why service restating is not happening properly by using the msmdsrv.log. Are there any error message on the log? Under C:\Program Files\Microsoft SQL Server\MSAS11.\OLAP\Log (this could be different for your server), there are 3 log
files that are generated:
msmdrrv.log
FlightRecorderCurrent.trc
FightRecorderBack.trc
The msmdrrv.log simply points to the other two logs. There might be some detail information for this error.
Besides, I don't think you need to resrart the server to clear memory and cache. You can clear Analysis Services caches with SSIS task by using XMLA command, and run this package before run package to process cube.
http://consultingblogs.emc.com/jamiethomson/archive/2006/07/07/SSAS_3A00_-Clearing-the-Analysis-Services-cache.aspx
http://technet.microsoft.com/en-us/library/hh230974.aspx
Regards,
Charlie Liao
TechNet Community Support -
Hi,
I'm trying to build the dax query to determine the distinct count for a column returned by the application of a Filter function.
evaluate(
row("counter",
countrows(
filter(order_summary,
year(order_summary[change_date]) = 2013) )
I need to count the distinct values for an id returned by the Filter function.
Any helps, please? ThanksHi pscorca,
According to your description, you want to calculate the distinct values for records where change_date is 2013. Right?
In this scenario, we can use the DISTINCT() function within COUNTROWS(). Please try the expression below:
=calculate(
countrows(distinct(order_summary[column])),
Filter('order_summary', year(order_summary[change_date])=2013)
Reference:
Distinct Count Measure in PowerPivot using DAX
Related Distinct Count
Best Regards,
Simon Hou
TechNet Community Support -
Using HASONEVALUE and SWITCH dax functions - SSAS 2012 Tabular
Hi,
I'm testing the behaviour of a series of Dax formulas created in a my tabular model. In order to detect a "strange" anomaly, I'm analyzing in particular this formula:
IF( HASONEVALUE( Products[ProductID] ),
SWITCH(
VALUES( Products[CategoryID] ),
"Cat1", <measure_for_Cat1>,
"Cat2", <measure_for_Cat2>,
For this example, I've a fact table (e.g. having orders) with a product id and a products table with product id, product descr, category id, etc.
In the pivot table on Excel, product id can be put as a filter or as a row, but the category id (evaluated in the SWITCH function) is not to show to the end user.
I'd like to understand if a dax formula so built could give an error: when I put the product id as a row the related measure is calculated rightly, but if I try to filter some values for the product id the measure are not determined rightly respect to the
filtered product id on row. Perhaps, the VALUES in the SWITCH function has a bad behaviour.
Any suggests to me, please?
ThanksHi ,
SUMMARIZE(<table>, <groupBy_columnName>[, <groupBy_columnName>]…[, <name>, <expression>]…)
SUMMARIZE(ResellerSales_USD
, DateTime[CalendarYear]
, ProductCategory[ProductCategoryName]
, "Sales Amount (USD)", SUM(ResellerSales_USD[SalesAmount_USD])
, "Discount Amount (USD)", SUM(ResellerSales_USD[DiscountAmount])
so in cube you for calculated column it would be
=SUMMARIZE(ResellerSales_USD
, DateTime[CalendarYear]
, ProductCategory[ProductCategoryName]
, "Sales Amount (USD)", SUM(ResellerSales_USD[SalesAmount_USD])
, "Discount Amount (USD)", SUM(ResellerSales_USD[DiscountAmount])
thanks
Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem. http://techequation.com -
I have a SQL 2008 R2 database that I am trying to move to 2012. Made a full backup of the database in 2008 R2. Recovery model is Simple, compatibility level is 2008 Went to 2012, created a dummy database, did Tasks--> Restore -->
Database , located the backup file, selected it, changed the file locations and tried to restore the backup (with overwrite option), got the following error:
BACKUP LOG cannot be performed because there is no current database backup.
This is a simple task that has always worked in 2008 R2. Does anyone know what the problem is and a possible solution?
ThanksHi,
This error occurs when the database recovery model has been changed to Simple and/or the recovery model has been changed back to Full but a full backup has not been performed since the change.
If a full backup has been performed, the following conditions will require that another full backup be taken:
· The recovery model had been changed without taking a full backup
· A SQL maintenance plan task had changed the recovery model (reindexing can cause this)
· A backup specifying TRUNCATE_ONLY had been run on the database
· The database was detached from another server and attached to the current server
Additionally, if we take full database backup after the Database is set to readonly, Then transaction log backup we will end up with this error. This is expected behavior. I have list an example within the link below.
Please check above conditions and fix your issue, if you have any concern, please let me know.
Example:
BACKUP LOG cannot be performed because there is no current database backup.
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/b5c36e60-836f-4c9e-b9d7-3fb3f3ee4d37/backup-log-cannot-be-performed-because-there-is-no-current-database-backup
Thanks
Candy Zhou -
I want to migrate Analysis Services 2008 database to 2012 AS database along with data level security defined in current production cube
Note: Only Production environment have security, while no security is defined in development environment
Potential Approach:
1 - Using Synchronization Wizard: Gives me error : "The OLAP element at line1 can not appear under envelope......" and this is because Synchrinzation works only for same version
and in my case, there are different versions of SQL (SQL 2008 and 2012)
2 - Using Visual studio conversion wizard - Convert SQL 2008 AS project to 2012 and then process cube, so I can get the cube working but then how can I get data level security since 100's of data level security is defined in production Cube, so how can I
migrate that across
3 - Script out XMLA and deploy cube - But then again having issues with how can i script SSAS security
4 - Would taking backup of SSAS 2008 database and restore to SSAS 2012 will help ?
Any suggestions would be appreciated
Thanks,
MihirHi Mihir,
According to your description, you want to migrate the SQL Server Analysis Services (SSAS) 2008 database which have some security setting with it to SSAS 2012, right? We can migrate existing Analysis Services databases either during Setup, by upgrading an
existing instance of Analysis Services, or after Setup, by running the Migration Wizard. Generally, when migrating a database to another server, all the setting will be migrated. So in your scenario, you can refer to the steps on the links below to migrate
your SSAS database.
How to: Migrate Analysis Services Databases
Migrating Existing Analysis Services Databases
Regards,
Charlie Liao
TechNet Community Support -
How can I convert SQL Server 2008 Timestamp to DB2/iSeries Timestamp?
In DB2/iSeries I have a column that accepts Timestamp value. When I try to insert a timestamp value from the SQL 2008 table and into DB2/iSeries table I recieve the following error message:
OLE DB provider "IBMDA400" for linked server "XXX" returned message "SQL0180: Syntax of date, time, or timestamp value not valid.
Cause . . . . . : The string representation of a date, time, or timestamp value does not conform to the syntax for the specified or implied data type and format. *N is either the character string constant that is not valid or the column or host
variable that contained the string. If the name is *N, then the value is an expression specified in the statement. If the string was found in a host variable, the host variable number is 1. Recovery . . . : Ensure that the date, time, or
timestamp value conforms to the syntax for the data type it represents. Try the request again.".
Msg 7343, Level 16, State 2, Line 1
The OLE DB provider "IBMDA400" for linked server "XXX" could not INSERT INTO table "[IBMDA400]".
The SQL timestamp column contains the result in the following format:
2014-04-24 07:39:09.000
And my insert TSQL command is:
INSERT INTO OPENQUERY(XXX, 'Select "TimeOfDeal" from ABCD.TICKETS')
SELECT TimeOfDeal
FROM dbo.Tickets
WHERE DealId = 'ABC123'
I appreciate any help on this issue.You are right it is a datetime data type in MS SQL, and a Timestamp in DB2.
I cast it to datetime2 and it worked.
Interesting. I would guess that somewhere under the covers, the date value gets converted to a string, and the different default string formats for datetime and datetime2 is illustrated with this statement:
SELECT convert(varchar, getdate()), convert(varchar, sysdatetime())
When I ran it, I got these values:
Feb 23 2015 12:31PM 2015-02-23 12:31:18.3708899
Now, why there is a conversion to string in the first place, I'm afraid I don't have any good answer to.
Erland Sommarskog, SQL Server MVP, [email protected] -
Function to convert PO quantity and cancelled quantity into Primary UOM
Hello,
I am looking for a function to convert PO quantity and cancelled quantity into its Primary UOM from the unit of measure the line order was placed.
Thank youhi
In case if you are already working in production remember that decimal places should not change. It will affect all previous data.
For your problem best solution is make order unit as 1000. So that your problem will solve
e.g. instead of 2.009 inr for 1 Unit use 2009 inr for 1000 unit. -
Can I convert an apple store gift card into a itunes gift card
Can I convert an apple store gift card into a itunes gift card. I bought the wrong one.
Hey Carterc25, I have been dealing with the same issue this morning... I've talked to the senior adviser of Applecare and "Bruce" told me the only way to convert apple gift card to itunes is by physically going to an Apple Retail Store and buy an Itunes gift card. Many people don't understand the difference between "apple" and "itunes" in gift cards so it is only obvious more people will fall victim to scheme. My advice is DO NOT BUY APPLE GIFT CARD.
Another reason to ditch Apple and be a Microsoft customer. #Microsoftisbetterthanapple -
How can I convert an array with varying length into a cluster
Hi,
I need to convert an array of n elements into a cluster. Usually, it only involves the "Array to Cluster" function. But since the array length is not constant and the number of elements in the function is constant and can not be changed programaticaly, I need to find another way to do that.
Any ideas?
Thanks.Hi,
I also tried to do this but without success. I think that's not possible.
For me it's a general problem using labview. I often wanted to generate standard controls dynamically which is not possible (or I haven't found the solution yet). So I think that's the reason why you can't create a cluster during runtime (the program would have to add controls dynamically to the cluster).
Do you have an upper limit for your array-size? Although it needs a lot more memory, it would be a possibility to create the cluster with the maximum number of elements.
If you don't have a maximum, you will have to look for another way, I'm afraid.
Thomas
Using LV8.0
Don't be afraid to rate a good answer...
Maybe you are looking for
-
How to send a Row based in a view Object
Hi, i has in the app module a method to insert but i want from the baking bean send a Row with the information but not function well ---this is my method in the app module public boolean CreaCliente1(Row row){ ViewObjectImpl vo =this.getClientesVo();
-
.pdf files in iBooks on original iPad don't appear when trying to sync to MAC
Original iPad has .pdf files in iBooks. When trying to sync to MAC these filles don't present themselves so I can select them to be synced.
-
I upgraded my phone to ios 5 and had to restore it; now it is frozen. what do I do?
-
Creating a drop-out in a clip?
A coworker asked me a question that I can't answer, so here I am! He has a clip in his timeline which he'd like to effectively "grey out" for a portion in the middle. That is, he'd like to create a window in the center where the audio and video dro
-
Time Machine explanation for small hard drive user
Hey, thanks in advance for the answers. I have several questions about Time Machine that I just can't seem to sift through the answers on these forums to have answered. I have only 95 GB of files saved on my macbook but a large portion of