Viewing 15 posts - 31 through 45 (of 53 total)
Martin,
Thanks for the link. It is good start.
As my tests showed, which hierarchy to use for a query-scoped calculated member is subjective. The query works regardless which hierarchy I pick....
March 24, 2015 at 2:25 pm
I also tried creating a calculated member combining a member's status in two continuous months. So far I could not figure it out. This may not be feasible because the...
March 24, 2015 at 10:27 am
It is a repost of my code with formatting.
With MEMBER MEASURES.TEST AS
COUNT
(
NONEMPTY
(
NONEMPTY
(
[Member].[Member ID].[Member ID].MEMBERS,
(
[Status].[Status].&[Active], [Measures].[Member Count]
)
),
(
[Measures].[Member Count],
[Status].[Status].&[InActive],
[Month].[Year Month Hierarchy].CurrentMember.PrevMember
)
)
)
select
{
[Measures].Test
}
on columns,
{[Month].[Year Month Hierarchy].&[2015].&[2015Q1].&[201503]}
on rows
FROM [SnapshotCube]
March 23, 2015 at 8:38 pm
Martin,
Your filter returns the union of March active members and February Inactive members, not the "intersection".
I use the following code to get the result. I feel it rather complicated but...
March 23, 2015 at 8:36 pm
Martin,
Thanks for the quick reply
In the Advanced Tab, I still have to go through each attribute, right?
Also, I am trying to figure out how this "Advanced" Tab works. So far...
March 17, 2015 at 10:04 am
I think SSMS (the management studio) is just like any other software and needs update/fix/patch. Am I missing something?
To clarify, among the long list of SQL 2014 CU1, only...
March 10, 2015 at 5:04 pm
So I will install the SQL 2014 CU1.
Thanks.
March 10, 2015 at 10:22 am
I've been using the script from this blog http://sqlknowledge.com/tag/ddl_database_level_events/ and have not got any issues.
Another good resource is:
http://www.mssqltips.com/sqlservertip/2085/sql-server-ddl-triggers-to-track-all-database-changes/
Please note:
1. The DDL trigger is "After Event" trigger.
2. To catch all object...
March 9, 2015 at 8:53 am
My recommendation is to use SQL Server Data Tool. Its compile feature will detect any problems caused by changing one db object.
December 1, 2014 at 7:56 pm
Thanks for all the help.
It works.
TextID NOT LIKE '%[^0-9]%'
October 27, 2014 at 11:52 am
Old Hand,
The link is exactly what I was looking for. Thank you.
May 12, 2014 at 8:51 am
I would use a persistent temp table rather than a table variable for your purpose.
Basically you need to clear the temp table, insert records, and then use Sean's function...
May 11, 2014 at 11:48 am
I am not what you meant by "ssis version".
Right now the only automatic way I can think about is to create s script task that output the full path of...
April 7, 2014 at 10:43 pm
I use "Union All" in the code.
I looked deeper and saw there actually was a resource wait - PageIOLatch_sh. As far as I know, it is caused by large table...
April 5, 2014 at 12:27 pm
Thanks for all the replies.
My test showed that, creating a view or sp in the user db does not work for me. With this approach, I have to assign the...
April 4, 2014 at 8:42 am
Viewing 15 posts - 31 through 45 (of 53 total)