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

Logical OR filter in Tabular model

$
0
0
Hello. I have a problem designing tables and relationships in our business. I have a main fact table that contains calculations by employees. Each employee has, however, a primary and secondary area of operation, which may be the same or different. At the end, I want to choose one area and elicit fact information (Sales Amount) whether the employee has selected primary or secondary area of operation. I try to do this in MS SSAS 2012 Tabular model and so far I have 2 scenarios:1) D_Regions -< Bridge >- D_Employee -< FACTIn Bridge table there will be 2 rows for each Employees. First with Primary Area, Second with Secondary area. Calculations doesn't work.2) D_Primary_Region -< FACT >- D_Secondary_Region ` ` |_______ D_Regions ________|Here somehow we have to implement Logical OR.I would greatly appreciate all ideas and help!

Viewing all articles
Browse latest Browse all 1341

Trending Articles