[FEEDBACK][BUG][FEATURE-IDEA] Custom date range comparison

Hi everyone,

INTRO

Before diving into the 3 feature ideas, and the bug to fix, find some context first.


CONTEXT

I’ve lately been working on 2 separate versions of a custom date range comparison tool for Looker Studio.

Short note : Even though the following systems work, you sincerely don’t want to manage them in the long term.

VERSION 1

[CAN ADD ONLY 3 IMAGES, SORRY]

6 parameters and ~10 custom dimensions to make it work. This setup is to repeat for each datasource used in a given report.

Pros

  • OK to manage
  • UX Friendly for “analysts”

Cons

  • Hard to manually type “DD-MM-YYYY” format for many people.
  • Impossible to simply use multiple datasources in a single page.
  • Even if i properly replicate field IDs, labels, etc, the system is bugged when using multiple sources in 1 page.

VERSION 2

14 parameters, same amount of custom dimensions as V1. As V1, you must repeat the process for each datasource.

Pros

  • Super UX friendly for anyone

Cons

  • You don’t want to maintain this.
  • To achieve the “visual hack” of having no param name in the dropdown, you must replace its name with some blank param name such as “alt+255”.
  • First, you place everything correctly, then once you are certain it won’t need to move (spoiler, it will move sooner than you expect :slight_smile: ), you go to the datasource fields list and rename each param to alt+255.
  • If you already have all your datasources ready with 50+ custom metrics, you don’t want to restart it since the beginning. So if you want to implement this with the dropdown, be ready to repeat the tedious process of typing all the day numbers in multiple fields (times data source number).

Wonderful for viewers, awful for editors.
How to make an analyst to not want to work with a Dashboard ? Do this.

If you want to work with multiple datasources with this system, be ready to develop an extension that binds all your reports and parameters in it so people will only be able to access your multi-source report this way.

You will be able to add +600chars of url params to make it work :

  • 3 params : current period start date
  • 3 params : current end date
  • 3 params : comparison start date
  • 3 params : comparison end date
  • The comparison mode
  • Multiply this by your number of data sources for a given report

You’re all set with your unnecessary labyrinthic system.


FEATURE IDEAS

:double_curly_loop: Parameter duplication

As we can do for dimensions and metrics, being able to duplicate parameters would reduce frictions.


[CAN ADD ONLY 3 IMAGES, SORRY]


:pencil: Component level rename for parameters

Title says it all. Report editors must have the ability to keep their technical naming conventions that do not have any negative impact on data viewers.

This feature already exists for dimensions and metrics, not yet for parameters.

[CAN ADD ONLY 3 IMAGES, SORRY]

[CAN ADD ONLY 3 IMAGES, SORRY]

[CAN ADD ONLY 3 IMAGES, SORRY]
(Also, please fix the fake “Invalid” parameter bug, that’s annoying)

:globe_with_meridians: Report-level / Cross-source parameters

Instead (or complimentary to) of creating parameters for a single data source, we would create them for a given report and assign datasources to use these parameters.

  • We could import parameters from other Looker Studio reports to avoid repeating the creating process. By default, they would not be assigned to any source, but you can toggle access for the sources you want.
  • Each datasource would have the ability to interprete the parameter the way it wants.
  • Being able to tag parameters locally to a report would be a great option to categorize them nicely.

Since many people already have tons of parameters created, the assignation principle already exists.
What’s missing would be :

  • A new UI segment of Looker Studio that allows managing parameters
  • Being able to assign a given parameter to multiple data sources
  • Being able to automatically assign a given parameter to any new datasource added to the report.
  • Tagging system to categorize those parameters (Sexy to me yet optionnal with a great naming convention)

Other things could be done this way, but that’s good for today. :slight_smile:


BUG TO FIX

INVALID PARAMETERS

Whatever happens to a data source, if you create a parameter, it will end up appearing as “Invalid” even if it works.

This bug has been in LS for a long time and is ANNOYING. We need to test all the “Invalid” params 1 by 1 to finally reach the one we wanted to target.

OUTRO

Looker Studio is a brilliant free tool.
It still has some bugs that have been reported by community for 1year+ that should have never persisted for such a long time.

Will I pay for licences knowing these bugs exist ? Never.
Will I pay for licences to make it used globally in my company knowing its bugs are fixed and essential features are developped ? Take my money.

Yours,

1 Like

@opall-cyr

Here one of my old homemade original solution for custom date range comparison. If it can help you in the future. I created a lot of other variantes…

https://www.withlookerstudio.com/blog/advanced-controls/20240220-interactive-custom-date-ranges-comparison-with-looker-studio-and-bigquery/

Not sure what is the purpose to refer about all these details in your request.

On the other hand, for information, the bug about the parameter names is known by the LS team and I hope it will be solved soon.

At last, IMHO, Being specific and nice would give you more chance to have what you ask for. Just a friendly advise.

Hi Mehdi,

Thank you for your answer.

I agree the whole post is pretty large and I forgot to change the post title after leaving my work too fast. :smiley:

To me, the context given involves multiple limitations and unclear features with Looker Studio.

Internet is already full of “IT DOES NOT WORK, PLEASE FIX” content, without giving any detail.

In my opinion, showing a company how hard some people are fighting to make your tool work illustrates there are things they can work on.

I also obviously admit there are things I build the wrong way, which I want people to avoid.

I already saw your approach in the past but did not remember it involved using the native datepicker, which simplifies many things. I will give it a try.

Yours,

1 Like

Hello @Mehdi_Oudjida ,

I now remember why I did not go with your tutorial in the past…

It’s because it involved adding a custom SQL layer in Looker Studio which I associated as a more “Adhoc” and unsustainable approach.

Now I realize that going through the plug and play BQ connector makes me create manually all the parameters and custom dimensions and also many metrics I could pre-compute in SQL for the “current” and “comparison” ranges, which will save a lot of configuration time.

Cya around, :slight_smile:

1 Like

Further testing later, this works brilliantly well @Mehdi_Oudjida .

I shouldn’t have blocked myself into native connector when I realize now how powerful the custom SQL version is.

I’m not sure why, but since the dates are linked to the native ‘@DS_*’ parameters, it makes it possible to use multiple BQ sources for a single page where it does not work with the standard BQ connector, even if “visible IDs” are exactly the same.

I guess they do not refer to the same internal ID for dates (for example).

Cya, :slight_smile:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.