Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
monicarysavy
New Member

Count of distinct values and display % of overall?

I have a column of Likert responses (1-5) and need to count the number of 1s, 2s, etc... and display the % of the overall reponses for each value in a table. Is this possible to achieve?

 

My table would have something like this: Strongly Agree =1 and Disagree=2

 

       Strongly Agree     Disagree       

UG         1.88%                6.45%

GR         1.18%                 3.53% 

 

2 REPLIES 2
Eric_Zhang
Employee
Employee


@monicarysavy wrote:

I have a column of Likert responses (1-5) and need to count the number of 1s, 2s, etc... and display the % of the overall reponses for each value in a table. Is this possible to achieve?

 

My table would have something like this: Strongly Agree =1 and Disagree=2

 

       Strongly Agree     Disagree       

UG         1.88%                6.45%

GR         1.18%                 3.53% 

 


@monicarysavy

Not a table, but use a matrix as @MFelix suggests.

An addtion, create a calculate column and use it as  the column in the matrix.

level =
SWITCH (
    TRUE (),
    'Table'[response] = 1, "Strongly Agree",
    'Table'[response] = 2, "Agree",
    'Table'[response] = 3, "neutral",
    'Table'[response] = 4, "Disagree",
    "Strongly Disagree"
)
MFelix
Super User
Super User

Hi @monicarysavy,

 

If you select the matrix visual and then add the [ID (UG/GR)] to the Rows and the [Likert response] to the Columns then for values choose the [Likert response] this will give you the count of each likert in the ID then just choose the show value as Percent of Grand Total and should give what you need.

 

You can also choose to have the percentage for column or row total,

 

Likert.png

 

Regards,

MFelix

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.