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
Anonymous
Not applicable

Likert scale graphs

Hi all, 

 

I have a data base from a survey with more than 100 columns with Strongly disagree, agree, neutral, agree, strongly agree data for each column. 

 

I need transport this result into graph on our powerBI dashboard. Everything is fine except for the ordering of the axis X of the graph. Is there any easy way to sort the axis X to display as Strongly disagree, agree, neutral, agree, strongly agree without creating a sorting column for each column of the table ?

5 REPLIES 5
v-yingjl
Community Support
Community Support

Hi @Anonymous ,

In power bi desktop visual, the default is to sort by first letter for using text as legend. So creating a sorting column is a relatively straightforward way to achieve the requirements.

 

Best Regards,
Yingjie Li

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

@v-yingjl i was trying to find a solution as i have more than 200 columns to sort, and wont be feasible to create one sort column for each one. 

It's a while since I've attempted one of these Likert questions.  I think I remember that unpivotting the question columns is the way to go.

You should then be able to create a sorting dimension to customise the sort order.

Megha166
Employee
Employee

Can you give a screenshot of the sample data and the chart that you have built?

Anonymous
Not applicable

That's the graph, and i want to sort it by:  Strongly disagree, Disagree, Neither Agree or Disagree, Agree, Strongly agree 

Power BI Sort.jpg

 

That's the data 

Untitled.png

 

I am trying to figure out a way to sort it without create a extra column qwith sorting index for each column. 

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.