Accounts type 66
ADDCOLUMNS function 229–230, 234, 242, 319
additive measures 82
ADDMISSINGITEMS function 243–244
affinity 286
AGGREGATE function 201
AggregateFunction property 79, 80, 81, 82, 87
aggregate functions 87–89, 232, 247
aggregation
Aggregation Design Wizard 324
AggregationMemoryLimitMax property 313
AggregationMemoryLimitMin property 313
aggregations 293, 323, 324–326
partition 331
processing 313
ALLEXCEPT function 236
ALTER SCHEMA permissions 293
ALTER TRACE permission 293
Analysis Services DDL Task 119
Analysis Services Management Object (AMO) client library 135
Analysis Services Stored Procedure (ASSP) 311
Analysis Services stored procedures (ASSP) 217–219
Analyze In Excel dialog box 150–151, 160–161
ANCESTOR function 196
AND function 254
AND logic 238
AND operator 239
ASSOCIATED_MEASURE_GROUP property 208
ASSP. See Analysis Services Stored Procedure
AttributeHierarchyEnabled property 25
AttributeHierarchyVisible property 64–65
AttributeKey 25
attribute member groups 321–322
AttributeName 25
Attribute property 76
attribute relationships 332–333
performance tuning and 76
configuration, in the Date dimension 68
converting to member property 25
mixing, from multiple hierarchies 177
parent 45
AttribuuteHierarchyEnabled property 65
AutoFilter menu 102
AVERAGEA function 247
AVERAGE function 247
AverageOfChildren function 88
AVERAGEX function 248
axis naming 175
bidirectional filters 113, 114–115
BillOfMaterials (BOM) type 66
Boolean expressions 215, 238, 239, 254
bottlenecks
in queries 307, 311–312, 317–318
BufferMemoryLimit property 313
bulk-mode evaluation 311
business intelligence (BI) semantic model
defined 1
tabular 1
business key 8
ByAccount function 88
cached queries 300
cache warming 312
calculated columns 110, 123–124, 133, 137
calculated measures 77, 86, 202–203, 206–209, 229, 293
date and time functions 250–252
mathematical functions 247–249
time intelligence functions 250–252
calculated members 200, 209–210
CALCULATE function 207, 223, 233–237, 241, 249, 261
to transform row context 235–236
with ALL 234
CALCULATETABLE function 237, 245–246
calculations
CALENDARAUTO function 125
CALENDAR function 125
cardinality 110
Cardinality property 76
CASE statement 202
cell-by-cell evaluation 311, 312
cell-level security 213–217, 311
Change Settings dialog box 339
Channel type 66
child members 201
CHILDREN function 195
client-side impersonation 100
CLOSINGPERIOD function 197
Color attribute 64
Color hierarchy 184
column filters 102
column names
syntax for 224
columns
calculated 110, 123–124, 133, 137
columnstore indexes 155
conditional expressions 202–203
configuration
refresh interval settings 138–142
security and permissions 143–154
tabular model
storage and data refresh 129–138
conformed dimensions 26
Connection Manager 13
constrained delegation 129
CONTAINS function 153
CoordinatorExecutionMode property 315
COUNTA function 247
COUNTBLANK function 247
Count function 88
COUNTX function 248
CREATE CACHE statement 310
CREATE command 211
CREATE MEMBER command 207, 208, 209, 210, 219
cube dimensions 47
cubes
custom MDX solutions in 206–222
CURRENTMEMBER function 202, 311
CUSTOMDATA function 154
CustomData property 154
Customers type 67
data
aggregation 293
numeric 10
data analysis
Data Analysis Expression (DAX) language 104–105, 171
creating formulas using 222–265
performing analysis using 258–267
database dimensions 47
databases
multidimensional. See multidimensional databases
OLTP 2
tabular. See tabular data model
DataDir property 288
data mining dimension models 54–56
data mining model viewer 56
data model
snowflake dimension design 6
data provider
installation 13
data retrieval
for MDX queries 34
data source
DataSourceImpersonationInfo database property 15
DataType property 79
data warehouse 124
data warehouses 2
DATEDIFF function 250
date dimension 8
DATESYTD function 252
Date type 68
DAX formula engine 300
DAX functions 156
DAX queries 306
comments in 239
evaluation context 230–233, 238
for ratio to parent calculations 261–264
incorrect order of operations 232
START AT sub-clause in 225
DAY function 265
DefaultMeasure property 174
DefaultMember property 174
Define Relationship dialog box 37
degenerate dimension column 10
deployment
multidimensional database project 31–32
options 127
Description property 79
design warnings 30
development cycle, 9, 12, 16, 19, 13, 138, 143, 52, 152, 71, 255
Diagram view 109
dictionary fragmentation 136–137
dimensional modeling techniques 4
dimension models
dimension processing 312–313, 316, 334–335
changing, and mining structures 75
conformed 26
database vs. cube 47
for roleplaying 47
intermediate 52
materializing 53
optimization 323
snowflake 117
storage models and 35
dimension tables 6
attributes 8
lineage or audit key 9
primary key for 8
DirectQuery mode 117, 128, 129, 155–162
convert in-memory queries to 162
with Excel and PivotTables 162
with Oracle and Teradata 161–162
DirectQuery query plans 306
DirectQuery With In-Memory option 128
discretization properties 26, 322
disk layout
Display Folder 106
DisplayFolder property 79
DistinctCount function 88
division operator (/) 249
DMVs. See dynamic management views
domain controllers 154
drillthrough limits 322
dynamic link library (DLL) files 217
dynamic management views (DMVs) 289, 307, 309
EffectiveUserName property 151
END SCOPE statement 220
EOMONTH function 265
ErrorConfiguration property 332
error handling 339
evaluation context
function arguments and 238
DirectQuery with 162
Extensible Markup Language for Analysis (XMLA) 15, 140
extract-transform-load (ETL) processes 317
extract-transform-load (ETL) tool 6–7, 104
factless fact table 11
ADDMISSINGITEMS function 243–244
FILTER function 190–191, 237–240, 318
filters
column 102
MDX queries 182
partition 119
financial account data 66
FirstChild function 88
FirstNonEmpty function 88
flags
for DESCENDANTS function 192
FORE_COLOR property 208
foreign keys 9, 10, 17, 40, 46, 54, 107, 109
FORMAT function 226
FORMAT_STRING property 200
FREEZE statement 220
FROM clause 173
Full Control (Administrator) permissions 147
Full Control (Administrator) role 214
fully qualified column names 224
functions. See also specific functions
arguments 238
iterator 237
KPI 343
late binding in 311
nonadditive 87
semiadditive 87
user-defined 311
Geography type 67
Get Data From Cache events 314
granularity attributes 37, 85–86
Grid view 109
GroupAffinity property 285–286
HardMemoryLimit property 284
Hard Memory Limit threshold 283
HASONEFILTER function 319
HASONEVALUE function 319
HEAD function 187
hierarchies
attribute relationships and 69
default members 212
leaf level 207
ragged 40
sets 176
storage 134
unique names for 69
user-defined 65, 69–77, 261, 323
history
history tracking 8
Hybrid OLAP (HOLAP) storage model 33, 35
IFERROR function 319
IgnoreUnrelatedDimension property 84
ImpersonateCurrentUser option 129
impersonation account
read permission for 16
Impersonation Settings property 128
incremental development 104
columnstore 155
In-Memory option 128
in-memory queries
converting to DirectQuery 162
in-memory storage 130
in-memory tabular query monitoring 300–306
In-Memory with DirectQuery option 128
installation
data providers 13
IntelliSense 105
intermediate dimensions 52
internal rate of return (IRR) calculations 217
Internal VertiPaq Scan 304
IO trashing 312
ISBLANK function 319
ISEMPTY function 319
ISERROR function 319
iterator aggregate functions 248–249
iterator functions 237
JavaScript Object Notation (JSON) files 346
key attribute 24
KeyColumn property 322
key performance indicators (KPIs) 340–345
Kimball, Ralph 4
LANGUAGE property 210
LastChild function 88
LastNonEmpty function 88
leaf level 207
linked measure groups 85
linked tables 126
locale ID values 210
logical AND 238
logical keys 17
logical primary keys 51
LowMemoryLimit property 284
Manage Relationships dialog box 109–110, 112
many-to-many dimensional models 57–61
many-to-one cardinality 110
materialization 318
dimension 53
mathematical functions 247–249
MAXA function 247
Max function 88
MAX function 247
MAXX function 248
MDX formula engine 300
MDX queries. See Multidimensional Expression (MDX) queries
architecture 300
axes in 175
calculation results caching 206
conditional expressions 202–203
filtering 182
identifying bottlenecks in 307
in SSRS 205
Profiler trace of 297
query-scoped calculations 199–206
steps in processing 182
with single measure 175
Analysis Services stored procedures 217–219
calculated measures 206
dimension and cell-level security 213–217
measure columns 11
MeasureExpression property 79
remote linked 85
measures 2
additive 82
aggregate functions 87
calculated 77, 86, 229, 246–256, 293
designing and implementing 77–82
filter by 240
name assignment 229
member expressions 200
MEMBER keyword 200
member property 25
MembersWithDataCaption property 43
MembersWithData property 43
memory
nonshrinkable 280
non-union memory access 285–288
shrinkable 281
Memory HardMemoryLimit property 281
memory limits
default 281
Memory LowMemoryLimit property 281
Memory TotalMemoryLimit property 281
Metadata folder 204
MINA function 247
Min function 88
MIN function 247
MINX function 248
model viewer
data mining 56
dynamic management views (DMVs) 309
Task Manager 309
trace events 310
Msmdsrv.exe process 280, 283, 286
Msmdsrv.ini file 145
multidimensional databases 1–96
defining attribute relationships 69–77
measures and measure groups 77–89
Multidimensional Expression (MDX) queries 34
Multidimensional Expressions (MDX) language 171
multidimensional-mode memory limits 280–282
Multidimensional OLAP (MOLAP) storage model 33–34
multidimensional performance issues 311–317
multidimensional processing tuning 316–317
multidimensional query monitoring 292–300
multidimensional translations 345–346
multi-threaded operations 286
NameColumn property 61
named calculations 18
named queries 18, 50–51, 58–60, 84
NamingTemplate property 43
natural hierarchies 71, 73, 116, 323
natural key 8
nested FILTER functions 239–240
Network Load Balancing (NLB) clusters 291
nonadditive functions 87
None function 88
nonshrinkable memory 280
non-union memory access (NUMA) 285–288
NOT ISFILTERED function 263
NUMA. See non-union memory access
numeric data 10
objects
ON COLUMNS clause 175
one-to-one cardinality 110
online analytical processing (OLAP) databases 2, 5
online transactional processing (OLTP) system 279
ON ROWS clause 175
OPENINGPERIOD function 197
ORDER BY clause 74, 224–225, 226, 227
OR function 254
Organization type 67
PARALLELPERIOD function 198–199
parent attributes 45
parent-child dimension models 40–45, 117
PARENT function 195
ParentIsBlankSelfOrMissing setting 44
ParentIsBlank setting 44
ParentIsMissing setting 45
ParentIsSelf setting 44
Partition Manager 119–120, 159, 159–160, 160
aggregations 331
DirectQuery mode and 157, 158–160
multidimensional models 121
processing scripts for 140
remote 290
writeback 333
performance counters 308, 310, 315, 321
performance issues
tabular processing memory consumption 320–321
tabular processing time 319–320
performance management 291–328
Performance Monitor 307, 308–309
performance monitoring
drillthrough limits 322
identify bottlenecks in queries 307
in-memory tabular query monitoring 300–306
multidimensional query monitoring 292–300
performance tuning
attribute relationships and 76
PERIODSTODATE function 199–200
permissions
assigning 146
user 293
permissions table 153
PerNumaNode property 287
with average and variance measures 261
with calculated measures 209–210
with calculated members 210
with consolidated ratio to parent variables 265
with count measures 249
with filtered measures 253, 254
with measures containing variables 258
with ranking measure 260
with ratio to parent variables 263
PivotTables 106, 111–112, 116, 150
DirectQuery with 162
Power BI Desktop 171
PowerPivot
importing model from 126
PREVIOUSMONTH function 251–252
PREVMEMBER function 196
Prior Year Sales formula 252
Prior YTD Sales formula 252
ProactiveCaching property 334
Process Add operation 320, 336
Process Add operations 135
Process Affected Objects setting 339
Process Clear operation 336
Process Clear operations 135–136
Process Clear Structure operation 337
Process Database dialog box 138–139
Process Database role 147, 214
Process Data operation 320, 336
Process Data operations 136
Process Default operation 336, 337
Process Default operations 136
Process Defrag operations 136–137
Process Full operation 336, 337
Process Full operations 134, 137
Process Index operation 337
processing
multidimensional objects 336–338
ProcessingGroup property 334
ProcessingMode property 332
processing operations
Processing Order setting 338
Processing Pool Job Queue Length 315, 321
ProcessingPriority property 332–333
processor groups 285
Process Recalc operation 320, 321
Process Recalc operations 136, 137
Process Structure operation 337
Process Update operation 336, 337
Products type 67
Promotion type 67
PROPERTIES function 205
qualified names 176
Quantitative type 67
queries
cached 300
converting in-memory to DirectQuery 162
comments in 239
incorrect order of operations 232
evaluation context 238
identify bottlenecks in 307
MDX 34
architecture 300
performance, and SCD modeling 65
query binding 329
Query Editor 119
Query Mode property 128
query monitoring
Query Parser 292
natural hierarchy and 71
query plans 301, 303, 305, 306
query processing architecture 294, 300–301
query-scoped calculations 199–206
Query Subcube Verbose events 307
Query Thread Pool 314
ragged hierarchies 40
random access memory (RAM) 131
RANK function 259
RANKX function 259
Rates type 67
ratio to parent calculations 261–264
Read Definition role 214
read permission 16
reference dimension models 49–53
refresh interval settings 138–142
refresh operations 142
Register Server Assembly dialog box 217–218
regular dimension models 36–38
RELATED function 238
Relational OLAP (ROLAP) storage model 33, 34–35
relational tables 317
relationships
manually adding 109
storage 134
RelationshipType property 76, 332–333
remote partitions 290
ROLAP dimension 313
role-based security 213–217, 270–274
role-based security model 143–154
database role 143–145, 145–148
server administrator role 143–145
roleplaying dimension models 45–49
Roles property 151
rolling window strategy 118–119
ROLLUP syntax 227, 234, 242–243
RootMemberIf property 44
row filters 102
row-level security
row-oriented storage 130
sales quota allocations 265–268
SAMEPERIODLASTYEAR function 252
Scan_Vertipaq operators 301–302
SCD. See slowly changing dimension
Scenario type 68
SCOPE statements
security
role-based 143–154, 213–217, 270–274
Select Creation Method page 19
SELECT DISTINCT statements 334
SELECT statement 18, 51, 74, 334
semi-additive aggregation 88–89
server administrator role 143–145
server-side impersonation 100
server tuning 311
service account 285
set alias 311
SET keyword 200
shrinkable memory 281
SIBLINGS function 196
Slice property 333
slowly changing dimension models 61–65
slowly changing dimension (SCD) 6–9
snowflake dimension design 6, 117
solution structure 12
sort order
for attribute members 24
Source property 79
primary key 8
SQL queries 155–156, 173, 174, 316
SQL Server
authentication 13
SQL Server Analysis Services (SSAS) 1, 2
configuration
non-union memory access 285–288
creating multidimensional databases using 2–33
key performance indicators 340–345
options for copying database 290
performance monitoring and optimization 291–328
identify bottlenecks in queries 307
in-memory tabular query monitoring 300–306
multidimensional query monitoring 292–300
process monitoring 307
query performance 307
resolving performance issues 310–321
planning and deployment 279–291
SQL Server Data Tools for Visual Studio 2015 (SSDT) 2, 98, 125–126, 328
SQL Server Integration Services (SSIS) 6, 119, 289
SQL Server Management Studio (SSMS) 16, 120–121, 281
SQL Server Profiler 297, 300, 307, 310
SQL Server Reporting Services (SSRS) 171, 289, 300
SQL Server stored procedures 217
SSAS. See SQL Server Analysis Services
SSAS cache
clearing 296
SSAS server
reconnecting to 48
SSIS. See SQL Server Integration Services
SSMS. See SQL Server Management Studio
START AT sub-clause 225
storage
row-oriented 130
in-memory 130
storage engine cache 293
storage engine tuning 308, 311
HOLAP 35
stored procedures
Analysis Services 217–219, 311
SQL Server 217
Structured Query Language (SQL) 173
subcube operations 293
Sum function 87
SUM function 201, 202, 232, 247
SUMMARIZECOLUMNS function 226
SUMMARIZE function 225–228, 229, 236, 237, 319
syntax coloring 105
table names
syntax for 223
tables
creating relationships between 17–18
denormalization 327
pivot. See pivot tables
relational 317
renaming 18
compatibility level 99
configuration
refresh interval settings 138–142
security and permissions 143–148
storage and data refresh 129–138
diagram view of 108
for real time data access 155–162
importing from Microsoft PowerPivot 126
publishing, from Visual Studio 125–126
Tabular Model Scripting Language (TMSL) 135, 140
tabular-mode memory limits 283–285
Tabular Object Model (TOM) 135
tabular performance issues 317–321
tabular processing
optimizing CPU utilization during 321
tabular translations 346
TempDir property 289
temporary files 289
THIS function 220
Thread Pool Command property 286
Thread Pool IOProcess process 286
thread tuning 315
time functions 197–199, 250–252
time intelligence function 250–252
time series analysis 197, 250–252
time table
TMSL. See Tabular Model Scripting Language
TOM. See Tabular Object Model
TotalMemoryLimit property 284, 313
Total Memory Limit value 283
TOTALYTD function 251
trace events 292, 296–297, 302–303, 307, 310
Trace Properties dialog box 295
transactional deployment 32, 127
Transaction Mode setting 338
transactions 138
translations
adding 26
tabular 346
tuples 178–180, 188, 207, 208, 293, 291
Type 2 dimensions 7
UnaryOperatorColumn property 45
unique names 176
unqualified column names 224
usage-based optimization 289
Usage-Based Optimization Wizard 326
user-defined functions 311
user-defined hierarchies 65, 69–77, 261, 323
user permissions 293
Utility type 68
value encoring 132
VertiPaqMemoryLimit property 138, 284
VertiPaqPagingPolicy property 138, 285
VertiPaq SE Query Begin events 317–318
VertiPaq SE Query End events 307, 317–318
VertiPaq storage engine 299
views
dynamic management 309
Visual Studio
publishing tabular model from 125–126
WHERE clause 119, 158, 180, 181, 200, 208, 291, 318
Windows login 14
Windows privileges 285
writeback partitions 333
Writeback Table Options setting 338
write permission 16
XMLA. See Extensible Markup Language for Analysis
YTD function 199
3.145.96.86