Sample Header Ad - 728x90

Compare Validate TSQL Data Warehouse to SSAS

0 votes
1 answer
110 views
How do I compare Data in T-SQL DataWarehouse to SSAS Cube? I would like to conduct this from SSMS (SQL Server Studio Management Studio). Example Select CustomerName from dbo.DimCustomer where CustomerId = 5 SHOULD EQUAL SELECT [Customer].[CustomerName].Members ON ROWS FROM [DimCustomer] where [Customer].[CustomerId]. https://xzwang.wordpress.com/2013/06/17/validatingcubesvsrelational/ Following blog recommends OPENROWSET. Is there any other method to validate data in same environment rather than OPENROWSET in SSMS? Otherwise, team will utilize this or may research Powershell or C#. select cast("[Customer].[Customer].[Customer].[Email Address]" as nvarchar(50)) EmailAddress, "[Measures].[Internet Sales Amount]" SalesAmount from openrowset('MSOLAP', 'datasource=localhost;Initial Catalog=AdventureWorksDW2012Multidimensional-EE;', ' SELECT NON EMPTY { [Measures].[Internet Sales Amount] } ON COLUMNS, NON EMPTY { ([Customer].[Customer].[Customer].ALLMEMBERS ) } DIMENSION PROPERTIES [Customer].[Customer].[Email Address] ON ROWS FROM [Adventure Works] ')
Asked by user172734
Mar 9, 2019, 07:58 PM
Last activity: Apr 7, 2019, 01:12 PM