ssas

Using single slicer to control two pivot tables with different data source in Excel

大兔子大兔子 提交于 2019-12-01 12:45:35
问题 I have a problem with slicer in Excel file. In my Excel file I have two worksheets. In the first one, there is a pivot table taking data from OLAP cube and in the second I have a pivot table taking data from another Excel file. I'd like to have one slicer called "Organization" to filter data in both tables. Is it possible? Kind regards 回答1: No - it seems not. Slicers are meant to be used on pivot tables that share the same data source it seems. You should be able to conglomerate your data

Intersection in MDX

試著忘記壹切 提交于 2019-12-01 09:30:49
I recently ran into a problem in our SQL Server 2008 Analysis Services Cube. Imagine you have a simple sales data warehouse with orders and products. Each order can be associated with several products, and each product can be contained in several orders. So the data warehouse consists out of at least 3 tables: One for the Products, one for the Orders and one for the reference table, modelling the n:n relationship between both. The question I want our cube to answer is: How many orders are there which contain both product x and product y? In SQL, this is easy: select orderid from dbo

Power BI - Find the % matching (Bounty 100) What-if analysis before and after

China☆狼群 提交于 2019-12-01 08:24:28
I have a requirement where I have a table like this, Role Skills Developer C Developer SQL Developer C++ Data Analyst R Data Analyst Python Data Analyst SQL Business Analyst Excel Business Analyst SQL And I need to create something like this in Power BI, Explaining the first result for a Business Analyst in Power BI Visual Table, From Filter 1 - I have selected Data Analyst - whose actual skills are R, Python and SQL From Filter 2 - I have selected a new skill (Upskill) as Excel. So now, he has 4 skills. So For Business Analyst - Row 1 in Visual Table %Skills without upskilling - Only SQL from

Is it possible to modify the content of HttpRequest POST in an IIS HttpModule?

旧城冷巷雨未停 提交于 2019-11-30 19:42:30
I need to modify the content of certain HttpRequests (SSAS connection strings) in IIS. Basically, I need to add an element to the SOAP contained in the request. My approach so far has been to add a Filter to the HttpRequest, and perform the change in the filter's Read method. As far as I can tell, though, Read is never being executed. My understanding of the Request.Filter is that it gets read from when IIS processes the request, so IIS should see my modified Request. Is what I'm trying to do actually possible using an HttpModule and is my Filter approach correct? If so, what would cause Read

Top X of Top Y with RestOf member where X and Y are hierarchies from different dimensions

对着背影说爱祢 提交于 2019-11-30 09:58:25
问题 This works fine: WITH SET [AllCountries] AS [Country].[Country].MEMBERS SET [AllStates] AS [State-Province].[State-Province].MEMBERS SET [Top2States] AS Generate ( [AllCountries] ,TopCount ( (EXISTING [AllStates]) ,3 ,[Measures].[Internet Order Count] ) ) MEMBER [State-Province].[All].[RestOfCountry] AS Aggregate({(EXISTING {[AllStates]} - [Top2States])}) SELECT {[Measures].[Internet Order Count]} ON COLUMNS ,{ [AllCountries] * { [State-Province].[All] ,[Top2States] ,[State-Province].[All].

Purpose and effect of SSAS hierarchies?

雨燕双飞 提交于 2019-11-30 08:11:58
Firstly, I feel comfortable with what a hierarchy is in terms of the concept and how it impacts the design of a DW's star schema. I have some dimensions with lots of attributes, and I could create lots of hierarchies within SSAS. I would like a better understanding of how the OLAP engine uses the hierarchies that I create so that I can make a more informed decision on how I design my hierarchies(that's a tough word to type the first few times). There are also limitations with SSAS regarding attributes appearing in multiple hierachies so sometimes I have to do extra work to work around those

Is it possible to modify the content of HttpRequest POST in an IIS HttpModule?

混江龙づ霸主 提交于 2019-11-30 04:07:44
问题 I need to modify the content of certain HttpRequests (SSAS connection strings) in IIS. Basically, I need to add an element to the SOAP contained in the request. My approach so far has been to add a Filter to the HttpRequest, and perform the change in the filter's Read method. As far as I can tell, though, Read is never being executed. My understanding of the Request.Filter is that it gets read from when IIS processes the request, so IIS should see my modified Request. Is what I'm trying to do

How to learn MDX [closed]

China☆狼群 提交于 2019-11-29 20:49:24
I am currently learning OLAP & MDX after many years of relational database development. Any tips on getting started in MDX? What are the best books and resources to learn MDX? A classic, albeit a bit dated, book is Fast Track to MDX . It's a great overview and a quick read, though it doesn't cover the new MDX features of SQL Server 2005. The Spofford book MDX Solutions is more up date and a little deeper, but a bit harder to get through. I also highly recommend the blogs of Mosha Pasumansky , Chris Webb , and Darren Gosbell . Here is an MDX gentle introduction . I found the Spoffard book not

Top X of Top Y with RestOf member where X and Y are hierarchies from different dimensions

风格不统一 提交于 2019-11-29 17:56:47
This works fine: WITH SET [AllCountries] AS [Country].[Country].MEMBERS SET [AllStates] AS [State-Province].[State-Province].MEMBERS SET [Top2States] AS Generate ( [AllCountries] ,TopCount ( (EXISTING [AllStates]) ,3 ,[Measures].[Internet Order Count] ) ) MEMBER [State-Province].[All].[RestOfCountry] AS Aggregate({(EXISTING {[AllStates]} - [Top2States])}) SELECT {[Measures].[Internet Order Count]} ON COLUMNS ,{ [AllCountries] * { [State-Province].[All] ,[Top2States] ,[State-Province].[All].[RestOfCountry] } } ON ROWS FROM [Adventure Works]; The EXISTING keyword helps a lot . If the two

Changing sql-server DB from tabular to multidimensional

為{幸葍}努か 提交于 2019-11-29 14:35:36
I have following problem: When I try to deploy my SSAS project (with cube, dimensions and all that jazz) to sql-server, it throws error saying that You cannot deploy the model because the DB deployment server is not running in multidimensional mode. I'm new to this, so it might be a dumb question, but how do I change database mode from tabular to multidimensional? Tabular and Multi Dimensional are completely different thing. When you install SQL Server, you have to choose which one you are going to install. So, if you create a Tabular model, you only can deploy it to Tabular installation of