Upload
doandang
View
224
Download
2
Embed Size (px)
Citation preview
BayAreaMicrosoftBIUserGroup
Tonight’sAgenda March3,2016
• 6:30–7:00pm FoodandNetworking
• 7:00–7:10pm Introductions
• 7:10– 8:30pm Speaker:Stacia Varga,leadauthorofIntroducingMicrosoftSQLServer2016
• 8:30–8:45pm Questions
MeetingsMonthly
o FirstThursdayofeachmonth
o MeetingsalternatebetweenMicrosoftofficesinSanFranciscoandMountainView
o Agenda:• 6:30pm– 7:00pm
o Introductions, food,networking• 7:00– 8:30pm
o Presentation andQ&A
Locations
MicrosoftReactorinSanFrancisco680FolsomStreet,Suite300
MTCinMountainView1065LaAvenida,Building1I-101attheShorelineBlvdexit
SQLServergroupsrenamed
o SanFranciscoMicrosoftDataPlatformUserGroupo SiliconValleyMicrosoftDataPlatformUserGroup
March2016Meetings
¨ MountainView– Tuesday,March15n WhyCustomerSuccessisTheHottestThingInTechnology
n IritEizips,CSMPractice
¨ SanFrancisco–Wednesday,March9n SparkonHDInsight
n Jarek Kazmierczak,Microsoft
WhyAttend?
• Day1KeynotespeakerJer Thorp,renowneddataartistandeducator.
• LearningwithindustryexpertsinPowerBI,Excel,BigData,PredictiveAnalytics,DataVisualization,andmore.
• 60+hoursofin-depth sessionsandlabsintracksthatfollowtheAnalyst’sJourney.
• Networkingexperienceswithhundredsofanalyticsprofessionalsfromaroundtheworld.
*Learnaboutthereferralprogramtoreceivea$50AmazonGiftCard athttp://ow.ly/XHK7O
May 2 – 4, 2016San Jose, CA
REGISTERTODAYpassbaconference.com
Whataboutyou?
o AttendeeAnnouncements• NewJobs• NewProjects• Projectscompleted• Upcominglearningopportunities
Tonight’sSpeaker
o StaciaVarga• Speaker• Author• Pluralsight Trainer• Consultant
o LeadauthorofIntroducingMicrosoftSQLServer2016o Tonight’sPresentation:What’sNewforBIinSQLServer2016
Stacia (Misner) Varga
• Over30yearsofITexperience,17yearsofBIexperience
• Frequentlyspeaks,writes,andteachesaboutMicrosoftBItechnologies
• PrincipalConsultantandFounder,DataInspirations
• DataPlatformMVPandSSASMaestro
• LasVegasUserGroupChapterLeaderandSQLSaturdayOrganizer
• Wantsyoutomakesureyoucanunderstandwhatyourdataistellingyou
IntegrationServices
• Deployment• DataFlow• ControlFlow• AlwaysOn• AlwaysEncrypted• Azure• Miscellaneous
IncrementalDeployment
• Deploymentbypackage(optional)• Versionsmaintainedatprojectlevelincatalog• Supportin…
o DeploymentWizardo SSMSo SSDTo deploy_packages storedprocedure
16
Logging
• Newlogginglevel:RuntimeLineageo Addsinformationaboutdataflowo Accessincatalog.event_message_context
• Createandsavemultiplelogginglevelsincatalog,picktheonetousewhenrunningpackageo Selectstatisticsandeventstocaptureo Optionallyincludecontext:variablevalues,connectionstrings,taskproperties
• Newssis_logreader database-levelroleincatalog
17
ODataSupport
• ODatav3protocolo ATOMandJSONdataformats
• ODatav4protocolo JSONdataformat
• Queryoptions:o $orderby=CompanyName&$top=100
18
DataFeedPublishing
• Componentso OLEDBProviderforSSIS(LinkedServer)
o DataStreamingDestinationo SSISPackagePublishingWizard
• ISDataFeedPublishingWizard.exe• PublishespackageasSQLviewonlinked server
• PowerBIAdminCentero ExposeviewasODatafeedo ConsumeusingPowerQuery
20
See more info at https://msdn.microsoft.com/en-us/library/dn600376.aspx
SELECT * FROM OPENQUERY([Default Linked Server for Integration Services], N'Folder=Power BI;Project=SSISPackagePublishing;Package=Package.dtsx')
ControlFlowTemplates
22
• Onetaskorcontainerpertemplate
• Cannotrunordebugtemplate
• Usetemplatesfromsameordifferentproject
AlwaysEncrypted• Requires ADO.NET
connectionmanager• SetColumnEncryption
SettingtoEnabled• Useparameterized Execute
SQLtasktoinsert,updateorcompareencryptedcolumns
• Dataviewerdisplaysunencrypted databecausecolumnmasterkeyduringdesignstored forCurrentUser
• Import/export CMKtotargetmachineforexecutiononserver
23
AlwaysOn
• AlwaysOnAvailabilityGroupsreplacedatabasemirroringandfailover
• SSISDBcannowbepartofanAlwaysOnAvailabilityGroupo Projectso Packageso Execution Logs
• Prerequisiteso Windows failover clustero SSISinstallationoneachnodeo EnableAlwaysOn foreachSQLServerinstanceo AddSSISDBtoavailability groupo EnableAlwaysOn forSSISDBcatalog
24
AzureFeaturePack
• Downloadfromhttps://www.microsoft.com/en-us/download/details.aspx?id=49492
• ConnectionManagerso Azure StorageConnectionManagero Azure SubscriptionConnectionManager
• Taskso BlobUploadandDownloado HDInsight HiveandPigtaskso HDInsight CreateandDelete Clustertasks
• DataFlowo BlobSourceo BlobDestination
25
IntegrationServices- Miscellaneous
• Components
o ChangeDataCapture DesignerandService forOracleo SupportforExcel2013andExcel2016o AnalysisServices ExecuteDDLTasko Hadoopconnectionmanager (basicandKerberos authentication)o Hadoop
• FileSystemTask• HiveTask• PigTask
o SAPBWforSQL2016• Performance
o AutoAdjustBufferSize property– automaticallycalculatesbuffer size
26
AnalysisServices
• DirectQueryModeEnhancements• CalculatedTables• BidirectionalCross-Filtering• FormulaBarImprovements• NewDAXFunctions• DAXVariables• Translations
DirectQuery ModeSources
• Beforeo SQLServer2005orlater
• Nowo SQLServer2008orlatero AzureSQLDatabaseo AnalyticsPlatformSystem(formerlyParallelDataWarehouse)
o Oracle9i,10g,11g,and12go TeradataV2R6,V2
28
DirectQuery ModeDesign
• Importtableo Default:workwithmetadataonly
o Optional:editpartitiontouseSampleData• Processtoseeindesigner
• UsetoAnalyze inExcelo Besuretosetsampledataforalltablesinmodel
29
CalculatedTables
• Createsmalldatasetstosatisfysimplerequirementswithout addingalotofoverheadtoyourtechnicalinfrastructure
• Prototypeasolutionbeforebuildingacompletesolution• CreateasimpledatetablebyusingthenewCALENDAR()
orCALENDARAUTO()functions• Separatearole-playingdimensionintomultipletables
forsimplermodeling
30
Bi-DirectionalCross-Filtering
31
Unidirectional filtering between products and sales means no
additional filter by year
Bidirectional filtering adds year filter on
sales to products filter
FormulaBarImprovements• Syntaxcoloring Functionsarenowdisplayedinabluefont,variables in
acyanfont,andstringconstants inaredfonttodistinguish theseexpression elementsmoreeasilyfromfieldsandotherelements.
• IntelliSense Errors arenowidentified byawavyredunderscore, andtypingafewcharacters displaysafunction, table,orcolumnnamethatbeginswithmatchingcharacters.
• Formatting You canpersist tabsandmultiplelinesbypressingAlt+Enter inyourexpression toimprove legibility.Youcanalsoincludeacommentlinebytyping// asaprefix toyourcomment.
• Formula fixup Inamodelsettocompatibilitylevel1200,themodeldesigner automaticallyupdatesmeasures thatreference arenamedcolumnortable.
• Incomplete formulapreservation Inamodelsettocompatibilitylevel1200,youcanenteranincomplete formula, saveandclosethemodel,andthenreturn toyourworkatalatertime.
32
NewDAXFunctions…Justtonameafew
• Calendar()andCalendarAuto()• DateDiff()• Median()• Manystatisticalfunctions
o Beta.Dist()o Chisq.Inv()o Expon.Dist()
• Andtrig…andfilters...Andmore...
33
DAXVariablesNon Bikes Sales Under $50 % of Total:=// create a table for all categories except Bikesvar
tNonBikes = filter(values(Category[CategoryName]), Category[CategoryName]<> "Bikes")// get the total of sales for tNonBikes table where UnitPrice is less than 50var
NonBikeSalesUnder50 = sumx(tNonBikes,
calculate(sum([SalesAmount]),'Internet Sales'[UnitPrice]<50))// get the total of all sales for tNonBikes table var
NonBikeAllSales = sumx(tNonBikes, calculate(sum([SalesAmount])))
// divide the first total by the second totalreturn
NonBikeSalesUnder50 / NonBikeAllSales
34
KPIs
• Createanewdatasource• Createanewshareddatasetindesigner• CreatenewKPIinbrowser– value/goal/statususesonly
firstrow,trendisacolumn
40
MobileReports
• Mobilereportpublishero LocalExceldataorshareddataseto Desktopvsphonelayouto PowerBIapptoconnecttoSSRSserver– canviewKPIsandmobilereports
41
MobileReportElements
• Navigators Anavigatorfiltersdatabyatimerangeorbyoneormoreselectedvalues.
• Gauges Agaugecomparesavaluetoatargetnumericallyorgraphically,orboth.
• Charts Achartusesvisualizationstosummarizeadataviewbyusingcolumnsorshapes.
• Maps Amapusescolortosummarizedatabygeographicalboundariesorsuperimposesbubblesrepresentingaggregateddataongeographicalregionstoenablecomparisonsbygeography.
• DataGrids ADataGrid isatablecontainingafixedsetofcolumnsandavariablenumberofrows.Itcandisplaydataonly,oroptionallyitincludedeltavaluesorindicators(orboth)andasimplechart.
42
Downloads
• SQLServer2016CTP3.3o https://www.microsoft.com/en-us/evalcenter/evaluate-sql-server-2016
• SQLServerDataToolsPreviewinVisualStudio2015o https://msdn.microsoft.com/en-us/mt429383
• ReportBuilderCTP3.3o https://www.microsoft.com/en-us/download/details.aspx?id=50818
• MobileReportPublisher(PublicPreview2)o https://www.microsoft.com/en-us/download/details.aspx?id=50400
50