The document provides a comprehensive overview of DAX (Data Analysis Expressions) and its functionalities, including DAX levels 1, 2, and 3, along with exercises for practical application. It covers the history of Power Pivot, essential DAX functions, and concepts such as measures and calculated columns. Additionally, the document includes filtering techniques and examples for implementing various DAX formulas to analyze data effectively.
Exercise 1
• Sum()
•Total Spend
• Total Qty
• Count()
• Total Vendors
• Total Items
• Countrows()
• Total Transactions
• Distinctcount()
• Vendors that Have
Transactions
• Items Purchased
• Max(), Min(), Average()
• Avg Unit Price
• Min Unit Price
• Max Unit Price
• Divide()
• Avg Vendor Spend Amt
What If Offwas On Amount :=SUMX ('Item',
IF ([Off Contract Avg Unit Price] > [On Contract Avg Unit Pric
e],[Off Contract Qty] * [On Contract Avg Unit Price])
)
What If Savings :=SUMX ( 'Item', [What If Off was On Amou
nt] - [Off Contract] )
82.
Exercise
• Calculate()
• OnContract
• Off Contract
• Optional
• Compliance %
• MaxX()
• Max Item Total Spend