sql server - SSAS Calculated measure to show values only for specific dimension values -
i have calculated measure in ssas cube, want calculate group of dimension members , rest should zero. in following image want mtdoccupancy dimension work account groups rooms, rest related food should show 0 field.
following simple mdx using mtdoccupancy measure
([mtdquantity]/[mtdavailablerooms])*100
you can change measure following:
iif( left([account group].[account group].currentmember.member_caption,5) = "rooms" ,([mtdquantity]/[mtdavailablerooms])*100 ,null )
i have guessed dimension/hierarchy combination [account group].[account group]. ...
- need change reflect names used in cube.
Comments
Post a Comment