Download presentation
Presentation is loading. Please wait.
1
Tomasz Gołaszewski DAX Filter Context
2
DAX Filter Context Tomasz Gołaszewski Senior Data Architect in Seargin
Specialized in Business Intelligence (DWH, OLAP, Reporting) MS SQL Server certified (MTA, MCP, MCSA, MCSE – BI, MCSE – DMaA) Member and Speaker of Data Community Member and Speaker of Power BI User Group DAX Filter Context
3
Evaluation
4
Evaluation
5
Row Context
6
Row Context – Calculated Column
Net - =
7
Row Context – Calculated Column
8
Row Context – Measure
9
Row Context – Measure
10
Row Context – Measure
11
Row Context – Measure (3+3)/(10+10) <> (3/10)+(3/10)
GrossMargin SalesAmount 3 10 6/20 <> 0.3 <> 0.6
12
Row Context – Measure
13
Row Context Calculated columns.
SUMX, AVERAGEX, COUNTX, COUNTAX, MAXX, MINX, CONCATENATEX, MEDIANX, GEOMEANX, PRODUCTX, RANKX, FILTER, EARLIER. Doesn’t create a filter context.
14
Filter Context
15
Filter Context Category Baby Care Cars Food Year 2018 Filter Filter
Country Poland Canada Month January February Filter Filter
16
Filter Context Category Baby Care Cars Food Year 2018 Filter Filter
Country Poland Canada Month January February Filter Filter
17
Filter Context Category Baby Care Cars Food Filter Year Month 2018
January February Filter (Tuple) Country Poland Canada Filter
18
Filter Context Filter Filter Category Baby Care Cars Food Country
Filter (Tuple) Category Baby Care Cars Food Country Poland Canada Year Month 2018 January February
19
Filter Context Filter Context Category Baby Care Cars Food Country
Poland Canada Year Month 2018 January February SUM(Value) SUM(Value) SUM(Value) SUM(Value) SUM(Value) SUM(Value)
20
Filter Context Filter Context Category Baby Care Cars Food Country
Poland Canada Year Month 2018 January February SUM(Value) SUM(Value)
21
Filter Context Filter Context Category Baby Care Cars Food Country
Poland Canada Year Month 2018 January February SUM(Value)
22
Filter Context Functions
ALL ALLEXCEPT ALLNOBLANKROW ALLSELECTED CALCULATE CALCULATETABLE FILTER KEEPFILTERS LOOKUPVALUE REMOVEFILTERS SELECTEDVALUE ISCROSSFILTERED ISFILTERED
23
DEMO
24
Thank you for attendence!
Tomasz Gołaszewski Thank you for attendence!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.