Siva, if this result came in from a cube that had the scope above deployed, it is totally strange. Given the sensitivity of your cube, I suggest you study the approach with the 'AdventureWorksDW2012Multidimensional-EE' one. I chose the [Gross Profit] calculated
measure and two hierarchies, [Product].[Product Categories] and [Product].[Product Model Lines].
A straightforward pivot of gross profit by categories looks like this:

Next the scoped assignment gets added to the very end of the script as follows (the purple line denotes where the original MS script ended)

With this assignment saved and deployed, the original pivot changes to

If we slice by another hierarchy, the value depends on whether a single category applies to the cell


I'm still at a loss what's going wrong in your cube, but am hopeful that you can first replicate the solution for AdverntureWorks and next transfer it to your cube.
-
Proposed as answer by
Ed Price - MSFTMicrosoft employee, Owner
Saturday, August 15, 2015 12:50 AM