?
Solved

Evaluating cube SQL that creates Measure

Posted on 2009-07-13
2
Medium Priority
?
372 Views
Last Modified: 2013-11-26
I am using Visual Studio 2008 Analysis Services and processing the AdventureWorks database to create and process a cube.  One of my measures is the Sales Amount field from the FactInternetSales table.  When I click and drag that field onto an otherwise blank crosstab, my value is less than 29358677.2206503, which I know it should be.  The study video I'm following shows that value, as do I when independently verifying the value by writing a view against the table.  

I suspect that when the measure is defined, something in the SQL statement puts a filter on the field, resulting in a value that is too small.  I do not know how to test this hypothesis.  Please help.

Thank you, ~Peter Ferber
0
Comment
Question by:PeterFrb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 15

Expert Comment

by:rob_farley
ID: 24867341
Actually, you may find that one of your dimensions has a default value.

Use Profiler to see the query that's being, and then start pulling that apart.

Rob
0
 

Accepted Solution

by:
PeterFrb earned 0 total points
ID: 24882221
I did not succeed in using Profiler to unravel this, but I did finally get this piece to work.  The problem, it turns out, was in the Attribute Relationships.  I've been viewing the most excellent video series on Analysis Services (http://www.learnmicrosoftbi.com/Videos/tabid/75/Default.aspx), for which one must register to see all the material, but it's free to join, and I skipped ahead to section 109, which demonstrates Attribute Relationships.  Once I had this correctly, the numbers were suddenly correct!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question