Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x

SSAS

900

Solutions

820

Contributors

SQL Server Analysis Services (SSAS) is an online analytical processing (OLAP) and data mining tool in Microsoft SQL Server used as a tool by organizations to analyze and make sense of information possibly spread out across multiple databases, or in disparate tables or files. Analysis Services includes a group of OLAP and data mining capabilities and comes in two flavors - Multidimensional and Tabular.

Share tech news, updates, or what's on your mind.

Sign up to Post

I have been tasked with moving some SQL Server reporting cubes from Server A in Datacenter A to Server B in Datacenter B and want to make sure I'm not missing anything (this is way outside my usual ball park of operations - I'm mostly an Oracle guy).

So far I have identified:

* There is a pair data warehouse databases that need moving - Simple DB backup and Restore for initial setup should work
* There are 4 SSAS Cubes.  I believe this is a backup of each cube and restore on new server
* There are several SSIS packages that need to be exported individually and re-imported into the new server
* There are several SQL Server Agent jobs that refresh these cubes that will need to be copied to the new server

Are there any other steps I need to be aware of or pieces that might need to be moved that I haven't listed above.

Thanks
0
Free Tool: IP Lookup
LVL 10
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

how do I join two queries, join them HORIZONTALLY, i.e. extra columns, second columns query 2 to right of first query



--query 1 OUTPUTS
SELECT a.timeStampKey, t.timeStamp,MAX(CASE WHEN a.PIE2_O_ID = 1 THEN value END) AS 'K_DESIGN_SG_A_AVERAGE_A', MAX(CASE WHEN a.PIE2_O_ID = 2 THEN value END) AS 'K_DESIGN_SG_B_AVERAGE_B'FROM   tblOutputs as a INNER JOIN       tblTimeStamp as t ON a.timeStampKey = t.timeStampKey GROUP BY a.timeStampKey, t.timeStamp
--query 2 INPUTS
SELECT a.timeStampKey, t.timeStamp,MAX(CASE WHEN a.PIE2_I_ID = 10104 THEN value END) AS Flow, MAX(CASE WHEN a.PIE2_I_ID = 10006 THEN value END) AS Head FROM   tblInputs as a INNER JOIN       tblTimeStamp as t ON a.timeStampKey = t.timeStampKey GROUP BY a.timeStampKey, t.timeStamp
0
Hi ,

Please provide detailed procedure for In-Place Up-gradation from MS SQL Server 2012 to MS SQL Server 2014 include MSBI Components like SSIS Packages, Cubes/OLAP Databases and SSRS Reports.

Please consider this high priority.

Thanks,
Chandra
0
I have a DSV that is made up of my Fact table and Dimension tables. Im kinda new to this(I was able to do this years ago). I remember being able to process a cube and browse the data in my tables. I know I will be missing a lot of pieces of code but for now I am just trying to give my boss a proof of concept. Which means if I can somehow show him the data and the ability that SSAS has to save time on reporting rather than write ad-hoc reports than I can go back and do this the correct way. Like I said, I just have to be able to browse the data that consists of the data in the Dimensions shown below. My problem is I cannot Process the cube without getting errors. I have a small star schema consisting of a Fact table that is loaded and the Dimension tables that hold the lookup data. All I want to do at this point is show the data By Carrier Name with the TXN_01-TXN_15(Column fields are defined in another lookup right now) aggregated. Literally that is all I need at this point. Can someone help me with this? The pic embedded is my data source view and when I try to Process the cube with the suggested files I get the following errors.....

 Star Schema DSV
Again,I know I am not doing this correclty I just need to be able to show the data so I can rewrite this the correct way and trust me I will be coming back to this site for more help!!

The following is  what I want to be able to show my manager with the data I have in my Dimensions...Sorry for the editing I just …
0
Hi Experts ,

  Issue : Linked Server is being created but no catalogs are found when accessing the SSMS (Sql Server Management Studio) with SQL Authentication but with Windows Authentication , I can access the catalogs.

Linked Server

Please Note : WH DB Server /Cube Server / Linked Server are on the same machine.

Here is the code , how I am trying to create a linked server and catalogs .

Please help me with the solution , will appreciate your help in this regard.


if NOT exists (select srvname from master.dbo.sysservers where srvname = 'RPM_Cubes')
BEGIN
Exec master.dbo.sp_addlinkedserver
@server = N'RPM_Cubes',
@srvproduct ='',
@PROVIDER = N'MSOLAP',
@datasrc=N'localhost\sqlserver2016',
@catalog ='RPM_Database'
EXEC master.dbo.sp_serveroption @server=N'RPM_Cubes', @optname=N'rpc', @optvalue=N'true'
EXEC master.dbo.sp_serveroption @server=N'RPM_Cubes', @optname=N'rpc out', @optvalue=N'true'
END
ELSE
 PRINT 'Link Server already exists'


Thanks,
SRK.
0
Hi Experts ,

  Issue : Linked Server is being created but no catalogs are found. I am trying to access the SSAS Cubes using the  MSOLAP provider as mentioned below.
Please Note : WH DB Server /Cube Server / Linked Server are on the same machine.

Here is the code , how I am trying to create a linked server. Please let me know if I have to configure any server options to create the catalogs in linked server.

if NOT exists (select srvname from master.dbo.sysservers where srvname = 'Test_Cubes')
BEGIN
Exec master.dbo.sp_addlinkedserver
@server = N'Test_Cubes',
@srvproduct ='',
@PROVIDER = N'MSOLAP',
@datasrc=N'localhost\sqlserver2016',
@catalog ='Test_Database'
EXEC master.dbo.sp_serveroption @server=N'Test_Cubes', @optname=N'rpc', @optvalue=N'true'
EXEC master.dbo.sp_serveroption @server=N'Test_Cubes', @optname=N'rpc out', @optvalue=N'true'
END
ELSE
 PRINT 'Link already exists'


Thanks,
SRK.
0
One of the developers here created this process in Oracle that ends up being a query that references 5 tables with joins. What I did was create an SSIS package to load the data into SQL tables. I then created another package to load Dimension tables based off of these tables .

Im currently at the point where I need to load the Fact table. Here is a pic of my tables



I have been doing some research and I found a good example of loading my Fact table and Im having trouble trying to figure out what my first steps are. I realize that I need to do Lookup to get Dimension info but in this example
Demo Im trying to follow

Im having trouble trying to follow the logic in the Fact table Load. The author is starting off using an OleDB Source(Hire table) to get the SnapshotDateKey, which I kinda understand, but he is using a source from an OLTP table? I dont know what I would need to do in my process and if so how would I customize it for my needs. It is throwing me off big time..

Its been a while so if there is something that doesnt seem like it belongs please let me know....

Thanks for your help. I really need to figure this out and wanted to see what developers, who know what they are doing, think about what Ive done so far....
0
hi experts
i am reading about Working with Data Source Views in sql server data tools
i do not understand, As the creation of a relationship can improve performance, do you have any examples?

Create relationships to improve performance
0
Hi we have an SQL Server with a VLK.

We have some problem with the server and to start up the services.

I says in the log:
2017-04-25 10:01:05.92 Server SQL Server evaluation period has expired.
2017-04-25 10:01:05.92 Server SQL Server shutdown has been initiated

But that doesn't makes sense do to the fact that it is a volume license key we used.

is there anyway i can fix this?
0
I just installed 2016 SSAS. I am trying to deploy my cube but I keep getting this error. In 2008 there was windows service you could stop and for Analysis service. I dont see that service with the 2016 version. I am running Windows 2012. Any advice on how and where I start this service?


Severity	Code	Description	Project	File	Line
Error		The project could not be deployed to the 'localhost' server because of the following connectivity problems :
A connection cannot be made. Ensure that the server is running.
To verify or update the name of the target server, right-click on the project in Solution Explorer, select Project Properties, click on the Deployment tab, and then enter the name of the server.			0

Open in new window

0
Free Tool: Site Down Detector
LVL 10
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Hello -

I do not have the internal resources available to me to maintain a set of OLAP data cubes I've created using SSMS and SSAS 2012.  I need someone profficient in MDX Query structure and familiar with multi-dimensional data to assist me briefly in creating the right kind of measures my client is interested in seeing.  

This is particularly around creating a total percentage calculated measure that will total to 100% for all permutations run on it within the cube.  I will be filtering dimensions, and I will be displaying dimensions within a tabular format both in columns and rows.  There are thousands of measures, and my client wants to be able to perform any combination of each.

Thank you in advance for any help or guidance you might be able to provide me.
0
Hello Experts Exchange
I am developing a Finance cube, I'm trying to mimic the same functionality as SAP BPC.

In Excel the users look at the data in the SAP BPC cube and can view and update the forecasting data.

How do I do this in a SSAS? Is there any document that explain how to do it?

Regards

SQLSearcher
0
Hello Experts Exchange
I'm new to SSAS cube development.

I have data for cost centres that are going into my cube, please see file attached.

I want to create a SSAS Hierarchy with the data.

The column PARENTH1 is the Parent folder and HIER1 is the Child folder, there can be several levels of folders.

I want to use the PARENTH1 and  HIER1 to create the Hierarchy but I want to display the EVDESCRIPTION field to the user.

How do I do this in SQL Server Analysis Services?

Regards

SQLSearcher
CostCentreFolders.xls
0
We want to uninstall AD from a Windows 2008 R2 but we want to know what could be affected.

1.-After uninstall is created a new administrator account or we can login with actual administration account just removing the @domain.com.
2.-By this way all other users are removed? We have users for ftp access and other things these users are removed?
3.-The configuration of IIs is damaged?
4.-The Sql Server 2008 and mysql accounts are affected?
5.- What other areas could be affected or changed?

We want to follow this link to uninstall:

https://technet.microsoft.com/en-us/library/cc771844(v=ws.10).aspx

We just want to know before trigger the button and cause a several damage.

Thank you
0
hi experts

i am reading about: real-time operational analytics
in https://msdn.microsoft.com/en-US/library/dn817827.aspx

whats the mean: real-time operational analytics
0
hi experts

about Dimension table indexes
What is correct?

1. Clustered index on surrogate key column
or
2. Create a clustered business key index
0
hi experts

i have this question:

1. The cube of analysis services is physical or logical (it is constructed from the dimensional database)

2. Can an SSIS package load data into a dimensional bd and a cube or do they have to be different packets?

3. Suppose we have a fact table - FT for HR, another FT for Production, another FT for sales and so on, if I wanted to have a global vision of the company I would have to put all the FT together in one big FT?
0
Hello,

What is wrong with this?


BEGIN TRANSACTION
UPDATE tn
  SET tn.[NC_HIST_POST_1] = SubQuery.[2015]
  FROM PS_NC_BUDG_STG_UPL tn  JOIN (
 SELECT *
  FROM (
 SELECT ACCOUNT
 , DEPTID
 , PROGRAM_CODE
 , PROJECT_ID
 , POSTED_TOTAL AS POSTED_TOTAL
 , BUDGET_PERIOD
  FROM PS_NC_BUDG_STG_HIS AS p PIVOT ((p.[POSTED_TOTAL]) FOR [BUDGET_PERIOD]  ([2014]
  , [2015]
  , [2016])) AS pvt
  GROUP BY ACCOUNT
  ,DEPTID
  , PROGRAM_CODE
  , PROJECT_ID
  , [2014]
  , [2015]
  , [2016] ) AS SubQuery ON SubQuery.ACCOUNT = tn.ACCOUNT
   AND SubQuery.PROGRAM_CODE = tn.PROGRAM_CODE
   AND SubQuery.PROJECT_ID = tn.PROJECT_ID
   AND SubQuery.DEPTID = tn.DEPTID
   AND ([2015] IS NOT NULL)


Thanks, Lucia
0
Hi All,

One of our SQL 2000 servers (running on Windows 2003)  is running low on space.  A couple of months ago I truncated the logs with assistance from experts-exchange link

So I executed the code below again in Query Analyser on the server and got the following...

SQL
But the log file size hasn't changed.  Any ideas what I've done wrong / differently?

Many thanks
D
0
New feature and membership benefit!
LVL 10
New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

I'm building a Cube. I can process, deploy and also I can connect through Excel and slice and dice.
It is working good for me.

But, after I ask user to test the cube, It is trying to gets the data from the Cube and after some time giving the message saying 4 milling rows

I've attached a error message my users are getting, but myself not getting this and working.

Please give me some help to resolve this
New-Bitmap-Image.bmp
0
Hi Experts ,

Here is the requirement.

Requirement :

I have 2 dimensions and for all the members of  these 2 dimensions , I don't want to show any measure values , just want to display the 'N/A'  and show the measure value for any other dimension.  I have written some MDX below , but that is giving an error (#value) when browsing the cube in an excel.

Please correct the mdx below and provide  me with a solution. Will appreciate your help in this regard.
 
MDX Used :

CREATE MEMBER CURRENTCUBE.[Measures].[Test] AS
  IIF ([Dimension1].[Hierarchy1].CurrentMember
       IS [Dimension1].[Hierarchy1].CurrentMember.[All],
       'N/A',
IIF(
[Dimension2].[Hierarchy2].CurrentMember
       IS [Dimension2].[Hierarchy2].CurrentMember .[All],
       'N/A',

'MEASURE VALUE'

)
          );


Thanks,
SRK.
0
Hi, we currently have 10 columns in a View in our sql server 2008 Database. Now, we need to build a SSAS cube to connect to this View and bring those 10 columns as it is straight. No changes needs to be done in the cube.

I already cleared Data Source View and called this view but in the cube it is asking for measures and dimensions and this is where my confusion is. Can anyone please let me know how to make this cube bring all my 10 columns in the View as it is ? The user will connect to this
cube and he should get all those 10 columns from the cube as it is which he was getting from the View previously.

Many Thanks
0
Hi, I have created SSAS cube from my Data source View which is calling a view from my Database. I am now trying to deploy the Cube on local but getting permissions issue . It says login failed for user.

Can any one please let me know if i need any special permissions to deploy a cube and what are they ?

Many Thanks
0
Hi, we have recently moved to new production servers and we have back end sql server 2008r2 Datawarehouse in a datazone. we have sql sever VIEWS in our datawarehouse which Users connect to them using excel. Before this upgrade we had an AD group and added some users with ready only permission to this group so that they can connect to these views.

but now we cannot do this as our DB server is now in a secured data zone. we r now thinking of developing a SSAS CUBE connecting to the datawarehouse and then the users can connect to this cube via excel and get their data .

Can any one please let me know if the CUBE idea is more secured than our previous method of accessing the views ?

Many Thanks
0
Hi,

Is anyone knows that two instance ( Tabular and Multi-Dimension) that can install  a single server? if so, is there any limitation this will be deprecated  beyond 2014?
0

SSAS

900

Solutions

820

Contributors

SQL Server Analysis Services (SSAS) is an online analytical processing (OLAP) and data mining tool in Microsoft SQL Server used as a tool by organizations to analyze and make sense of information possibly spread out across multiple databases, or in disparate tables or files. Analysis Services includes a group of OLAP and data mining capabilities and comes in two flavors - Multidimensional and Tabular.

Top Experts In
SSAS
<
Monthly
>