View VMF_AnswerToAdministration

Card of view VMF_AnswerToAdministration

Name

VMF_AnswerToAdministration

Comment

This linking fact-table/view ties questions/answers to surveys, such that a single question/answer pair may be linked to an entire survey via an SSAS many-to-many relationship.

Why is this useful? Well, say a survey has demographic questions in addition to the normal questions one would associate with a survey. The demographic questions, or rather the question-answer pairs, actually apply to the subject responding to the survey. If, for example, a respondent says he is 'male' when asked his gender. The gender is really a property of the subject. And we may want to know how male subjects, as a group, responded to other questions. In this case, we want to set up a many-to-one relationship between each question answered by the respondent and the response to the gender question. And of course, since many subjects will have answered the gender question, the relationship in the opposite direction is one to many as well, meaning that the relationship in general is many-to-many. Hence this table.

This table should not normally be queried by users. It is solely used to set up the many-to-many relationship in analysis services. SQL experts might make use of it, though, in the relational database.

Dimensional Type

Fact


SQL query of the view VMF_AnswerToAdministration

select distinct
MD_SurvQA_SurrogateKey AS MD_FilterQA_SurrogateKey,
MD_SurvAdm_SurrogateKey,
1 AS VMF_AnsToAdm_Count
from
MF_SurveyCellData


List of outgoing view references of the view VMF_AnswerToAdministration

Name

Parent Table/View

ViewReference_90

VMD_FilterQuestionsAndAnswers

ViewReference_91

VMD_SurveyAdministration


List of diagrams containing the view VMF_AnswerToAdministration

Name

ViewsSurveyDiagram


List of permissions of the view VMF_AnswerToAdministration

Grant

User

SELECT,VIEW DEFINITION

SurveyReader


List of view columns of the view VMF_AnswerToAdministration

Name

Data Type

Comment

Length

MD_FilterQA_SurrogateKey

 

 

 

MD_SurvAdm_SurrogateKey

 

 

 

VMF_ANSTOADM_COUNT