Table
Last updated
Last updated
This visualization fetches only the required dimensions from the database. You can also add a derived dimension using the expression builder to calculate the values.
Select normal or derived dimension type for your column/dimension in the visualization table.
Enter the name for your column/dimension, which will appear on your dashboard.
Select the column names from the dropdown which you want to use to calculate your new derived dimension.
Start typing the function you want to use and select it from the suggestions. Then, place the cursor inside the brackets and type the property name you selected in Properties as the function parameter for calculations. The aggregate function will be applied on the output of this expression builder.
The following options are available in the Expression Builder. Ci
represents the attributes/properties selected by you
sum()
(attribute)
sum(C1)
sumIf()
(attribute, filter)
sumIf(C1, conditions)
avg()
(attribute)
avg(C1)
avgIf()
(attribute, filter)
avgIf(C1, conditions)
count()
(attribute)
count(C1)
countIf()
(attribute, filter)
countIf(C1, conditions)
uniq()
(attribute)
uniq(C1)
uniqIf()
(attribute, filter)
uniqIf(C1, conditions)
min()
(attribute)
min(C1)
max()
(attribute)
max(C1)
least()
(attribute1, attribute2)
least(C1, C2)
greatest()
(attribute1, attribute2)
greatest(C1, C2)
date_diff()
(return type, attribute1, attribute2)
date_diff('second', C1, C2)
Choose how you want your final query result in the new derived column to be from second to timestamp, milliseconds to timestamp, timestamp, days, hour, month or date.
You can filter the data in the final output on the dashboard according to your needs.
Choose whether to include data using the = operator or exclude it using the != operator. You can also use the regex operator and provide the regex formula.
Click on View Chart to preview it before adding it to the dashboard.