Smart View Functions: Build Cell-Based Reports with HsGetValue

Smart View Functions: Build Cell-Based Reports with HsGetValue
⏱ 2 min readUpdated 27 September 2026

Ad hoc grids are great for exploring, but board packs and management reports often need a fixed, beautifully formatted layout where each number sits in a specific cell. Smart View functions do exactly that: each cell asks the cube for one value.

In this article
  1. The core function: HsGetValue
  2. Build it from cells, not typed text
  3. Refreshing
  4. Other useful functions
  5. Functions vs ad hoc: which to use?

The core function: HsGetValue

=HsGetValue("MyConnection", "Year#FY25;Period#Q1;Scenario#Actual;Account#Revenue;Entity#North")
  • First argument — the connection name (a private connection, or the shared connection alias).
  • Second argument — the members, each written Dimension#Member and separated by semicolons.
  • Dimensions you leave out use the connection’s POV (point of view) defaults.

Build it from cells, not typed text

=HsGetValue("MyConnection", "Period#" & C$3 & ";Account#" & $A5 & ";Entity#" & $B$1 & ";Scenario#Actual")

Put periods across row 3, accounts down column A and the entity in B1. One formula copied across the grid fills the whole report, and changing B1 re-points every cell.

💡 The Function Builder (Smart View ribbon → Functions → Build Function) writes the syntax for you — build one cell with it, then switch to cell references.

Refreshing

Functions calculate when you Refresh (Smart View ribbon → Refresh, or Refresh All for every sheet). Normal Excel recalculation does not fetch new data. While not connected, cells may show an error such as #NO CONNECTION — connect and refresh. Refreshing many sheets? Use VBA to refresh Smart View.

Other useful functions

Function What it does
HsGetValue Reads one data value
HsSetValue Sends a value back to the cube when you submit (planning apps, with write access)
HsGetText Reads cell text / comments (where supported)
HsDescription Returns a member’s description/alias

Functions vs ad hoc: which to use?

Functions Ad hoc grid
Layout Any layout, fixed format Grid decided by Smart View
Speed on big reports Slower (one call per cell) Faster
Exploring / drilling No Yes (zoom, pivot)
Best for Board packs, KPI dashboards Analysis, reconciliations
⚠️ Function support and exact behaviour differ between providers (Essbase, Planning, Financial Management) and Smart View versions. Check Oracle’s Smart View documentation for your data source.

New to Smart View? Start with ad hoc analysis for beginners.