It is sometimes the case that we need to create a pie chart, or any other chart that has row limits, but our r...
Knowledge DropLast Tested: Jul 3, 2018In databases that support timezone conversion, now() returns the time in...
The ProblemThe data is set up how you would like, but when you select the visualization type, Looker says that...
Knowledge DropLast tested: Oct 14, 2020 Using Table Calculations, you can add a total column to a stacked bar ...
Knowledge DropLast tested: April 2021 How do I use window functions in Looker?Window functions are a very powe...
Knowledge DropLast tested: Sep 29, 2019 We are able to create Rank across pivots with a number of table calcul...
The problemLet's say you have a table like so:And you want to return only the first row of data in a single co...
Yes, you can update the query object associated with a Look. There's a property called dynamic_fields which yo...
Knowledge DropLast tested: Nov 29, 2019 There's no built-in diff_weeks function, so it's best to use a custom ...
Knowledge DropLast tested: Jun 25, 2020 Say you're using a quarter timeframe that results in 2020-Q2, for exam...
Knowledge DropLast tested: Jun 24, 2020 There could be a few reasons for this, first off table calcs operate o...
Knowledge DropLast tested: Nov 2, 2018 There are several methods mostly using the first_value() window functio...
Knowledge DropLast tested: Dec 13, 2019 Most SQL Dialects have a function like INITCAP() that automatically ca...
Knowledge DropLast tested: May 27, 2020 TL;DR: index(pivot_row(pivot_column()), max(pivot_row(pivot_column()))...
Knowledge DropLast tested: Aug 6, 2020 running_totals are post-generated after the query is run, and so when w...
Knowledge DropLast tested: Jun 1, 2020 The general logic here is, if the time diff is negative, then build own...
Knowledge DropLast tested: Apr 9, 2020 sum(pivot_row(if(${view_name.pivot_field} = 'condition', ${view_name.me...
Knowledge DropLast tested: Oct 16, 2020 Using the row() function will get you an ascending list of row numbers...
Knowledge DropLast tested: Apr 8, 2020 Say you have a running total table calc on a dataset that's sorted by d...
Knowledge DropLast tested: June 15, 2020 The general logic here is, if the time diff is negative, then build o...
Last tested: Sep 2020You can make a moving average of a value in Looker with this simple table calc using offs...
Knowledge DropLast tested: Jun 18, 2018This may be due to ambiguous column names. IF several columns having th...
Knowledge DropLast tested: Sep 27, 2018 If you select the "Custom" option when choosing your table calc's form...
Knowledge DropLast tested: Apr 24, 2020 Usually, if I have a list of dimensions and measures, if I want to cha...
Knowledge DropLast tested: Sep 21, 2020 The ProblemFor table calculations with if statements, the error unknow...
Knowledge DropLast tested: Feb 18, 2018 Yes, we can do that in Table Calculations. Given a date dimension ${da...
Knowledge DropLast tested: Jul 6, 2018You've probably seen this in the content validator! This refers to a tab...
Knowledge DropLast tested: Jan 21, 2019According to the R documentation (from inputting >?pnorm in R Studio), ...
Knowledge DropLast tested: Jan 21, 2019 This can happen when creating an IF( ) statement in Table Calculations...
Knowledge DropLast Tested: March 22, 2021Though a case when in table calcs is currently a feature request (see...