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.

I want to group together common metrics/dimensions in my Explores.

See original GitHub issue

Description: What is it?

I want to be able to add dimension_groups or metric_groups to my Explores.

These groups would appear in Lightdash in my Explore and override the default flat-list of dimensions and metrics in the sidebar.

e.g. user_name, user_country, user_age, user_gender are all grouped together in a drop down group called user demographics

Problem: What problem does this solve?

It’s hard to navigate through all of the metrics + dimensions in an Explore and know which are related to each other (or even relevant!)

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

In your YAML, you’d write:

columns:
  - name: user_id
    meta:
      dimension:
        group_label: "User attributes"
      metrics:
        count_distinct_user_ids:
          type: count_distinct
          group_label: "User attributes"
  • You would define dimension/metric groups in your YAML file, then these would appear in the sidebar as a toggle-list.
  • You can search for these groups
  • If I have a date/timestamp toggled dimension, it is still a toggle inside of the group toggle (basically, toggles can be nested - but only for dates)
  • a column can only be included in a single group (not many groups)

Wireframe here: https://www.figma.com/proto/Mhuwki1Bj1akQIwPyr1gWw/Lightdash-product?node-id=5533%3A89295&scaling=min-zoom&page-id=5438%3A86217&starting-point-node-id=5533%3A89295&show-proto-sidebar=1 Hi-fidelity designs coming soon, but first step is to add the groups in, similar to how we deal with date and time groups.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:15 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
hamzahc1commented, Jun 22, 2022

Had another request from a user on a call yesterday around them wanting to be able to group common metrics together in the explore view. Their idea was that they should be able to group the ones they want together and scan through that way.

1reaction
PriPatelcommented, Jul 7, 2022

@TuringLovesDeathMetal We’re in agreement on this wireframe. Hi-fidelity designs coming soon but we have enough for an engineer to get started on a POC at least! We should start off by visually grouping items in the same way we group date/time dimensions!

I’ll update the description of this ticket and remove the design tag from this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[GA4] Analytics dimensions and metrics - Google Support
This article describes the dimensions and metrics that appear in your reports and explorations and in the audience and segment builders.
Read more >
10 Actionable Tips to Master GA4 Dimensions and Metrics
Tip 4: Use Them in the Query Explorer. Not all metrics and dimensions go together. You have the option to explore potential queries...
Read more >
UA Dimensions & Metrics Explorer - GA Dev Tools
Explore all of the dimensions and metrics – Search or browse by group. Select a dimension or metric for additional details such as...
Read more >
What are Metrics and Dimensions in Google Analytics?
Understand the differences between dimensions and metrics in Google Analytics. Learn about Predefined and custom dimensions, custom metrics, ...
Read more >
Advanced features of Metrics Explorer - Azure Monitor
In the Azure Metrics Explorer, you can create charts that plot multiple metric lines or show multiple metric charts at the same time....
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