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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Ayupchap
Helper III
Helper III

Ordering issue on a visual

I am trying to sort by quesiton but as you can see its not quite working out.  Is there anythign I can do to fix this?

 

sort issue.PNG

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

@Ayupchap

 

Hi, you need a extra column with the order.

 

Demo:

 

Question   Order

Question 1   1

Question 2   2

Question 10   10

 

After that go to modeling Sort By Column and Select Order Column.




Lima - Peru

View solution in original post

2 REPLIES 2
Vvelarde
Community Champion
Community Champion

@Ayupchap

 

Hi, you need a extra column with the order.

 

Demo:

 

Question   Order

Question 1   1

Question 2   2

Question 10   10

 

After that go to modeling Sort By Column and Select Order Column.




Lima - Peru

You can probably use the Query Editor to help you with this.

 

Highlight the column wtih the the text "Question 1" etc, then click the Transform tab and then the Split Column button to split by delimiter.

 

This will give you a new column with just the number component (so long as your data is consistent)

 

Split by delimiter.png

 

 

You can then set this solumn to be numeric and use this as your "Sort By Column" back in Power BI

 

Sort by mont.png


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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