Forum Discussion

ashleymf1983's avatar
ashleymf1983
New Member
6 days ago

Need matrix (& graph) of % by total w/ qualitative data

Hello All,

Here are 3 matrices that I am trying to achieve with DAX. I do not want to rely on choosing "show value as percent of column total" on the Visualizations pane, as I need DAX instead:

Matrix 1:

Matrix 2:

 

Matrix 3: I also would like a 3rd showing gender AND ethnicity but it was getting too complicated to develop an example.

Here is a chunk of my data. Please note this is only a small portion of the entire dataset, though the numbers in the example tables above do only reflect this chunk of data. I have many slicers on my dashboard. Thanks in advance!!

IDCriteriaRatingGenderEthnicity
1Anticipated implications of your research studyWell DevelopedFemaleBlack or African American
1Literature review summaryNeeds clarificationFemaleBlack or African American
1Organization of your paper and quality of writingNeeds clarificationFemaleBlack or African American
1Purpose and focus of your studyWell DevelopedFemaleBlack or African American
1Rationale for method/design selectionWell DevelopedFemaleBlack or African American
2Anticipated implications of your research studyWell DevelopedMaleWhite
2Literature review summaryWell DevelopedMaleWhite
2Organization of your paper and quality of writingNeeds clarificationMaleWhite
2Purpose and focus of your studyNeeds clarificationMaleWhite
2Rationale for method/design selectionWell DevelopedMaleWhite
3Anticipated implications of your research studyWell DevelopedFemaleWhite
3Literature review summaryNeeds clarificationFemaleWhite
3Organization of your paper and quality of writingAcceptableFemaleWhite
3Organization of your paper and quality of writingAcceptableFemaleWhite
3Rationale for method/design selectionWell DevelopedFemaleWhite
4Anticipated implications of your research studyWell DevelopedMaleWhite
4Organization of your paper and quality of writingNeeds clarificationMaleWhite
4Rationale for method/design selectionWell DevelopedMaleWhite
5Anticipated implications of your research studyWell DevelopedFemaleBlack or African American
5Literature review summaryNeeds clarificationFemaleBlack or African American
5Literature review summaryNeeds clarificationFemaleBlack or African American
5Organization of your paper and quality of writingNeeds clarificationFemaleBlack or African American
5Purpose and focus of your studyNeeds clarificationFemaleBlack or African American
5Rationale for method/design selectionWell DevelopedFemaleBlack or African American
6Anticipated implications of your research studyWell DevelopedMaleUnknown
6Literature review summaryNeeds clarificationMaleUnknown
6Organization of your paper and quality of writingNeeds clarificationMaleUnknown
6Purpose and focus of your studyNeeds clarificationMaleUnknown
6Purpose and focus of your studyNeeds clarificationMaleUnknown
6Rationale for method/design selectionWell DevelopedMaleUnknown
7Anticipated implications of your research studyWell DevelopedFemaleWhite
7Literature review summaryNeeds clarificationFemaleWhite
7Organization of your paper and quality of writingAcceptableFemaleWhite
7Organization of your paper and quality of writingAcceptableFemaleWhite
7Purpose and focus of your studyNeeds clarificationFemaleWhite
7Purpose and focus of your studyNeeds clarificationFemaleWhite
7Rationale for method/design selectionWell DevelopedFemaleWhite
8Anticipated implications of your research studyWell DevelopedFemaleWhite
8Literature review summaryNeeds clarificationFemaleWhite
8Literature review summaryNeeds clarificationFemaleWhite
8Organization of your paper and quality of writingNeeds clarificationFemaleWhite
8Purpose and focus of your studyNeeds clarificationFemaleWhite
8Purpose and focus of your studyNeeds clarificationFemaleWhite
8Rationale for method/design selectionWell DevelopedFemaleWhite
9Anticipated implications of your research studyWell DevelopedFemaleBlack or African American
9Literature review summaryNeeds clarificationFemaleBlack or African American
9Literature review summaryNeeds clarificationFemaleBlack or African American
9Organization of your paper and quality of writingAcceptableFemaleBlack or African American
9Organization of your paper and quality of writingAcceptableFemaleBlack or African American
9Purpose and focus of your studyNeeds clarificationFemaleBlack or African American
9Purpose and focus of your studyNeeds clarificationFemaleBlack or African American
9Rationale for method/design selectionWell DevelopedFemaleBlack or African American
10Anticipated implications of your research studyWell DevelopedFemaleAsian
10Literature review summaryNeeds clarificationFemaleAsian
10Organization of your paper and quality of writingAcceptableFemaleAsian
10Organization of your paper and quality of writingAcceptableFemaleAsian
10Purpose and focus of your studyWell DevelopedFemaleAsian
10Rationale for method/design selectionWell DevelopedFemaleAsian
11Anticipated implications of your research studyWell DevelopedFemaleWhite
11Literature review summaryNeeds clarificationFemaleWhite
11Literature review summaryNeeds clarificationFemaleWhite
11Organization of your paper and quality of writingAcceptableFemaleWhite
11Organization of your paper and quality of writingAcceptableFemaleWhite
11Purpose and focus of your studyNeeds clarificationFemaleWhite
11Rationale for method/design selectionWell DevelopedFemaleWhite
12Anticipated implications of your research studyNeeds clarificationFemaleBlack or African American
12Literature review summaryNeeds clarificationFemaleBlack or African American
12Organization of your paper and quality of writingNeeds clarificationFemaleBlack or African American
12Purpose and focus of your studyNeeds clarificationFemaleBlack or African American
12Rationale for method/design selectionWell DevelopedFemaleBlack or African American
13Anticipated implications of your research studyWell DevelopedMaleWhite
13Literature review summaryNeeds clarificationMaleWhite
13Literature review summaryNeeds clarificationMaleWhite
13Organization of your paper and quality of writingAcceptableMaleWhite
13Organization of your paper and quality of writingAcceptableMaleWhite
13Purpose and focus of your studyNeeds clarificationMaleWhite
13Rationale for method/design selectionWell DevelopedMaleWhite
14Anticipated implications of your research studyWell DevelopedFemaleUnknown
14Literature review summaryWell DevelopedFemaleUnknown
14Organization of your paper and quality of writingNeeds clarificationFemaleUnknown
14Purpose and focus of your studyWell DevelopedFemaleUnknown
14Rationale for method/design selectionWell DevelopedFemaleUnknown

 

5 Replies

  • If you have Gender and Ethnicity as separate dimensions you can create a measure like

    % = DIVIDE(

        [N],

        CALCULATE(

            [N],

            REMOVEFILTERS('Gender'),

            REMOVEFILTERS('Ethnicity')

        ),

        0

    )

    See attached PBIX for working example.

  • Hi ashleymf1983​  based on the sample you have provided, I created a dummy set of data and used visual calculations. Please find the PBI file attached.

    Hope this helps to solve your problem. If it does, then please mark it as solution.
    thanks - Samrat