ssas

Top N Customer Names as a slicer in power BI

柔情痞子 提交于 2019-12-10 22:46:52
问题 i am new to power BI, i have a requirement to create a report which will show the data for top N customer based on sales amount. once i have identify the top N customer i need other charts / table / graphs to show the data of these N customer. so eventually i need a slicer that will show me the top N customer based on sales. i have gone through various post, there they dynamic way of finding the top N (disconnected table) and then customer name as a measure is possible. when i combine this

Data Warehouse - Slowly Changing Dimensions with Many to Many Relationships

[亡魂溺海] 提交于 2019-12-10 22:32:34
问题 As an example, let's say I have a fact table with two dimensions and one measure FactMoney table ProjectKey int PersonKey int CashAmount money The two dimensions are defined like this: DimProject (a type 0 dimension - i.e. static) ProjectKey int ProjectName varchar(50) DimPerson (a type 2 slowly changing dimension) PersonKey int PersonNaturalKey int PersonName varchar(50) EffectiveStartDate datetime EffectiveEndDate datetime IsCurrent bit Pretty straightforward so far. Now I'll introduce a

SSAS - Show Measures on Rows

独自空忆成欢 提交于 2019-12-10 21:35:37
问题 I am very new to MDX and SSAS in general. I am trying get all measures and dates in a nice tabular form. So something like: ╔═════════╦══════╦═══════╗ ║ Measure ║ Date ║ Value ║ ╠═════════╬══════╬═══════╣ ║ Meas1 ║ D1 ║ 3 ║ ║ Meas1 ║ D2 ║ 8 ║ ║ Meas1 ║ D3 ║ 9 ║ ║ Meas2 ║ D1 ║ 7 ║ ║ Meas2 ║ D2 ║ 4 ║ ╚══...════╩═══..═╩═══...═╝ I thought of doing a cross join on the rows axis, but not sure what to put on the columns axis. Any suggestions? 回答1: You can put the default member of any hierarchy that

MDX Get MAX MEMBER_KEY from Dimension

放肆的年华 提交于 2019-12-10 18:49:23
问题 I have a very simple SSAS dimension which looks like this: Dimension Name: DimKeyword 1 Attribute: Keyword with KeywordID as the KeyColumn and Keyword (name) as the NameColumn Using MDX, I want to get one row with the Max MEMBER_KEY for the DimKeyword dimension (without listing all the Keywords), so far I have: WITH MEMBER KeywordID as [Dim Keyword].[Keyword].currentmember.MEMBER_KEY SELECT {KeywordID} on COLUMNS FROM [Some Cube] Although this seems to only return 0 (which I assume is for the

SSAS - relationship/granularity

╄→гoц情女王★ 提交于 2019-12-10 17:27:42
问题 I have 2 fact tables with a measure group each, Production and Production Orders. Production has production information at a lower granularity (at the component level) productionorders has information at a higher level (order level with header quantities etc.). I have created a surrogate key link between the two tables on productionorderid. As soon as I add Prod ID (from productiondetailsdim) to the pivot table it blats out the actual qty (from prod order measure group) and I cannot combine

SSAS cube processing error about column binding

白昼怎懂夜的黑 提交于 2019-12-10 13:36:44
问题 This is an error message I get after processing an SSIS Cube Errors in the back-end database access module. The size specified for a binding was too small, resulting in one or more column values being truncated. However, it gives me no indication of what column binding is too small. How do I debug this? 回答1: Open your SSAS database using SQL Server Data Tools. Open the Data Source View of the SSAS database. Right click an empty space and click Refresh A window will open and show all changes

IN SSAS how to remove null value in distinct count measures

天大地大妈咪最大 提交于 2019-12-10 12:14:27
问题 I have column in fact table .the column in some row has 'Null' value.i have measure based on this column with aggregate function Set to DistinctCount this measure count null value too. but i don't want to count null value what should i do? 回答1: Most efficient would be to filter out NULL values in the data source view (using a named query for example). This won't affect performance too much as a distinct count measure is calculated in a separate measure group anyway. 回答2: One popular solution

What does the SSAS setting None in AggregateFunction do?

杀马特。学长 韩版系。学妹 提交于 2019-12-10 11:26:32
问题 As I understand Microsoft's explanation setting the AggregateFunction of a measure to "None" should null out the value unless you are viewing the data at the lowest possible level. (i.e. the data element is a copy of the value in one exact cell in the cube). I've created a fact table at the grain product id and sales date, and have set AggregateFunction property of a few measures (they are percentages of some sort) to "None", and I nulls at every level in the cube, even the product/sales date

Why do we need SSIS and star schema of Data Warehouse?

拥有回忆 提交于 2019-12-10 11:15:42
问题 If SSAS in MOLAP mode stores data, what is the application of SSIS and why do we need a Data Warehouse and the ETL process of SSIS? I have a SQL Server OLTP database. I am using SSIS to transfer my SQL Server data from OLTP database to a Data Warehouse database that contains fact and dimension tables. After that I want to create cubes using SSAS form Data Warehouse data. I know that MOLAP stores data. Do I need any Data warehouse with Fact and Dimension tables? Is not it better to avoid

Analysis Services Only Windows Authentication

自古美人都是妖i 提交于 2019-12-10 02:13:39
问题 Is it true that Analysis Services ONLY supports windows authentication? 回答1: Yes, it does. Quote from MSDN "SQL Server Analysis Services supports only Windows Authentication" You'll need active directory, Refer to the following kb on how to set it up http://support.microsoft.com/kb/917409 回答2: Actually needing "Active Directory" isn't really true. You can trick OS's by logging into your PC in any domain with the same User and Password as the account on the other server that's running SSAS. I