cube icon indicating copy to clipboard operation
cube copied to clipboard

Data blending approach via SQL API

Open itestyoy opened this issue 1 month ago • 0 comments

Hi! How to use Data blending approach via SQL API to combine queries?

Rest API analog

const queries = [
  {
    measures: ["online_orders.revenue"],
    timeDimensions: [
      {
        dimension: "online_orders.created_at",
        granularity: "day",
        dateRange: ["2020-08-01", "2020-08-07"],
      },
    ],
  },
  {
    measures: ["retail_orders.revenue"],
    timeDimensions: [
      {
        dimension: "retail_orders.created_at",
        granularity: "day",
        dateRange: ["2020-08-01", "2020-08-07"],
      },
    ],
  },
];

itestyoy avatar May 23 '24 06:05 itestyoy