Thanks.
Main Topics
Browse All TopicsHello Experts,
I am a noob to SSAS. I have inherited a cube that was created by one of our other developers. Unfortunately, he was let go in a recent round of layoffs. What is happening is that one of our users wants to filter for a particular order number and then filter on a column called 'Usage' which contains only 3 values - Money, Bonus and Filler. Bonus and Filler are always zero dollar spots (we sell commercial air time on cable TV channels), so the Average Unit Rate and Net Revenue should be zero.
I have attached a couple of screen shots to show the results from the cube and also a query that I put together that uses the same views that are used in the data source view and joined in the same way as is defined in the cube. In the query you can see that there are many Bonus spots for line 010 and also that line 098 has a Usage type of Money. However, the cube displays only one spot from line 010 and for some reason also displays line 098.
Based on the fact that the query seems to show the correct data, I think the problem must have something to do with how the cube is setup. But as I said, I am a noob to SSAS so I have no idea where to start looking.
Any help is appreciated!
Thanks.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: agandauPosted on 2009-04-22 at 11:41:56ID: 24208102
If the user is only interested in usage of "Money" you can modify the DSV so that the only "money" records come in.
or if that would be an excessively long running query then somethine like
I would think having all the records would be better for analysis, in which case you need a usage dimension.
Add a named query to the DSV called perhaps "Usage". It can just be "SELECT DISTINCT Usage FROM BoardReports_Performance",
SELECT "Money" as Usage, 1 as UsageSortKey
UNION
SELECT "Bonus" as Usage, 2 as UsageSortKey
UNION
SELECT "Filler" as Usage, 3 as UsageSortKey
Draw a relationship between this table and the fact table on the Usage column so that the arrow is pointing to the Usage Colulmn in your new Usage table.
In BIDS, create a new dimension based on this table (if this is sounding confusing, there are walkthroughs on MSDN). Bring both columns in as dimension attributes making sure that "Usage" is the key. Set the UsageSortKey to visible = false. For the attribute "Usage", the "Usage" column will be both the Member Name and Member Key, and you can set the sorting for the "Usage" attribute to sort by Attribute Key and then point use the UsageSortKey.
Add this dimension to the cube, and double check that the "Dimension Usage" (too many usages!) shows the relationship between your fact Measure group (fact table) and the new dimension is set to a regular relationship on the column "Usage".
Reprocess your cube. Then in Excel, you can use the usage tab either in your rows or columns or as a filter.