olap

Can OLAP be done in BigTable?

喜欢而已 提交于 2019-12-20 08:24:08
问题 In the past I used to build WebAnalytics using OLAP cubes running on MySQL. Now an OLAP cube the way I used it is simply a large table (ok, it was stored a bit smarter than that) where each row is basically a measurement or and aggregated set of measurements. Each measurement has a bunch of dimensions (i.e. which pagename, useragent, ip, etc.) and a bunch of values (i.e. how many pageviews, how many visitors, etc.). The queries that you run on a table like this are usually of the form (meta

Intersection in MDX

怎甘沉沦 提交于 2019-12-19 10:32:57
问题 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

MS Analysis Services OLAP API for Python [closed]

佐手、 提交于 2019-12-18 12:37:14
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 7 months ago . I am looking for a way to connect to a MS Analysis Services OLAP cube, run MDX queries, and pull the results into Python. In other words, exactly what Excel does. Is there a solution in Python that would let me do that? Someone with a similar question going pointed to Django's

How to learn MDX [closed]

半腔热情 提交于 2019-12-18 10:22:40
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I am currently learning OLAP & MDX after many years of relational database development. Any tips on getting started in MDX? What are

Any Python OLAP/MDX ORM engines?

不想你离开。 提交于 2019-12-17 22:37:23
问题 I'm new to the MDX/OLAP and I'm wondering if there is any ORM similar like Django ORM for Python that would support OLAP. I'm a Python/Django developer and if there would be something that would have some level of integration with Django I would be much interested in learning more about it. 回答1: Django has some OLAP features that are nearing release. Read http://www.eflorenzano.com/blog/post/secrets-django-orm/ http://doughellmann.com/2007/12/30/using-raw-sql-in-django.html, also If you have

Sort by key in Excel connected to SSAS OLAP cube

一曲冷凌霜 提交于 2019-12-13 13:11:06
问题 I searched the Internet and StackOverflow and was not able to find an answer to this issue. I created an OLAP cube via SSAS with a date dimension. One of the attributes of the dimension is Activity Calendar Month . The NameColumn value is formatted like "January 2015", "February 2015", etc. The KeyColumns is set as a DATE value type for the first of the month, for each month. Example, NameColumn value "January 2015" = KeyColumns value "1/1/2015", "February 2015" = "2/1/2015", etc. The

Calculated measure/dimension

自作多情 提交于 2019-12-13 12:32:29
问题 I'm relatively new to MDX and am trying to accomplish what I think should be an easy thing, but I haven't found any solution. I have a sales cube and one of the measure is profit which can be negative or positive. I want to get one measure which is effectively the sum of positive profit, i.e. only include in the new measure those profit numbers that have a positive profit. The trick here is this is on the row detail level and something like WITH MEMBER Measures.PositivePNL as IIF (Measures

How do I calculate the sum total of a group in MDX?

吃可爱长大的小学妹 提交于 2019-12-13 07:55:12
问题 I need to create a Calculation in the SQL Server Data Tools. Imagine that in my OLAP structure I have a City and a Seller Dimensions, and a fact. And in the City Dimension I have a city, a state, and a Population, and this is a Measure in a Dimension. I need to sum the Population in the cities which have sales. But I can't sum only the cities with sales, I can only show the state's total population. One seller can sell in many cities. Example: I'll filter by seller John and the query returns

No such tuple on axis 0 error on iReport

余生长醉 提交于 2019-12-13 05:02:54
问题 How can I get measures value on iReport? select [Reg].[region].Children * { [measures].[mtot], [measures].[wtot] } on columns, [Title].[titlekhas].Children on rows from report1 There is my MDX query. I have try add fields on iReport. When I add the rows and cloumns with this expression it works <field name="Region" class="java.lang.String"> <fieldDescription><![CDATA[Columns[Reg][ListRegion]]]></fieldDescription> </field> <field name="Title" class="java.lang.String"> <fieldDescription><!

Calculation in SSAS Cube not working for zero data values

你说的曾经没有我的故事 提交于 2019-12-13 05:00:01
问题 I am working with a SSAS 2008 R2 cube and interrogating the data through Excel 2010. In the cube I have a calculation to conditionally format the data. The logic is if a measure contains a specific value for the fact being viewed, then the fact should be colored red, as follows: CALCULATE; SCOPE ( [Measures].[Data value] ); If([Fact Base].[Confidentiality Status].[Confidential]) Then Fore_Color(This) = 255 End If; END SCOPE; When I have a [Data value] of 0 (zero) the fore_color doesn't render