Hello,
I have a table with multiples questions/answers per person. Sometimes one question cas have multiple answers like bellow
I have a semantic model and in the logical layer a create a calculated column for each posible anwser for the Question 1 (3 possible answers in this exemple)
So I created 3 calculated columns(indicators) for replacing the dimension 'Question 1'
Question_A1 to count the first answer as: FILTER(CountAnswers USING Question1 like '%Answer A%')
Question_A2 to count the second answer as: FILTER(CountAnswers USING Question1 like '%Answer B%')
Question_A3 to count the third answer as: FILTER(CountAnswers USING Question1 like '%Answer C%')
CountAnswers is also a column for counting the number of rows.
Now In OAC in the workbook I have these values for each indicator:
Question_A1 : 2
Question_A2: 2
Question_A3: 1
I want to make a Horizontal bar Graph to display the values for each reponse. For better readability I want to display 'Answer A', 'Answer B', 'Answer C' not Question_A1, Question_A2, Question_A3 for the graph legend/axes
In put a description in the logical layer column or even an alternative name but I didn't know how to display these fields in the OAC workbook
Question_A1 has the description 'Answer A' and the alternative name 'Answer A' also.
Question_A2 has the description 'Answer B' and the alternative name 'Answer B'…the same for Question_A3
How can I diplay these alternative names ( the anwser value instead of the calculated column name) ?
Any other solution is welcome of course, but I don't want to create a second table or something like that.
I have 35 questions and maybe 8-9 questions have multiple answers (in general more that 10 possible answers for the question)
Thanks!
Daniel