Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Sorting tables on multiple columns in Confluence

Are there any plugins (or user macros) which can support sorting tables on multiple columns (with primary and secondary keys)?

10 answers

Hi,

You can use the table-filter plugin. It's not sorting, but it's filtering:

https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter

Using it with table-plus:

https://marketplace.atlassian.com/plugins/org.swift.confluence.table

I think that it will answer to your needs.

Have a nice day,

Laurent

1 vote

Hi Lis,

I'm not sure if I understood your question correctly, but if you are looking to perform queries into Confluence database and show them in Confluence pages, I believe that you can use the SQL plugin for Confluence: https://marketplace.atlassian.com/plugins/org.swift.confluence.sql

Hope that helps! :)

Cheers,

Rodrigo Girardi Adami

did u find a solution for this ?

Hi @Laith Abu Rakty ,

You can try our app - Table Filter and Charts for Confluence.

If you need to sort your table, you can use the Table Filter macro to apply the default sorting to one or multiple table columns in the ascending or descending order.

default sorting.png

You'll be also able to apply different kinds of filters (dropdown, freetext, number range, date range, visual and global filters) to one or multiple table columns with the help of the same Table Filter macro. So you'll get the precise data based on several criteria.

adding filters macro browser.png

Besides our app will help you to create pivots, perform calculations in your tables, merge tables, etc.

Is it possible without a commercial plugin as well?

Hi Laurent, OMG, that's pretty cool. I did not know the table-filter plugin. It helps me finishing another template, you saved my day. Thanks a lot!

Hi Lis, Hi Stefan,

Is it possible without a commercial plugin as well?

Play SQL is a free SQL plugin. In view mode, you can open the SQL panel and update the "ORDER BY" clause to sort by several columns. You can also use it to tune your filter.

Hi Nicolas,

thank you for your reply. I wrote the developer an E-mail but now I see, that you're the developer. :)

Do you plan to release the source code of the plugin or to charge money someday for the plugin? Unfortunately a plugin which we use was free to use until last year and now we have to pay hundreds of euros every year for it. My boss was not very amused and because of that I need to make sure, that this does not happen again. Of course, you spend a lot of time developing it, but I want to avoid surprises like that again, therefore I'm cautious with installing free plugins.

Best regards

Stefan

Hi Stefan, I'm keen to answer, would you mind raising a separate question for this? Thanks!

Although this post is quite old, we would like to let you know that we developed the app "DataTables for Confluence" (see https://marketplace.atlassian.com/apps/1220302/datatables-for-confluence) for Confluence Cloud which supports filtering tables by multiple columns (see https://weweave.net/blog/datatables-for-confluence-supports-multi-column-table-sorting/).

You can use the free Table Enhancer and nest multiple macros; the first layer is the primary, and each nested macro is the secondary, tertiary, etc. sorting column. 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

75 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you