Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2006-09-20 : 07:17:32
|
David Smith writes "We have a cube with the following dimensions and measures:Dimension called: Card NumberDimension called: Transaction Type With Levels: Load, Redeem, UnknownMeasure Called: Transaction CountIs there a way to write a calculated measure to return the following?The Distinct count of cards that have between 2 and 4 "load" transactions and at least 1 "redeem" transactionNote: We are using Analysis Services 2000, but are planning to move AS2005 soonThanks" |
|
spdhiva
Starting Member
13 Posts |
Posted - 2006-10-13 : 16:33:28
|
Use View to Caculate the Count(1) as intNoOfCardCount of the cards by all othet Dim values.Create a Another Dimension based on your count values from the fact table.1,234Create a Measure with Distinct functions and Process it. |
|
|
|
|
|