﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / Business Intelligence  / Great challenge: mdx or business intelligence in SSAS? / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 19:34:31 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Great challenge: mdx or business intelligence in SSAS?</title><link>http://www.sqlservercentral.com/Forums/Topic865290-147-1.aspx</link><description>The Dealers have sales, both inside their region and outside their region. I'd represent this with different measures, and you can add them up for total sales for the dealer.And you may want to have 2 heirarchies - 1 strictly by region, another strictly by dealers.This would be a bit clearer to the users when navigating the cube.I'd assume that the dealers assigned to just country get put in an unknown bucket of some kind at the lower levels.Greg E</description><pubDate>Mon, 15 Feb 2010 07:17:25 GMT</pubDate><dc:creator>Greg Edwards-268690</dc:creator></item><item><title>Great challenge: mdx or business intelligence in SSAS?</title><link>http://www.sqlservercentral.com/Forums/Topic865290-147-1.aspx</link><description>Dear specialists, I have a real challenge which I cannot solve. Hopefully you guys can help me...The problem concerns car dealers and sales inside and outside their regions. It's not possible for me to get the correct sales when I drill up in my dealer dimension. This is because the region 'increases' when I drill up and more sales become inside this region. It's not a simple sum aggregatefunction. I will explain this using an example.I have a dimension car dealers. This is a parent-child dimension with a maximum of four levels.Country -&amp;gt; Holding -&amp;gt; Group -&amp;gt; Dealers. But not all the dealers have a group as parent. Some of them are directly underneath a country.All dealers have a unique region (a couple of zipcodes) and all of them do sales inside and outside their region. I created a measure with the number of sales a dealer does inside its region. This works perfect for that level (the lowest), but doesn't work for higher levels. The case is, if I drill up, the number of sales in a region is not a simple sum of all dealers underneath because the region of a group are all regions from its childs. This means that the number of sales in a region also increases.For example:Group ZZ has two dealers A and BSales Dealer A (region A)Sales from:region A -&amp;gt; region Aregion A -&amp;gt; region Bregion A -&amp;gt; region CNumber of sales inside region: 1Sales Dealer B (region B)region B-&amp;gt; region Bregion B-&amp;gt; region Aregion B-&amp;gt; region CNumber of sales inside region: 1For group ZZ the number of sales in its region is: 4(Because A and B is 1 region for group ZZ, sales from A-&amp;gt; B are also counted as sales inside the region. )My facttables contains all sales on the lowest level (dealer).I do not have a clue how to solve this. Maybe in MDX or with adding some business intelligence to the dimension dealer? I work with sql 2005/2008.Thanks for taking the time to read this and hopefully somebody can give me hint where to look,Regards Frank </description><pubDate>Sun, 14 Feb 2010 10:09:13 GMT</pubDate><dc:creator>huning</dc:creator></item></channel></rss>