Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

Combine two measures with two common dimension plus time

$
0
0
Hi folks,It was difficult to select the appropriate title for my question.[b]Background:[/b] The business analyst specify the following report (this is the simplified version):[img]http://i623.photobucket.com/albums/tt313/pauldj54/reportspecs.jpg[/img]Also to simplify sopose that I have two "Fact Tables"- Purchase Orders:[img]http://i623.photobucket.com/albums/tt313/pauldj54/po.jpg[/img][b]- Inventory:[/b][img]http://i623.photobucket.com/albums/tt313/pauldj54/inv.jpg[/img][b]The challenge:[/b] I'm trying to build a cube in order to create a powerpivot report that looks like in the specs.[b]The drawback:[/b] the purchase orders table and the inventory table have both the Article and Country dimension. The problem arises when I want to include the time dimension in the pivot, because the inventory is not related to the time dimension.[b]Alternative 1: [/b]we added a dummy time id to the inventory table and then we could hide columns in the report with NULL values[b]Alternative 2:[/b] include the quantity or sold articles in the purchase order pro month as a calculated memberI'm not satisfy with this solutions and I think I'm missing something here from the theory.Any comment or suggestion about how to tackle this issue will be appreciated.Kind Regards,

Viewing all articles
Browse latest Browse all 1341

Trending Articles