377
questions
-1
votes
0
answers
32
views
Integrating DynamoDB data with Metabase [closed]
Background
I'm developing a dashboard in Metabase for an app that controls IoT actuators. Our system architecture includes:
A Django backend with an RDS database
DynamoDB tables storing sensor data (...
0
votes
0
answers
13
views
Mapping variable to field filter in Metabase for native mongoDB query
I am trying to run a simple mongoDB query which returns the total count of documents in a collection with a variable which verdict_time which has been mapped to the corresponding field using field ...
0
votes
1
answer
34
views
How to make metabase read-only?
I have a metabase instance I'm migrating away from. It has both athena and rds database connections. How do I prevent users from editing existing cards and dashboards and creating new ones?
0
votes
0
answers
16
views
How can I set iframe height to take exactly the height it needs? [duplicate]
I'm using Metabase, which allows to embed charts inside an html page by using an iframe. This is my code right now
<template>
<iframe
:src="dashboard?.url"
title="...
0
votes
0
answers
30
views
Why is metabase giving this weird error of invalid reference?
SELECT
count(
distinct "public"."cnpy_portfolio_current_snapshot"."userid"
) AS "count"
FROM
"public"."cnpy_portfolio_current_snapshot&...
0
votes
1
answer
30
views
Metabase: Query to extract last 7 days of data or from the filters
I want to write a query in Metabase where by default it would extract data for the last 7 days but if the filters are selected it would extract based on the filters. Can someone help with this?
Could ...
0
votes
0
answers
122
views
On AWS Athena, how to write a passthrough query that specifies the datasource?
From the AWS documentation, it says that I can use something like:
SELECT * FROM TABLE(
system.query(
query => 'SELECT * FROM customer LIMIT 10'
))
... to pass the ...
0
votes
0
answers
6
views
FUNCTION sample_examples_2.dateadd does not exist
I have a problem with the following code:
select
sum(Subtotal) as faturamento,
cast(Created_At as date) as Dia
from Orders
where
(year(Created_At) = 2018 and month(Created_At) = 7)
or (Created_At ...
0
votes
0
answers
32
views
How do I create an interactive chart with Metabase and MongoDB as data source?
I'm using Metabase as a data visualization tool, with MongoDB as the data source. I need to create a linechart from a query that performs a lookup between two collections.
Let's say I have the ...
2
votes
2
answers
191
views
Connect Metabase to database of choice by default using docker compose
I have the following docker-compose.yml file
networks:
default:
driver: bridge
services:
timescale:
image: timescale/timescaledb:latest-pg15
ports:
- "5432:5432"
...
0
votes
0
answers
44
views
Metabase Mysql Connection Error - Client does not support authentication protocol
I am using digital ocean managed mysql database.
The connection is working since last 1 year. Suddenly the issue arrises.
Could not connect to address=(host=*****.ondigitalocean.com)(port=25060)(type=...
0
votes
1
answer
45
views
in heroku, set environment variable to the value of DATABASE_URL
I think I've seen this question asked, but I can't find an answer.
I'm trying to install Metabase in a Docker container on Heroku. Metabase wants an environment variable called MB_DB_CONNECTION_URI. ...
0
votes
1
answer
78
views
metabase cant load the dashboards
my metabase has problem loading my dashboards and tables. it take so much time on loading the data and finnally it says :
Still Waiting…
This usually takes an average of 0 seconds.
(This is a bit long ...
0
votes
1
answer
89
views
Trying to connect SQL Server database in Metabase
I am trying to connect my SQL Server DB in Metabase. I am using SQL server authentication.I am running the metabase locally. I entered the details as follows:
Host: 127.0.0.1
DB: Practice_DB
DB ...
0
votes
1
answer
31
views
How to deploy metabase using Laravel Forge
I would like to deploy Metabase using Laravel Forge
Has anyone tried this before? Kindly provide tutorial
I can SSH into my digital ocean server (which is connected to forge), to create directory and ...
0
votes
1
answer
111
views
Connection timeout in dockerized metabase
I have two different services on one server up and running with docker.
One service contains metabase with following docker-compose file.
metabase:
container_name: metabase
image: metabase/...
0
votes
0
answers
78
views
How to deal with single-line comment when using pg_hint_plan
I'm trying to test some query plans using pg_hint_plan through Metabase, which under the hood prefixes the query with a single-line comment, so that the query actually run is something like:
-- ...
1
vote
0
answers
68
views
Metabase API with Ruby - How to get question data by adding filters via the Metabase API
I would like to get in my rails 7 app data from metabase. I have no issue for retrieving data from a question. But I can't find a way to send filters to the API.
For example : I would like to do a ...
0
votes
0
answers
66
views
multiple selection in metabase filter
The question is related to metabase
I'm creating a new sql question
I add a filter to it
enter image description here
SELECT *
FROM testtable (nolock)
[[WHERE category = {{category}}]]
Next, I add ...
0
votes
0
answers
18
views
Metabase: any way to identify redundant queries?
We are currently using metabase as a basic MI tool. However we have frequent changes in our underlying data fields as we re-factor/optimise which means existing queries fall over.
Using the metabase ...
1
vote
0
answers
112
views
How to implement RLS in Metabase Free Edition
I'm using Metabase's free edition, and I'm aware that Row-Level Security (RLS) is not available in this version. However, I'm wondering if there's a way to detect the email of the logged-in user ...
0
votes
0
answers
41
views
SQL won't let me get an average of calculated values?
I've attempted to utilize the SQL AVG(##) function to obtain the average of a column generated using SQL COUNT(DISTINCT(##)), or DISTINCTCOUNT(##) in PowerBI (they're both effectively the same thing). ...
0
votes
2
answers
295
views
Aggregating data by month using SQL in metabase from redshift
I hope you are doing well,
I am working on aggregating data by month,
Note: I am querying data from Redhsift using Metabase.
This is my query:
(SELECT
dataset.value AS value,
TO_CHAR(...
-1
votes
1
answer
121
views
Unable to connect Metabase with Oracle Database
good afternoon! Sorry by my english, im learning to write without using Google Translate, so, Let's go! I tried to run Metabase in my local lab and, i read the poor many documentation who exist in ...
0
votes
1
answer
77
views
How to deploy metabase with Laravel Forge
I installed Metabase as a service on the server and I have it booted but I have a problem in the Nginx configuration. I am using Laravel Forge for the project and I need to change the Nginx ...
0
votes
0
answers
74
views
Override metabase function in docker image
So metabase does select true from table limit 0 against every table/view in the database to see if they are readable. Problem is when a redshift view has references enough spectrum tables that can ...
0
votes
0
answers
24
views
Multiple specific drop down dates in Metabase filter
How can I use multiple specific drop down dates in Metabase filter?
0
votes
0
answers
140
views
Why do I get an 'instanceof' is not an object error when publishing a graph?
I try to publish the graph made with Metabase into my Vue.js, by using the code provided by Metabase. However, I keep getting this kind of error:
ERROR
TypeError: Object prototype may only be an ...
0
votes
1
answer
71
views
SQL-Query get best incidents by solution_time for each month
I have the following SQL-Query in Metabase:
SELECT
date_trunc('month', "resolvedAt") AS "resolvedAt",
(CAST(avg("solution_time") AS float) / CASE WHEN 3600.0 = 0 THEN ...
0
votes
0
answers
44
views
Metabase does not show the same value between the "table view" and a "visualisation view"
I want to display some values with a simple horizontal bar chart with a native SQL request. the result is ok when it's showed as a table, but the chart is not right, with random wrong values.
Here is ...
0
votes
0
answers
80
views
Error starting metabase, debug/permission?
I was trying to start metabase in its newer version but I got this error: Caused by: org.postgresql.util.PSQLException: ERROR: permission denied for schema public
Position: 14.
And after I searched it ...
1
vote
2
answers
402
views
How to add column to nested column
I have a table with nested column
...
a UInt64
b Nested (b1 String, b2 String)
c LowCardinality(String),
...
I want to update the table to be
...
a UInt64
b Nested (b1 String, b2 String, **b3 String**...
0
votes
1
answer
276
views
Metabase to Snowflake Connection
I am trying to connect Metabase to Snowflake but getting the below error :
JDBC driver encountered communication error. Message: Certificate for <mja55108.us-east-1.aws.snowflakecomputing.com> ...
1
vote
1
answer
868
views
Invalid (private) key when connecting to Snowflake in Metabase
I'm running Metabase in a docker on a webserver. I'm trying to configure a connection to snowflake in the UI.
I generated my (working) pkcs8 keys in the following way;
ssh-keygen -t rsa -b 2048 -m ...
0
votes
1
answer
191
views
Transpose or Pivot without using PIVOT or UNPIVOT SQL Editor in Metabase
I am trying to transpose my table columns and rows however transpose is not yet included in the functionality of Metabase. Now I am trying to manually do it in its SQL Editor however PIVOT is not a ...
0
votes
1
answer
109
views
Calculating processing time between two dates in mysql
I work as jr system administrator in a small outsourcing company where we offer IT services to other companies. We use osTicket as a Tickets Management System but reports and exports in this are quite ...
0
votes
1
answer
151
views
regex: how to select first, second, third match
Sorry I am quite new with regex.
I have items like:
"Cafes", "Footwear", "Women's fashion"
I can select the 3 items: /".+?"/
The first item only : /^".+?&...
2
votes
1
answer
132
views
Sqlproxy in GCE Virtual Machine can't connect to CloudSQL postgres database
I am trying to get Metbase runnning on a Google VM using a CloudSQL postgres instance as as database.
In the startup script I have the following code to start a sqlproxy:
sudo docker service create --...
0
votes
3
answers
2k
views
Resetting admin password of Metabase in Docker Desktop Windows 11
Good day.
How do I reset the admin password of Metabase that is installed using Docker Desktop on Windows 11?
Thanks.
-1
votes
1
answer
469
views
How to add metabase ip address to access my rds which in private subnet through VPC?
Metabase - IP addresses to whitelist
There are some Amazon RDS databases that are in private subnet of my VPC.
I want to connect to them through Metabase. I tried to add these IPs in the Security ...
0
votes
0
answers
104
views
How to set the first day of the week to Saturday in postgresql for Jalali dates
I have to write a query in metabase that outputs the records whose done_date falls within the current week and in Jalali calendar, the first day of the week is Saturday. I need to change the first day ...
0
votes
0
answers
22
views
how to skip metabase synonym in oracle?
I'm trying to create a report in Metabase after connecting to an Oracle database, but I'm encountering errors because the DBA has set up synonyms by default. Do you happen to know how to configure ...
0
votes
1
answer
810
views
How to access my GCP VM on localhost:3000
I have Metabase running through a Docker image on a Google Compute Engine. The application defaults to port localhost:3000 however, I can't seem to figure out how to access this port on the Google VM.
...
0
votes
1
answer
28
views
SQL: Trying to write code that counts the times an event occurs and then a specific event occurs after
I'm working in SQL and trying to find a way to find the subsequent value (next row) and then create a count of each time the first value happens and then the second.
Something like:
OG data
id
Sale ...
0
votes
0
answers
70
views
How Deploy Metabase on App Engine with VPC Connector?
im getting stuck when try to deploy metabase on app engine with vpc connector
service: metabase-dwh
runtime: custom
env: flex
manual_scaling:
instances: 1
resources:
cpu: 4
memory_gb: 8
...
1
vote
2
answers
322
views
How to connect metabase to snowflake
I have the following snowflake url that I use to login to the snowsight UI: zgb07638.us-east-1.snowflakecomputing.com
I want my metabase to connect to snowflake BD,I have entered the above account ...
0
votes
1
answer
26
views
Aliases not work to provide 2 instances of one table
I am trying to pull both shipper and consignee from one table by using aliases but only shipper is working, not sure what I need to do. below is the code I am using with the joins
SELECT 'b_id'as '...
0
votes
0
answers
67
views
SQL - Convert / Cast and return original value if not successful
I'm trying to remove html tags from a string in a column.
And I need kind of a fast quick solution that works.
I wanted to use this solution here
replace(replace(replace(CAST(CAST(replace([...
0
votes
1
answer
234
views
New service in existing Kubernetes Cluster gives 503 Temporarily Unavailable
I'm trying to run a Metabase deployment in an existing, working, EKS kubernetes cluster, but keep getting 503 Service Temporarily Unavailable.
The pod is running, the ports seem to be assigned ...
0
votes
1
answer
24
views
Postgre divider 0 result
i have the following data in Metabase
i tried get the percentage of do_qty to target_lembar.
i tried to calculate using the following query:
select distributor_id
, target_lembar
, do_qty
, do_qty::...