Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sum of column instead of row

Status
Not open for further replies.

Pavel1234

Programmer
Jan 26, 2010
3
CZ
Hi,
I have got problem described on following picture:

cube.JPG


In table A there is SUM of Inventory Value = 1083. I spent a lot of time to get this SUM into every row in table B but with no result :-( Anyone help me ??? Its urgent!!

Thx
 
You need to create a Calculated measure with the calculation as NULL.

Then using a Scope statement with the scope being the measure you can write the calculation to be the some of your inventory.

SUM([InventoryDim].[Inventory].[ALL], [Measures].[Inventory Value])


if done right the scope will force this value where ever it is placed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top