How PULSE Dashboard works¶
What happens behind a refresh, a filter and a drill-down, and why PULSE Dashboard needs no application server of its own.
A filter set on a tab reaches every report on the tab that has the field. A margin % stays correct when the columns change. A field your consultant adds at your site appears on every report that can use it. There is no application server to install. All four follow from one design. Using PULSE Dashboard covers the procedures.
The design¶
PULSE Dashboard stores almost none of your business data. What it stores are descriptions: which fields exist and where they come from in Macola®, how your reports are laid out, which filters are applied, and who is allowed to see what. It keeps them in your company database, beside your Macola® data. The one body of figures it keeps for itself is the inventory history behind usage and turns, which a job on your SQL Server brings up to date once a day. Everything else on a report is live: read from your Macola® database at the moment you refresh.
Opening a report, adding a filter, choosing columns, clicking a number to drill in: each is translated into a database question and sent to SQL Server. The server does the work and sends back the rows the report shows.
The application holds the descriptions, the database holds the data, and each question is written when it is needed.
What lives where¶
The field catalog is the list of every field PULSE Dashboard knows: what to call it, how to format it, whether it totals or averages, whether it is a key you can drill on, who is allowed to see it, and which Macola® table and column it actually comes from. Reports never name a Macola® column directly. They name a field, and the catalog does the translating.
The optimized tables are PULSE Dashboard's working copies of your Macola® data, built inside SQL Server. Joining raw Macola® tables on every refresh would be slow, so PULSE Dashboard gathers the data once into a small number of tables that several reports share, and reads from those. They are temporary tables that belong to your session, so nothing is added to your Macola® tables. A full refresh fills them from Macola® again, so the figures are live as of that refresh. Between full refreshes PULSE Dashboard reuses a table for up to one hour, which keeps the lighter refresh commands quick. Refreshing data says which refresh commands reuse a table and which fill it again, and Optimized tables lists what each one holds.
The translator is what runs when a report refreshes. It takes the state of the report in front of you — which columns are showing, how they are grouped and sorted, which filters are set — and writes one database question from it. Drill in and it writes the same question again with the values from the row you clicked added on.
Filters shared between reports¶
A filter in PULSE Dashboard is not a piece of code inside a report. It is three pieces of information: a field, a test and a value. Because every report speaks the same field catalog, "Customer No is 10240" means the same thing everywhere, and it can be handed to any report that has a customer number on it.
Filters also stack, and they inherit down a chain:
Your own access rights → the tab → the report → the columns of its grid → the drill-down
Each level adds to the ones above it, and none of them has to be coordinated by hand. Set a filter on a tab and every report on that tab that has the field narrows, whatever shape each one is. A filter on a grid's columns narrows the rows of that one grid further. Drill into a number and the detail window is filtered by its own criteria, by its report's, by its tab's and by your access rights, all at once. Filters covers how they combine. A salesperson who only sees their own accounts gets that restriction applied at the top of the chain, so every question they ask is already limited to their own book of business.
The same mechanism carries a value from one report to another. Right-click a customer, an item or an order number and PULSE Dashboard offers to carry that value somewhere else — into another report, or into a whole shared tab — arriving already filtered to it. Turn on Enable Cell Selection, select several values with Ctrl+click, and one filter carries all of them. No report has to be built as a destination, because a filter is something any report can accept. Quick links covers the menu item by item.
It is also why the Advanced Report Designer can pair any two reports and drive the second from the first. Neither report refers to the other. Both use the same field for the customer number.
Totals and the level of detail¶
The columns you choose decide how much detail a grid shows. A grid has one row for each combination of its key columns — customer, item, order number, period — and SQL Server adds up every amount to that level. Take Item # out of a grid that shows customers and items, and the next refresh asks a different question: SQL Server totals the underlying records again, by customer alone.
Group rows and the totals at the foot of a grid are a second step. The grid works them out on your workstation from the rows SQL Server sent. Sorting, grouping and totals covers both.
The first step matters most for measures that cannot be added up, such as margin %. A percentage cannot be totaled the way a dollar amount can. Average the margin % of individual order lines and a $10 line counts as much as a $100,000 line, and the result is wrong. The correct margin % for a customer or a month is the ratio of the sums: total margin dollars divided by total sales dollars. That is how PULSE Dashboard asks for it. Each row's margin % is its total margin divided by its total sales, at whatever level of detail your columns set.
For exactly how each figure on screen is worked out, see How PULSE Dashboard calculates its numbers.
Custom formula columns¶
A custom formula column is stored as the expression you typed, not as a column of computed values. When the report refreshes, PULSE Dashboard asks SQL Server for the fields the formula names, and the grid works the formula out for each row as the rows arrive.
This has two consequences. Your formula sorts, groups and filters in the grid like a column that shipped with the product. And a formula you have not put on the grid costs nothing, because its fields are not asked for, so you can build several and delete the ones you do not need.
Fields added at your site¶
The field catalog is data rather than code, which is what lets it grow at your site. Your consultant defines a new field — the caption, the format, how it totals, and which table and column it comes from in your database — under Administration → Company Settings → User Matrix.... The next time PULSE Dashboard starts, the field appears in the column chooser of every report it applies to, and it filters, groups, totals and drills like the ones that shipped with the product. Nothing is recompiled and no update is required.
Your fields are kept in your company database, in a part of the catalog set aside for them. A PULSE Dashboard update adds its own new fields without colliding with yours and does not touch them, so your customizations survive upgrades.
Customized Macola® databases¶
Because reports name fields instead of tables, two further cases are covered.
Customized schemas. Where PULSE Dashboard reads a Macola® table, it first checks a list of substitutions. A site whose Macola® tables have been extended or replaced lists each substitute once, under Administration → Company Settings → Override Tables..., and the reports that read the table pick it up. That is configuration, not a code change. Not every report reads its data through the list, so check the reports that use a table after you add a substitute.
One product, two Macola® generations. Macola® Progression stores the same information in materially different tables from Macola® ES and 10. Because a report asks for "Customer No" rather than for a physical column, the catalog resolves it to the right place for the database you are on. One report body serves both.
Your own SQL and PULSE Dashboard filters¶
The Query Analyzer lets you put hand-written SQL on a tab. Select Enable advanced dashboard integration and PULSE Dashboard wraps the query and adds the active filter chain to it, so your SQL narrows with the tab like every other report. Where the columns your query returns match names in the field catalog, they pick up their proper captions, formats and key behavior too.
Where the work happens, and what you have to install¶
PULSE Dashboard is a Windows desktop application that talks to SQL Server, and there is nothing in between. There is no application server to install and no service to keep running. The program files sit once in a shared folder, and each workstation starts PULSE Dashboard from there through the PULSE Dashboard Client, which keeps the workstation's copy current.
What PULSE Dashboard adds to your SQL Server is small: its own tables and stored procedures in your company database, apart from the Macola® tables, and one SQL Server Agent job that brings the inventory history up to date each night. The Report Scheduler is the one feature that needs a copy of PULSE Dashboard left running: it emails reports only while that copy is open.
Because the questions are answered by SQL Server rather than in the application, the heavy work runs on the database server, which your IT department already looks after and already backs up. A workstation receives the rows of the report and draws them. So a report over years of order history does not need a powerful PC, and adding users does not mean sizing new hardware.
What this means in practice¶
| What you do | What is happening | What it means for you |
|---|---|---|
| Set a filter on a tab | The filter joins a chain that every report on the tab inherits | One filter, every report, including ones added later |
| Take a key column off a grid | The next question asks SQL Server to total at the new level of detail | Each row's amounts and its margin % are right for the columns you see |
| Click a number to drill in | The same question runs again with the clicked row's values added | The detail always matches the number you clicked |
| Build a formula column | The next question asks for the fields it names, and the grid works out the formula | It sorts, groups and filters like a shipped field, and costs nothing while it is off the grid |
| Have a field added at your site | The field is added to the catalog in your company database | It appears across every report that can use it, and survives updates |
| Right-click a value and jump | The value is carried as a filter into the destination | Every report is a valid destination, without being built as one |
| Refresh a report | The optimized table is read, or filled from Macola® again first if its time has run out | Refresh time depends on your server, not on your PC |
Where to go next¶
- Using PULSE Dashboard — the working guide: refreshing, columns, sorting, filtering, drill-down and sharing a tab
- Building your own report from a standard one — the reports to start from, and worked formula columns
- Writing your own SQL reports — the Query Analyzer from start to finish
- How PULSE Dashboard calculates its numbers — the definition behind each figure on screen
- Modules and reports — what ships on each module's tabs
- Administration — users, security, company settings and the Report Scheduler
Support & contact¶
Our team is glad to go through any of this with you, including how it would apply to your own database.
- PULSE software support — (513) 723-8095 · [email protected]
- Sales & product questions — (513) 723-8091 · [email protected]
- Consulting & Macola® services — (513) 723-8094 · [email protected]