I am trying to create a calculated measure to calculate average with something like a where clause in VS2012 BI.
CREATE MEMEBR CURRENTCUBE.[Measures].[Sem Average]
AS [Measures].[SG_Sem] / [Measures].[Counted_Rows] <-This is already working
WHERE [Measures][Kenn] = 'BE' <-something like this is missing
THX
CREATE MEMBER CURRENTCUBE.[Measures].[Sem Average]
AS
(
([Measures].[SG_Sem] / [Measures].[Counted_Rows]) , [Measures][Kenn].&[BE] )
)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.