ssas

Dimension Security in SSAS & SSRS

坚强是说给别人听的谎言 提交于 2019-12-10 00:26:22
问题 I am stuck with a problem of implementing security at dimension level in SSAS. Here is what I did - 1. Defined a role in SSAS and applied security at dimension level (Unchecking cube dimensions that I don't want this role to access and setting Allowed & denied Sets). 2. Tested using Cube Browser, it worked fine. 3. Tested using SSRS, no change, I was still able to query the dimensions & get results that I don't want. Question - Is it possible to propagate the security I define at Cube level

Extracting raw data from a PowerPivot model using Python

梦想与她 提交于 2019-12-09 04:39:37
问题 What seemed like a trivial task turned into a real nightmare when I had to read in some data from a PowerPivot model using Python. I believe I've researched this very well over the last couple of days but now I hit a brick wall and would appreciate some help from the Python/SSAS/ADO community. Basically, all I want to do is programmatically access raw data stored in PowerPivot models - my idea was to connect to the underlying PowerPivot (i.e. MS Analysis Services) engine via one of the

SSAS Cube processing logs

谁都会走 提交于 2019-12-08 10:17:37
问题 Where are SSAS cube processing (not error, not flight recorder) logs stored? We have a SQL Agent Job running a SQL Server Analysis Services command. In there is some DMX which processes each dimension then processes the cube database (containing two cubes) I want to know how long each of the various queries are taking. There is one query per dimension and one query per measure group The cube was taking 20 minutes now it's taking 2 hours. We are using SSAS 2008 R2 I have searched long and hard

How to automate MDX testing of SSAS

心已入冬 提交于 2019-12-08 08:52:29
问题 I've developed some MDX queries which are used to test our SSAS cube. I would like to automate these queries so that I could execute them all with a click of a button and ideally green bar/red bar based on their output. Is there a way I could hook these queries up with Visual Studio to get this behavior? 回答1: You can try any unit testing framework here. Although unit tests aren't intended for such use, they can be useful there - test runners have red/green indicator out of the box. Write test

SSAS - Facts that happened over a time range

送分小仙女□ 提交于 2019-12-08 08:14:29
问题 I don't really know how to handle facts that happened over a period of time. I sually deal with facts that happened on a specific date. In clear, my facts have a start_date and an end_date. So, let's say my start_date is 01/01/2008 and my end_date is 01/01/2011. I need to get the number of those facts that happened in 2009 and those that happened this year. The same fact can have happened on both years. The way to determine a fact is part of 2009 is to check for 12/31/2009. I was thinking

Deploying SSAS cube to environments

為{幸葍}努か 提交于 2019-12-08 08:10:20
问题 We are using BIDS 2008 locally (on our workstations) to develop our OLAP objects/cube. Come the time of promotion to Development we can deploy via BIDS. However when a hands-off deployment is required (eg. to UAT or Live) we are generating an XMLA file. This (the generated XMLA file) of course contains environment specific information (eg server name, database name, etc). If we would like to automate the generation of the XMLA file for deployment to each environment, is there a config type

SSAS - Facts that happened over a time range

流过昼夜 提交于 2019-12-08 06:22:26
I don't really know how to handle facts that happened over a period of time. I sually deal with facts that happened on a specific date. In clear, my facts have a start_date and an end_date. So, let's say my start_date is 01/01/2008 and my end_date is 01/01/2011. I need to get the number of those facts that happened in 2009 and those that happened this year. The same fact can have happened on both years. The way to determine a fact is part of 2009 is to check for 12/31/2009. I was thinking about a StartDate and EndDate dimensions, using date ranges (so from the first date of my StartDate

Calculating the number of days in a time dimension node - with Grand Total

℡╲_俬逩灬. 提交于 2019-12-08 04:58:38
问题 I need to know the number of days in a time dimension period for calculating weighted averages. I am using the following expression in a calculated measure to obtain the number of days in the current dimension member: Count( Descendants( [Date].[Calendar].CurrentMember, [Date].[Calendar].[Date Key] ) ) This works fine for all drill-down situations, but it does not work for the Grand Total when I have a filter. I suspect that CurrentMember does not work in this situation. It always returns the

How Can I pass EffectiveUserName to SSAS through Excel Service using FBA(Forms based authentication) in SharePoint 2013

别来无恙 提交于 2019-12-08 04:18:26
问题 We have an OLAP project which uses Sharepoint 2013 Excel Services to show excel files that contains external data from SQL Server Analysis Services (SSAS) cube. Our Authentication method to login users is FBA (Forms Based Authentication) Our Goal is to show only subset of data from SSAS cube for each user based on their role which has already been defined in SSAS side. FBA authenticates users against AD and all authorized user are already member of respective role in SSAS based on their

Is it possibile to remotely process an SSAS cube throgh script?

独自空忆成欢 提交于 2019-12-08 01:01:26
问题 I have an SQL Server Analysis Service ( SSAS ) cube (developed with BIDS 2012 ) and I would like to give the opportunity to the users (that use cube through PowerPivot ) to process the cube in their local machines. I found some material on how to make a scheduled job on the server through Powershell or SQL Agent or SSIS but no material on remotely process the cube. Any advice? 回答1: There are several possibilities to trigger a cube processing. The low level method is issuing an XMLA statement