Dimension using GROUP BY from View

gan1
New Member

Hi all, I have a

view: my_app {

dimension: time { #… }
dimension: device_id { #… }
dimension: todo {
# SELECT sum(time) FROM my_app GROUP BY device_id
}
}

I would like to ask how I can format the SELECT statement above using LookML.

Thank you for your help!

0 3 5,371
3 REPLIES 3
Top Labels in this Space
Top Solution Authors