Edit multidimensional data source models
For multidimensional models, Data Source Model Editor lets you add custom properties to levels.
These properties improve Analyzer behavior, such as geography maps and relative date filters.
Assign geographic properties
Analyzer can visualize data on a map.
For common geography types (country, state, city, postal code), the Data Source Wizard can populate geography levels automatically.
If your model uses custom fields, set a Geography Type on each relevant level.
In Data Source Model Editor, select the Analysis tab.
Select a geographic level.
In Properties, set Geography Type.
Repeat for each geographic level you want available for map visualizations.
Assign time dimension properties
Designating a time dimension enables relative date filters, such as previous period and next period.
To enable these filters, define time properties for the relevant levels in your time hierarchy.
In Data Source Model Editor, select the Analysis tab.
Select the dimension you want to treat as a time dimension.
In Properties, select Time Dimension.
Expand the hierarchy, then select the level you want to configure.
Set Time Level Type and Source Column Format to match the format stored in your data source.
Time Level Type and Source Column Format do not display for a child level if Time Dimension is not set for its parent dimension.
Understand time level settings
The Time Level Type and Source Column Format lists in Properties describe how your time data is stored in the source.
Analyzer uses these settings for time-period functions and relative date filters.
Time Level Type specifies the role of a level and the increment it represents.
Source Column Format specifies how the source column value is formatted for that increment.
Setting Source Column Format does not change how values display.
It describes your data format so filtering works as expected.
Common formats
Here are commonly used formats for time measurements:
Years:
yy,yyyyQuarters:
Q,QQ,QQQMonths:
M,MM,MMMWeeks:
w,ww,WDays:
d,dd,D,DDD,yyyy-MM-ddHours:
k,kk,H,HH,K,KKMinutes:
m,mmSeconds:
s,ss
If the formats in the list do not match your data, enter a custom value in Source Column Format.
Your format must follow the ICU SimpleDateFormat specification.
Examples
If a level has Time Level Type set to Quarters, the level corresponds to quarter increments.
If the source values are numeric (1 through 4), set Source Column Format to Q.
If the source values are strings (Q1, Q2, Q3, Q4), set Source Column Format to 'Q'Q.
If the source values include the year (2001-Q1, 2001-Q2, ...), set Source Column Format to yyyy-'Q'Q.
Set an ordinal column (optional)
Ordinal columns change the default sort order of a level when members are fetched from a database.
For example, month_name sorts alphabetically by default.
If you sort month_name by an ordinal column such as month_id, months can sort chronologically instead.
Select the level you want to update.
In Properties, under Ordinal Column, select Edit.
In Select Ordinal Column, select the column to use, then select OK.
Last updated
Was this helpful?

