Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line /row number option for table vizualisation #12551

Open
nicocashie opened this issue May 18, 2020 · 3 comments
Open

Line /row number option for table vizualisation #12551

nicocashie opened this issue May 18, 2020 · 3 comments
Labels
Priority:P3 Cosmetic bugs, minor bugs with a clear workaround Type:New Feature Visualization/Tables Raw, summarized, and pivoted tables

Comments

@nicocashie
Copy link

nicocashie commented May 18, 2020

In a table chart / visualization, the only way to display line / row number is to write a native SQL query and compute the line / row number with the function proposed by the database.

Could be usefull sometimes to be able to display the line / row number.
So it could be an option for table chart / vizualisation.
This is by default in a standard SQL browser / explorer (like Toad, SQL Server Management, dbeaver).

⬇️ Please click the 👍 reaction instead of leaving a +1 or update? comment

@flamber flamber added Priority:P3 Cosmetic bugs, minor bugs with a clear workaround Visualization/Tables Raw, summarized, and pivoted tables and removed .Needs Triage labels May 18, 2020
@juancruzsosagab

This comment was marked as spam.

@juancruzsosag

This comment was marked as spam.

@jschuur
Copy link

jschuur commented Aug 6, 2022

One comment on why the workaround of calculating this in SQL (via ROW_NUMBER e.g.) isn't always ideal: When you yo have multiple columns and sort by them in a table visualisation, this doesn't re-run the query and your line # value would still be based on the original sort order from the SQL query.

In my use case, I'd like to see the actual line number of the current row, irrespective of any sorting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:P3 Cosmetic bugs, minor bugs with a clear workaround Type:New Feature Visualization/Tables Raw, summarized, and pivoted tables
Projects
None yet
Development

No branches or pull requests

5 participants