Pivot table fix - ensure measure is not null
OPSMN-1476: Added wide row mode. OFF - disables wide rows altogether. SHALLOW - only multi-valued attributes are flattened. DEEP - sub-forms, extensions, and multi-valued attributes are flattened