Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all 1341 articles
Browse latest View live

installation issue-services

$
0
0
Hi allcould you please suggest what is the error in installation,all the services are installed but i am unable to connect,please see the images.i cant find the analysis services engine to start , i have installed 2012 sql server evaluation editionhttps://www.microsoft.com/en-us/download/details.aspx?id=29066

SSAS - Phantom Data - Date format?

$
0
0
Hi, we are having some trouble and I'm confused.We have a process which imports data and then builds a cube, this has been running for years.We have recently set up a new development SSAS server, the problem is that when we take the cube on the new dev server and point it at the same data source as the live cube, it produces slightly different results to the live cube. We've narrowed it down to one record and it appears to be returning slightly different data due to some differing behaviour with the date format.I've checked the machine settings, SSAS defaults and they all appear the same (see attached), can someone tell me what other settings that may affect usage of the date format so I can check them.Thanks,Nic

Cube Processing Log

$
0
0

When a cube is being processed; the process window displays the processing duration time, together with the various steps of the process.

please tell me where the cube processing log is stored? Is in in a specific database or file location?

I would like to compare the past logs to analyse the optimised cube design storage/performance.

HELP! Its urgent! Thank u

HOW TO: Find out if SSAS service is back after recycle

$
0
0
Hello,Due to some of maintenance activity, we often require to recycle the SSAS service so I am thinking of automating the recycle using PowerShell script however I couldn't figure out a way to check on when the SSAS is back online (after service is up, it takes some more time for cubes to come online as it loads into memory).I was initially hoping to run a DMVs constantly until successful connection establishes but trying to see if I can get any better ideas from folks here.Thanks

No mapping between account names and security IDs was done. (Microsoft.AnalysisServices)

$
0
0
When adding a user to server administrator on SSAS instance i am getting the below error.The following system error occurred: No mapping between account names and security IDs was done. (Microsoft.AnalysisServices)

Calculate Lead Time / Process Time

$
0
0
Hi all,I have 2 dates in my Dimension, Date Invoice and Date Created. If I want my cube to display the Lead Time between it, for example if Date Invoice is 4/6/2016 and Date Created 4/1/2016, Lead time will be 5 (days).How am I going to achieve this ? All this time, the calculation is on the viewer, in Excel or in report, to just add a new column then using DateDiff function to these two column. But there is a request to make it in the cube it self.Kindly advice. Thanks.

Using DAX, how do I calculate a table when filtering on a related table?

$
0
0
I'm trying to find the intersect of two result sets using DAX, but I'm really struggling to get the two result sets calculated.I have a fact table, FactCheckForUpdates, that has a relationship to a date table called 'Log Date'. FactCheckForUpdates contains Machine IDs, and I want to return the IDs for the last 2 complete months.I can calculate the distinct count of Machine IDs using this formula: [code="other"]2Month Distinct Machines:=CALCULATE ( [Distinct Machine Ids], FILTER( ALL( 'Log Date' ), ( 'Log Date'[YearMonthNumber] >= MAX( 'Log Date'[YearMonthNumber] ) - 3 ) && ( 'Log Date'[YearMonthNumber] <= MAX( 'Log Date'[YearMonthNumber] ) - 1 ) ) )[/code]Where 'Distinct Machine Ids' is calculated as: [code="other"]:=DISTINCTCOUNT([MachineId])[/code]and where 'YearMonthNumber' is calculated on the 'Log Date' table as: [code="other"]=('Log Date'[YearKey] - MIN('Log Date'[YearKey])) * 12 + 'Log Date'[MonthOfYearKey][/code](effectively this gives the number of the month in the context of the entire date dimension).[b]Can anyone help me update the [2Month Distinct Machines] expression so that instead of returning the distinct count of Machine IDs in the period, it returns a table of the machine IDs?[/b]I've tried using the CALCULATETABLE function, but it won't accept the MAX aggregate on the date filter. The closest I've gotten is this formula: [code="other"]CALCULATETABLE ( ADDCOLUMNS ( SUMMARIZE ( FactCheckForUpdates, FactCheckForUpdates[MachineId] ), "meh", CALCULATE ( SUM ( FactCheckForUpdates[CFUPing] ) ) ), FactCheckForUpdates[LogDateKey] > DATE ( 2016, 4, 1 ) )[/code]but I'm not sure how to use the 'Log Date' table here.Any help massively appreciated!

Deploying Cube Error

$
0
0
HelloI am having difficulties employing cubes. I am getting errors. I tried several solutions which of is to remove "localhost" with the server name or the IP address(inclusind this: http://stackoverflow.com/questions/11460108/olap-cube-deployment-issues).Nothing is working can anybody Help me Please?

currentmember referred to in WHERE Clause

$
0
0
Hi All,The following is mdx selecting from a subselect . any idea what is the purpose of having a WHERE clause i.e WHERE [Date].[Calendar].CurrentMember . What is it's purpose ? What is currentmember is referring to. I can't see what it is trying to enforce. SELECT NON EMPTY { [Measures].[Sales Amount] } ON 1,NON EMPTY { ([Product].[Category].[Category].MEMBERS ) } on 2 FROM ( SELECT ( { [Date].[Calendar].Members]} ON 0 FROM [Adventure Works]) WHERE [Date].[Calendar].CurrentMember )) this is the sort of boiler plate mdx generated out by SSRS when using a parameter

Date Dim Display Question

$
0
0
I'm using SSAS 2014 Multidimensional. I have a date dimension table that has dates going to about 01/01/2018. However, when I browse the cube using SSMS or in Visual Studio, I only see dates up to 10/29/1998 in the dimension. Is there a limit on how many rows a dimension can display while browsing?

Connection to AS via SSMS

$
0
0
I got a request from someone today and need some assistance. They need to connect to an SSAS instance in someone's domain. They only have SSMS loaded on their machine. There is no Analysis Services option on the server type drop-down at the login screen. What do I need to have for him to be able to do this?

Unsupported Data Format

$
0
0
HiCan Anybody Please Assist? I am getting this error when trying to deploy/process a Cube in SSAS.It worked before, i don't know what went wrong.

intermittent cube processing failure - LazyWriter Stream

$
0
0
We have a pretty big OLAP database, about 400-450gb. Its on its own VM with 24cpu and 74gb of RAM.I've had this problem intermittently in the past, but its become more frequent lately, to the point of it being a daily occurrence. The daily incremental process takes a couple hours each day (when it works). The error that is showing in the logs is:"Description: File system error: The following error occurred while writing to the file 'LazyWriter Stream': The I/O operation has been aborted because of either a thread exit or an application request. . "There will be several of these messages in the SQLAgent JobOutput against several different files within the OLAP database. Ive found some reference in searches to these thread exits being due to out of disk space issues, and Ive confirmed that not to be the case, we have over 200gb free on the drive at the point of the process failure as captured by perfmon..Is this just a matter of throwing a lot more memory at it, or is there something to be done within the SSAS instance's settings?Thanks for any input you all might have. Ive not found any hits with this particular message with regards to SSAS Processing failures.

Error "Object reference not set to an instance of an object" during attempt to edit Named Query

$
0
0

Dear All,

I observe a very strange behavior when I try to edit Named Query in SSAS 2005 using BIDS.

The error "Object reference not set to an instance of an object" is displayed and the Query Builder doesn't start.

That happens also when I try to edit queries on other machines and for all the databases created on the SSAS server. Server restart didn't help.

That worked well before and seems that the only change that might cause the problem was installation of some recent Microsoft updates.

If someone can help I'll be very grateful

Jakub

Problems processing a measure group in SSAS 2012

$
0
0
I've run into something I haven't seen before. I'm working on an SSAS 2012 instance adding a new measure group to my cube. The source table is a bridge table with two columns. When I attempt to process the measure I get this error: [quote]"Errors in the back-end database access module. OLE DB was unable to convert a value to the data type requested for column '1'. Errors in the OLAP storage engine: An error occurred while processing the <my new bridge table/fact> partition of the <my new bridge table/fact> measure group for the <my cube> cube from the <my ssas db> database."[/quote]The query that's failing is:[code="sql"]SELECT 1 AS [XXX_0_0], [col1] AS [XXX_0_1], [col2] AS [XXX_0_2] FROM <my sql table>[/code]I can copy/paste the failing query into SSMS, run it and it's fine. The first column, which gets the name ending with _0_0 is a derived column created by SSAS and represents the partition number (there's only one partition so all the values are 1. It's an int)The second column is the one I believe is causing the error. It's nvarchar(40) in the SQL table and system.string (Length = 40) in the DSV. The third is an int in the SQL table and system.int and the DSV.My understanding is that, by column '1' they're referring to the column that ends with _0_1 (the second column in my example above). Any suggestions on how to troubleshoot this would be great. Thanks!

Calculated Column, SSAS Tabular vs Database

$
0
0
Let's say I have a table with a [Price] column and a [Quantity] column. I want to add a column that is [Price]*[Quantity]. What would have better performance, creating the calculated column inside the Tabular model or create as part of a SELECT statement (a view, basically)? Why?:-)

Timeline in Excel 2013 for Date Dimension from AS

$
0
0
Hello,i would like to insert a timeline in my pivot table, that is build from dimensions and measures from my AS-Cube.I get a messages, there is no field with a date-format. It is not possible to insert a timeline.It is not possible to format the column with the Date-Attributs to the datatype date, they still remain as a string.If i specify my attribut in the AS-Solution as date or use a NameColumn, which is format as date it also doesn't work.Any idea?

Tabular Partitioning Approach

$
0
0
The back-end data is a single Hive record set. That record set includes columns that were joined within Hive from Hive tables that I don't have access to. Anyway, that record set will probably change every 10 minutes or so (meaning, there will be new rows added every 10 minutes or so). There will eventually be millions of rows in that record set. I am wondering, what is the best approach to partitioning the tabular model, from an architectural perspective?

semi additive measure over time dimension doesnt work

$
0
0
I use SQL Server 2012 Enterprise Edition.According to many post online about semi additive measures it is possible to calculate a measures over a time dimension (calculate always the max value over the hierarchy) and an additive dimension. So I implemented a measures without changing the aggregate function. Then I used the Business Intelligence-Assistent to define a semi additive behavior for a individual measure. I switched the aggregate function from Sum to Max. That was all. After recalculation the cube I recognized that the system used the max-calculation for both dimension instead only for time dimension.Maybe I use a wrong attitude in related properties. I tried many different attitudes but nothing changed. I want to ask for help.[color="#DB2929"]solved: The implemention of max aggregat function seems to be incorrect. If I used 'LastNonEmpty' it works. So I write in MDX an own MAX funktion.[/color]

Left Outer Join in SSAS Tabular

$
0
0
Maybe this is a silly question, but I haven't found the answer yet. I want to bring separate tables into SSAS Tabular and then join them using LEFT OUTER JOIN. How is this done? I know you can go to diagram view and graphically join tables, but I don't see any options for INNER or OUTER joins. So, how is this done in Tabular? I'm using SSAS 2014.
Viewing all 1341 articles
Browse latest View live