cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Rich_coutinho
Resolver II
Resolver II

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 @Rich_coutinho ,

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.

@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
Microsoft
Microsoft

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

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!