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)?

9 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

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/).

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.

Suggest an answer

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

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,340 views 6 6
Join discussion

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