multidimensional array - SSAS - "Count" measure with multiple members -


i new ssas , i'm having trouble "count of rows" measure.

i'm doing named queries mysql database , have created 2 logical tables in dsv. first table called "person" , has primary key of "person guid". second called "role" , has primary key of "role guid" , foreign key of "person guid". acting dimension table , has attribute of "role name".

what want able select role dimension table , have show me number of people in role, using "count of records" measure person table. problem is, people can hold multiple roles, , way structured in "role" table there separate row each role person might have...in other words, "person guid", how mapped measure group, duplicated many times.

this not working in ssas - doesn't seem giving me accurate count. appears considering role of first instance of particular person guid.

i know must looking @ wrong way...any offer appreciated. understand count of rows on "roles" table , done because have other dimensions want correlate mapped "person" table, isn't acceptable solution me. (these other dimensions have "person guid" primary key , don't have same problem)

sounds need model many many dimension relationship between person fact table , role dimension.

your current role dimension sounds needs split out new bridge table mapping persons roles. other table simplified role table joining mapping table.


Comments

Popular posts from this blog

php - render data via PDO::FETCH_FUNC vs loop -

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

The canvas has been tainted by cross-origin data in chrome only -