简体   繁体   中英

Division in MDX measure

I need to divide a measure for a conversion in an SSAS cube. I have no problem multiplying measures, but the multiplied conversions do not have filters.

CREATE MEMBER CURRENTCUBE.[Measures].[AEA - NGL BBLs]
AS ([Measures].[Quantity], [Account].[Account].[606000]/42)
+ ([Measures].[Quantity], [Account].[Account].[606010]/42),

Silly me. It's:

CREATE MEMBER CURRENTCUBE.[Measures].[AEA - NGL BBLs]
AS ([Measures].[Quantity], [Account].[Account].[606000])/42
+ ([Measures].[Quantity], [Account].[Account].[606010])/42,

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM