Move a dataset to answers on demand
By the end of this page you will have compared a report’s figures two ways, moved its dataset to answers on demand, and known how to go back. You need an author’s, admin’s or owner’s role, and a dataset saved in the client account: a warehouse table, your own SQL, an uploaded file, or a file in an S3, Cloud Storage or Blob Storage bucket.
What changes
Section titled “What changes”Today a warehouse dataset is added up ahead: when it opens, every split of its setup is worked out, so a setup holds three filters at most. Moved on demand, each chart’s figures are worked out when the chart asks:
- The figures come in rounds. A chart shows its figures once they have all come back, never a 0 standing in.
- A setup holds many more filters, and a count of each value once can be exact over a quarter or a year.
- Recipients and viewers still read the copies made when the report was published or sent.
Live and Extract stay, and mean the same as before:
- Live asks the warehouse for each chart’s figures, within the connection’s limits. Answers are kept until the check for new data finds a change or someone refreshes.
- Extract keeps the answers to the saved reports’ own figures, taken on the dataset’s schedule. Opening a report reads them and asks the warehouse nothing. A figure the extract does not hold, such as a filter no saved report picked, is asked of the warehouse once, for the same months as the extract, and kept until the next extract.
A file on demand
Section titled “A file on demand”BInbox’s server answers files on demand only once BInbox turns it on. Until then, Answer on demand… says it is not turned on yet, and a file already set on demand is read in this browser as before, with a note saying so.
An uploaded file, or a file in a bucket, is read in this browser today. Moved on demand, BInbox’s server reads it once, keeps a copy of it, and works out each chart’s figures from that copy when the chart asks. The file is not downloaded to your browser when the report opens, and its setup is no longer limited to three filters.
- The server reads CSV and other delimited text, Parquet and JSON lines, compressed with gzip or zstd or not.
- A file may be up to 1.25 GB once unpacked, or 10 million rows. A Parquet file may be up to 200 MB. A larger file is refused, and the section says why.
- An Excel workbook stays in this browser. A dataset kept month by month as several files, or with tables beside it, stays too: the server reads one file at a time. So does a file with no header row, or one whose setup skips title lines, reads its header further down, or stacks or turns its rows.
- Dates are read in the order the setup says, day or month first, as in this browser.
- The first open after the move takes longer, since the file is read and kept then: a few seconds for a file of 100 MB, longer near 1.25 GB. Later opens read the kept copy.
- A file in a bucket is read at the version the server first saw. When it is replaced in the bucket, the next open reads the new one. A screen that had the old one open says the file changed, and to open it again.
- Copies sent to recipients and viewers are still made from the file as before.
For an uploaded file, the choice is in Data, Source, How figures are worked out: In this browser or On demand. A file in a bucket has the same section as a table.
Compare before you move
Section titled “Compare before you move”- Open a report on the dataset, then open Data and the Source section.
- Under How figures are worked out, choose Answer on demand….
- Wait while the report’s own figures, its slides and its Dashboard, are worked out both ways, as of the newest month the data on screen holds. The new way is read live from the warehouse; nothing is saved yet.
The dialog heads the compare with one line, such as “73 questions: 49 the same, 24 differ (23 distinct counts, the count of rows held)”. Below it, each figure that differs shows what it is, its value before and on demand, and why:
- A count of each value once: on demand, a customer who bought in two months counts once over the quarter or year. Added up ahead, the months’ counts were added, so that customer counted twice. A report counts once only when its setting for distinct counts says so; otherwise its numbers stay as they are.
- A total of blank lines: on demand, a total whose lines are all blank is missing, where it read 0 before.
- The rows the data holds: on demand this is the table’s own lines; added up ahead it was the rows added up. No chart reads it.
- Not explained by a recorded rule: these come first in the list. Look at each one before you move.
A figure that differs can change what a chart asks next, so a few figures may be asked one way only. The dialog says how many.
Move, go back or keep
Section titled “Move, go back or keep”- Move keeps the setup as the dataset’s next version, answered on demand, and opens the dataset again. For an Extract dataset, an extract is taken at once, and the dataset is read live until it is ready.
- Go back, in the same section, returns to added up ahead as the next version, and reads the old way at once. A setup with more than three filters cannot go back, and the section says why. An uploaded file goes back to being read in this browser.
- Keep this way confirms the move. Until you choose it, the old way’s extract is kept: reports saved before the move read it, and Go back uses it at once. After it, the old extract is let go at the next extract.
Reports saved before the move
Section titled “Reports saved before the move”Each saved report remembers how its datasets were answered when it was saved. A scheduled send or a reader opens it the same way while that way is still there. Once the old way is gone, it reads the dataset’s way now. Save the report again to read it on demand from then on.
What does not move yet
Section titled “What does not move yet”- A report’s other datasets are read the old way. A chart on one that was moved says so.
Copies for each recipient
Section titled “Copies for each recipient”A send whose copies are cut by recipient is built from a dataset answered on demand too. Each copy asks the warehouse only what the person may see:
- The whole report reads every row, with the person as the highlight.
- Own figures read only the rows of the person’s own stores or regions. Every query to the warehouse carries that limit, and the copy has no share of the market.
- Own figures with benchmarks read the person’s own figures, and a total above them (their region, the market) only where at least 3 others make it up in that period. Elsewhere the total and any share of it are not shown.
A copy built this way has the same figures as the same copy built from a file. A dataset’s own SQL is cut by recipient only where its joins are marked, as Write a dataset in SQL describes.
Who sees what
Section titled “Who sees what”- Authors, admins and owners compare, move and go back.
- A viewer reads the report’s published copies and never asks the warehouse.
- No page receives the connection’s credential.
- BInbox’s server keeps a file’s copy sealed with the client account’s own key, and reads only the account’s own files and buckets.