![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
| iif(([Measures].[Float Satisfaction Measure YN])>=1, |
#3
| |||
| |||
|
|
Hi Scott, The most efficient solution in your scenario might be to create a separate cube for each measure which has NULL values in the fact table, and then filter out the NULL fact records for each cube, either by defining a Source Table Filter or using SQL views. But if I understood your current question, separate sums across the numerator and denominator might work: iif(([Measures].[Float Satisfaction Measure YN])>=1, Sum(LastPeriods(3, [Time].CurrentMember), [Measures].[Float Satisfaction]) / Sum(LastPeriods(3, [Time].CurrentMember), [Measures].[Float Satisfaction Measure YN]), NULL) - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** |
![]() |
| Thread Tools | |
| Display Modes | |
| |