Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
114 views

I'm new to Cube / Superset so bear with me. I've the following cube defined in Cube: cubes: - name: items sql: > SELECT DISTINCT ... FROM ... WHERE lt.package_org_id = '{{ ...
auburg's user avatar
  • 1,517
0 votes
0 answers
44 views

what is the go-to way to validate the schema with npx cubejs-cli validate -p config/schema when you have a cube like this example from the docs https://cube.dev/docs/reference/data-model/context-...
Kaizendae's user avatar
  • 1,063
0 votes
0 answers
53 views

I have a PostgreSQL database testdb (hosted on 10.55.55.55) as my data source, where I have read-only access. I also have another PostgreSQL database cubejs running on the same server where Cube.js is ...
YRKNM's user avatar
  • 1
1 vote
1 answer
605 views

I’m working on a Cube.js project where I need to configure pre-aggregations to refresh at regular intervals, specifically every 12 hours or at a specific time like 4:00 AM UTC. I’ve set up a cube to ...
Abdellah-ELAAROUB's user avatar
1 vote
2 answers
754 views

I am trying to make two images depend on each other. One acts as the master and the other one is a worker. Here are the two Dockerfiles FROM cubejs/cubestore:v0.31.58-arm64v8 ENV CUBESTORE_WORKERS=...
boomchickawawa's user avatar
1 vote
1 answer
342 views

We have deployed cube.js using docker in one of the Linux machines (Ubuntu). We have deployed Apache Superset in another Linux machine (Ubuntu). We are trying to establish a connection between "...
Thirumalai Muthu Palani's user avatar
0 votes
0 answers
140 views

I am using Power BI with cube.js as the data source. The connection to Cube is set up using the PostgreSQL connector in Power BI. I am trying to figure out, how I can change the username, which is ...
Martin Brummerstedt's user avatar
0 votes
1 answer
677 views

How to integrate cube.js API in simple javascript code? I just want to use cube.js API in my simple html and js page. Can anybody help me with that? In cube.js docs, they integrate it with react, vue ...
Mukhtar Hussain's user avatar
0 votes
2 answers
617 views

Is it possible to calculate some metrics (count, sum) for a specific time period like Today/This Week/This Month/Last Month in Cube.js. Is rollingWindow what I need? I tried it but it doesn't return ...
Muhamed Muhamedagić's user avatar
1 vote
1 answer
485 views

I'm working on a custom cube.js database driver that uses a private http service which accepts arbitrary, raw sql and returns the result as json. The http service uses Authorization header to identify ...
riyaz-ali's user avatar
  • 9,132
1 vote
1 answer
1k views

I want to build schema file from my frontend app just like what happens in cube.js playground in dev mode. Is there any possibility to do so?
Chathuranga Priyadarshana Kath's user avatar
1 vote
2 answers
2k views

I have 2 tables, one contains daily data and the other contains attributes that I would like to use for segmenting data. I got the following Error when I try to compile my cube.js schema. cube.js ...
bfmcneill's user avatar
  • 127
3 votes
1 answer
578 views

I am using cube.js to compare the change in data over the time by plotting it as a line graph . Step 1 : After generating cube.js schema successfully , data looks like this: Step 2 : Now, while I am ...
Asraful's user avatar
  • 1,290
1 vote
0 answers
292 views

This is the issue I see in the terminal while i run npm run dev I am trying to connect to a SQL Server database. I have changed some settings for my user 'sjeswara' using SSMS which might facilitates ...
Suraj Jeswara's user avatar
1 vote
1 answer
607 views

For example, if I have a Postgres table with columns for sensor_id, temperature and time_recorded , would I still be able to generate a chart that shows temperature (y) over time (x) ?
equatorial_daydreamer's user avatar
0 votes
2 answers
1k views

I have two tables called Writers and Publications where there is a foreign key publications.writer_id = writers.id Writers id (int) parent_id (int) role (varchar) name (varchar) path (ltree) 1 ADMIN ...
equatorial_daydreamer's user avatar
4 votes
2 answers
565 views

I am using the React (recharts) integration of cube and was wondering how to format dates or "weeks" instead of having the full ISOdate. For example Week 39 instead of 2021-09-27T00:00:00....
programmer.john.may's user avatar
2 votes
1 answer
4k views

I'm getting this error while trying to run cube js with the default command in the getting started docs. I've started this in a folder and running it in docker. Warning. There is no cube.js file. ...
Chen's user avatar
  • 291
1 vote
1 answer
2k views

Is it possible to send a raw sql request to a cubejs server? The cubejs server would send it as is to the db it is connected to? I have some edge cases where I would like to let the client send raw ...
discuss_e's user avatar
1 vote
0 answers
321 views

Consider a database schema of the following: An Entity table. A SpecializedEntity table, which has exactly 0 or 1 record for each record in Entity, and a nullable LookupValueId column. A LookupValue ...
Andrew Keller's user avatar
1 vote
2 answers
893 views

I have a simple table which has a number(say sales) as one column which describes the sales done for a product. I also have ~25 products. Now, I want to import this sales as a measure into cube. ...
rspenpal's user avatar
1 vote
1 answer
306 views

I have a requirement to join two tables in cube js. First table has list of customers. Second table has list orders with customer ids with purchase date. I have to display the total orders placed by ...
Priadarshan Mega's user avatar
0 votes
1 answer
801 views

I'm new here, because I have decided to dive into programming, so I can fill free time between treatments in the hospital. I'm absolutely new in the programming field with no previous coding ...
user avatar
1 vote
2 answers
526 views

Imagine a simple line graph plotting a person count (y-axis) against a custom time value (x-axis), as such: Suppose you have another dimension, say specific groupings of people, how do you draw a ...
Atticus's user avatar
  • 195
0 votes
0 answers
105 views

I am trying to use a rollupJoin pre-aggregation as per this example but instead of joining on an ID I am attempting to join using dates, i.e. something like: joins: { Weeks: { relationship: '...
Atticus's user avatar
  • 195