Given the following LookML:
dimension: GroupField1 {
group_label: "Group"
group_item_label: "Field 1"
label: "Group - Field 1"
type: string
sql: ${TABLE}."COLUMN1" ;;
}
dimension: GroupField2 {
group_label: "Group"
group_item_label: "Field 2"
label: "Group - Field 2"
type: string
sql: ${TABLE}."COLUMN2" ;;
}
I would like to add a description for the rollup. Unfortunately, adding the description parameter to GroupField1 and GroupField2 dimensions will place the tooltip text next to the group item - not at the top level of the rollup. This would be fine in many situations. But I’m currently in a situation where it would be incredibly redundant, and cause unnecessary clutter.
What I’m looking for would be akin to the behavior in a dimension_group:
dimension_group: SomeGroup {
label: "Some Group"
description: "This shows up at the top level of the rollup - NOT next to each group item"
...
}
Reference: Grouping Fields Within Views (3.44+)
If you want the description to be available at the group_label level, then all dimensions/measures under that group_label need too have the same description string.
@Cyril_MTL_Analy That is exactly the answer I needed. Thank you! I didn’t think to add an identical description to every measure in the group. But it works perfectly.
Glad I could help.
It’s not mentioned in the documentation (just checked) but I discovered that a few months back.
I think it’s an inherited behaviour from the dimension_group
parameter.