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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
AndreaSo
Frequent Visitor

Sorting in table

Hi, 

I have problems with sorting in a table visual. I have a column with 5 specific values and I created an index column according to wich  I would like to sort it.

 

I created an example:

 

Values + index column

compain startindex
start in 5 months1
start in 4 months2
start in 3 months3
start in 2 months4
start in 1 month5

 

Current data:

Project Current valuesIndex
1start in 5 months1
2start in 3 months3
3start in 4 months2
4start in 2 months4
5start in 5 months1
6start in 3 months3
7start in 1 month5
8start in 2 months4

 

Expected sorting in table visual: (please mind that I dont want to show the index column in the visual)

Expected result in table visual
start in 5 months
start in 5 months
start in 4 months
start in 3 months
start in 3 months
start in 2 months
start in 2 months
start in 1 month

 

Please let me know if I was not clear enough. Thank you a lot for help.

4 REPLIES 4
Adamboer
Responsive Resident
Responsive Resident

To sort your table visual according to the index column you created, you can follow these steps:

  1. Select the table visual that you want to sort.

  2. In the Visualizations pane, go to the "Fields" section and find the column that you want to sort by (in this case, the index column).

  3. Click on the column and drag it to the "Values" field well of the table visual.

  4. Click on the column header in the table visual to sort by that column. You should see the data sorted according to the values in the index column.

  5. If you don't want to show the index column in the visual, you can remove it from the "Values" field well by clicking on the "x" next to the column name.

After completing these steps, your table visual should be sorted according to the values in the index column, as expected.

Arul
Super User
Super User

@AndreaSo ,

You have to use sort by column option to sort your current values column based on index,

Arul_1-1680524719307.png

Thanks,

Arul





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

Proud to be a Super User!


LinkedIn


AndreaSo
Frequent Visitor

Hi Arul

 

I tried this but unfortunately once I add it into the visual table, and sort based on "Currect values", it order is not correct.

ahmedoye
Responsive Resident
Responsive Resident

If you have done as @Arul suggested, and the sorting is not reflecting yet, go to your Table Visual and click on the header of the column inside the visual. Yoy may need to click twice to change the sorting between Ascending and Descending as you wish.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.