question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pivot Table functionality

See original GitHub issue

Description: What is it?

You should be able to add dimension groups as columns instead of having groups as a second row dimension.

So, you should be able to pivot on a dimension so that instead of the values appearing as rows, they appear as columns in the results table.

Problem: What problem does this solve?

Scanning through grouped data as rows is more difficult than looking at it as columns.

(Optional) Why: How do we know this is a real problem and worth solving?

https://getdbt.slack.com/archives/C026WJE4A69/p1644794904784429 lots of feedback from users

Success: How will we know if we’ve solved this problem?

  • You’re able to pivot the results in your table using a dimension.
  • You can order your pivoted dimensions
  • You can add multiple pivoted dimensions

Audience: Who are we building this for?

Data builders: specifically people analyzing the values in teh results table.

What: Roughly, what does this look like in the product?

When you have dimensions in your table, you should be able to interact with them to pivot them (similar to how users can order by results now)

image

image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
JohnRomanskicommented, May 31, 2022

As a longtime (5+ year) user of Looker, I can tell you that the reason that we chose Looker was Pivot tables. As someone who has been looking for an alternative to Looker, I can tell you that any tool without Pivot tables is not an option for us to migrate to.

If you want to make Lightdash into ‘Looker without the price tag’, pivot table functionality is crucial. It is the most important missing component from the tool today. It’s the table stakes, it’s what people taking the demo for a test drive will look for first.

As an added benefit, choosing to develop this feature will make the answer to many other questions obvious, like #968, or “what do we do about the group in your chart configs?”

I don’t understand how the group in the chart configs works or what it is supposed to do. I looked in the docs, but don’t see any explanation of it there. (and I looked https://docs.lightdash.com/guides/visualizing-your-results#configure-your-bar-line-and-scatter-charts) I get the sense that Group might not be necessary and might be replaced by Pivot.

1reaction
owlascommented, Aug 9, 2022

This issue is getting split into 3 separate issues, I’m not going to close this until we close #2905 so subscribers aren’t mislead!

  1. Pivoting the table visualisation (in order to have pivot tables on dashboards + saved charts) (https://github.com/lightdash/lightdash/issues/2905)
  2. Pivoting the results (explorer) table, to interact with pivot results when building charts (https://github.com/lightdash/lightdash/issues/2906)
  3. Pivoting API - allowing for better control of pivot sort orders and table calculations (https://github.com/lightdash/lightdash/issues/2907)
Read more comments on GitHub >

github_iconTop Results From Across the Web

What is a Pivot Table & How to Create It? Complete 2022 Guide
A Pivot Table is used to summarise, sort, reorganise, group, count, total or average data stored in a table. It allows us to...
Read more >
50 Things You Can Do With Excel Pivot Table | MyExcelOnline
A Pivot Table is the most powerful feature within Excel as it allows you to analyze your data in many different ways, all...
Read more >
Pivot table - Wikipedia
A pivot table is a table of grouped values that aggregates the individual items of a more extensive table within one or more...
Read more >
What is a Pivot Table? Definition from WhatIs.com - TechTarget
Pivot tables are especially useful with large amounts of data that would be time-consuming to calculate by hand. A few data processing functions...
Read more >
What is a Pivot Table? A User-Friendly Guide - CareerFoundry
What Is a Pivot Table? ; Creating a summary of a large database/dataset; Doing so in a quick and handy manner ; Filter...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found