ssas

ssas dimension processing key not found error

久未见 提交于 2019-12-06 04:08:47
I have this strange case where I am trying to process a dimension, the data source is MSSQL and when I try to process this dimension I am getting this error Errors in the OLAP storage engine: The attribute key cannot be found when processing: Table: 'application', Column: 'Full_Name', Value: 'Mr Peter McDonald'. The attribute is 'Applicant Full Name'. Since I think I know what the problem is, I have set the case sensitive property for this column and I tried processing again and it's giving me the same result. when I query for the column using like, I get two records Peter McDonald Peter

porting multidimensional SSAS to ICCube. Scope() equivalent? other gaps/issues?

好久不见. 提交于 2019-12-06 03:55:02
Has anybody ever ported a complex ssas multidmensional cube to iccube? and have any advice to offer on lessons learnt/gaps between the two tools etc? The major one i can see is scope(). What's the equivalent in iccube? nested if/case statements? I have a list here. Anything else? function | SSAS | iccube ------------------------|------------------------|------------------------ multi threaded calcs | no | yes ------------------------|------------------------|------------------------ fix/scope block code | SCOPE() | ?? ------------------------|------------------------|------------------------

Best Practise to populate Fact and Dimension Tables from Transactional Flat DB

断了今生、忘了曾经 提交于 2019-12-06 03:48:19
问题 I want to populate a star schema / cube in SSIS / SSAS. I prepared all my dimension tables and my fact table, primary keys etc. The source is a 'flat' (item level) table and my problem is now how to split it up and get it from one into the respective tables. I did a fair bit of googling but couldn't find a satisfying solution to the problem. One would imagine that this is a rather common problem/situation in BI development?! Thanks, alexl 回答1: For a start, it depends on whether you want to do

Exception when referencing SSAS Tabular model in C#

南笙酒味 提交于 2019-12-06 01:04:15
I am attempting to automate partition refreshes in Azure Analysis Services via C#. I have installed and referenced the latest 'Microsoft.AnalysisServices. ..' assemblies found here: https://docs.microsoft.com/en-us/azure/analysis-services/analysis-services-data-providers . I then have the following code: using System; using Microsoft.AnalysisServices.Tabular; public void Run() { Server asSrv = new Server(); try { asSrv.Connect(ASConnectionString); Database db = asSrv.Databases.FindByName("HospoIQTabular"); Model m = db.Model; // only refresh 2017 partitions m.Tables["Sales"].Partitions["Sales

WHERE clause in calculated member

╄→尐↘猪︶ㄣ 提交于 2019-12-06 00:58:06
I am facing some problem to calculate values from comparing dimension's value. I have 3 dimensions (Datatype, Customer, Product) and one measure (GrossSales). What would be the MDX query if I want GrossSales for ProductID = 1,2,3 and Dataype = 4,5,6? Here Datatype has relationship with GrossSales, Customer has relationship with GrossSales and Product has relationship with Customer. I am trying this but doesn't work CREATE MEMBER CURRENTCUBE.[Measures].Forecast_Gross_Sales AS ( SELECT NON Empty [Measures].[Gross Sale] FROM [Measures] WHERE ( [Data Type].[ID].[ID] = 4 AND [Chain].[Customer ID] =

SSAS Dimension attribute as Calculated Measure

不羁的心 提交于 2019-12-05 22:33:29
I am having some issues trying to implement an average of a dimension attribute. The basic structure is: Booking Header Dimension Fact Table (multiple rows per Booking Header entry) On the booking header dimension I have a numerical attribute called Booking Window, and I want to be able to create a calculated measure that averages this value. We are using SQL Server 2012 standard edition. Any help would be greatly appreciated. The best approach would be to create a measure group from the dimension table (in BIDS, go to cube designer, tab "Cube Structure", right-click the cube object in the

How to fit a week into a calendar time hierarchy?

限于喜欢 提交于 2019-12-05 19:30:42
As is usual with cubes, the users want things that don't fit into a hierarchy to be displayed hierarchically. They'd like to see Day > Week > Month > Quarter > Year as the hierarchy, but the problem with weeks is they can be part of 1-2 months, not just 1 month (and by extension part of 2 quarters, semesters, years). So my question is: how to set up the attribute relationships, and how to set up the hierarchy? Here is what I have, but I know it's not optimal. Hierarchies (cycle == weeks): Attribute Relationships: There is no Cycle -> Year, because it is a many-to-many relationship There are

How to test connection to a data source in SSAS using C#

元气小坏坏 提交于 2019-12-05 16:18:47
I have a database in Analysis Services on a remote server. This contains a data source for another database located on another remote server. I am trying to write a connectivity test using C# which will check the database connection between the two databases. I have been unable to do this using ADOMD.NET. I'm currently looking at using SMO to do this but I haven't had any luck so far. I would greatly appreciate any advice or suggestions. Update: After further research, I have come up with the below test (Please note that I intend to add more try..catch blocks and Assertions later). Also, this

How to model process and status history in a data warehouse?

…衆ロ難τιáo~ 提交于 2019-12-05 15:56:10
Let's say that we have D_PROCESS , D_WORKER and D_STATUS as dimensions, and the fact F_EVENT that links a process (what) with a worker (who's in charge) and the "current" status. The process status changes over time. Shoud we store in F_EVENT one line per process/status/worker, or one line per process/worker, and "somewhere else" one line per status change for a given process/worker? I'm new to Datawarehouse and it's hard to find best practices/tutorial related to data modelization. Read The Data Warehouse Toolkit by Ralph Kimball for a good introduction to dimensional modeling. It sounds like

How to secure MS SSAS 2005 for HTTP remote access via Internet?

╄→гoц情女王★ 提交于 2019-12-05 12:39:34
We are building an hosted application that uses MS SQL Server Analysis Services 2005 for some of the reporting, specifically OLAP cube browsing. Since it is designed to be used by very large global organizations, security is important. It seems that Microsoft's preferred client tool for browsing OLAP cubes is Excel 2007 and the whole infrastructure is geared around Windows Integrated Authentication. We, however, are trying to build an internet-facing web application and do not want to create Windows Accounts for every user. It also seems that there are not many nice AJAXy web-based OLAP cube