内容简介
Nowexpandedandupdatedwithmodernbestpractices,thisisthemostcompleteguidetoMicrosoft’sDAXlanguageforbusinessintelligence,datamodeling,andanalytics.ExpertMicrosoftBIconsultantsMarcoRussoandAlbertoFerrarihelpyoumastereverythingfromtablefunctionsthroughadvancedcodeandmodeloptimization.You’lllearnexactlywhathappensunderthehoodwhenyourunaDAXexpression,andusethisknowledgetowritefast,robustcode.ThiseditionfocusesonexamplesyoucanbuildandrunwiththefreePowerBIDesktop,andhelpsyoumakethemostofthepowerfulsyntaxofvariables(VAR)inPowerBI,Excel,orAnalysisServices.WanttoleverageallofDAX’sremarkablecapabilities?Thisno-compromise“deepdive”isexactlywhatyouneed.PerformpowerfuldataanalysiswithDAXforPowerBI,SQLServer,andExcel·MastercoreDAXconcepts,includingcalculatedcolumns,measures,andcalculationgroups·Workefficientlywithbasicandadvancedtablefunctions·UnderstandevaluationcontextsandtheCALCULATEandCALCULATETABLEfunctions·Performtime-basedcalculations·Usecalculationgroupsandcalculationitems·Usesyntaxofvariables(VAR)towritemorereadable,maintainablecode·ExpressdiverseandunusualrelationshipswithDAX,includingmany-to-manyrelationshipsandbidirectionalfilters·Masteradvancedoptimizationtechniques,andimproveperformanceinaggregations·Optimizedatamodelstoachievebettercompression·MeasureDAXqueryperformancewithDAXStudioandlearnhowtooptimizeyourDAX