How do I show an aggregated "amount" with $ symbol on Kibana dashboard? - currency

Kibana index show the amount field as "number", How do I show it as a $ value after "sum" on visualization? how do I tell it is a "currency" field?

Wait for Kibana 4.1 to address this issue: https://github.com/elastic/kibana/issues/1543

Related

Using COUNTIFS and getting error "Array arguments to COUNTIFS are of different size" in Google Sheets

I tried to calculate "TRUE" and "FALSE" in Calculation sheet, but I'm getting the error "Array arguments to COUNTIFS are of different size".
Any idea what I'm doing wrong?
Formula I'm using: =COUNTIFS(Data!A3:A,"0*",Data!B3:B,"Anna",Data!C3:C,B3,Data!D3:I,"TRUE")
Link to the sheet. In the sheet DATA you can find all data and in the sheet Calculation you can see some kind of overview data/results.
Goal: I want to count "TRUE" from multiple columns (depending on the test) but it should match with correct date, name and type of IDs).
try:
=SUMPRODUCT(FILTER(Data!D3:I, Data!B3:B=A3, Data!C3:C=B3)=TRUE)
for false use:
=SUMPRODUCT(FILTER(Data!D3:I, Data!B3:B=A3, Data!C3:C=B3)=FALSE)
update:
=SUMPRODUCT(IFNA(FILTER(Data!D:I, REGEXMATCH(Data!A:A&"", "^0.+"),
Data!B:B=$A3, Data!C:C=$B3)&""="TRUE"))
=SUMPRODUCT(IFNA(FILTER(Data!D:I, REGEXMATCH(Data!A:A&"", "^0.+"),
Data!B:B=$A3, Data!C:C=$B3)&""="FALSE"))

google sheet : extract column Name from address

I try to get the column name from cell address, for example :
AB123 --> AB
X90 --> X
When using address(), it will return in $COL$ROW format. I want to get rid the $ symbol and the number/row and just need that column name.
Also using column() i can get the index, not the name.
How can i do it in quite simple way ?
Thanks
Use Address, but set the row number to 1 and use option 4 to remove $ signs:
=substitute(address(1,column(AB123),4),"1","")

Google Sheet - COUNTIF - with multiple columns and criteria

I am trying to construct a COUNTIF function to pull out the number of "4" values of the "Status" column but considering only if the corresponding "gender" value is "1". From the image below you would expect to retrieve a total of 2.
Hope someone can help me with this. Thank you
As Irene Liberali said use COUNTIFS:
=COUNTIFS(A:A,4,C:C,1)

SQLPLUS Column Format and Select query executed simultaneously

I was curious if there was a way in SQLPLUS to run the column format option as well as the select query in one line? instead of having to run each format column line individually. for example:
((column "Role" heading "Role" Format a30,
column "User ID" heading "User ID" Format a5,
column "Password" heading "Password" format a8,
column "Group" heading "Group" format a50,
column "User Name" heading "User Name" Format a15),
(Select ...);
Thanks for any input!
The COLUMN ... FORMAT command keeps config for a given column until either you exit from SQL*Plus or provide a new format. So NO, it does not apply to a single query and it cannot go inside a single query.
(Oracle reference)

Grafana alert always gives no_data

I'm trying to set an alert in Grafana as soon as the value is outside the range 16 to 36. I'm using influxDB
I have a simple query (A):
SELECT "value" FROM "temp"
The graph is shown correctly.
My alert config looks like this:
WHEN last() OF query(A, 1s, now) IS OUTSIDE RANGE 16 TO 36
But if I evaluate the Test Rule, I always get the state no_data. What am I doing wrong?
Well.. 3 years later.. =)
I had this same problem. To fix this, go to your Influx server and type:
use <databasename>
show field keys
The command "show field keys" will return something like this:
name: table_name
fieldKey fieldType
-------- ---------
value string
The problem is the column fieldType need to be float and not string. In my case, I dropped the database and created it again. And I inserted as decimal.

Resources