1๏ธโฃ Explain DAX CALCULATE() Function
Used to modify the filter context of a measure.
โ Example:
CALCULATE(SUM(Sales[Amount]), Region = "West")2๏ธโฃ What is ALL() function in DAX?
Removes filters โ useful for calculating totals regardless of filters.
3๏ธโฃ How does FILTER() differ from CALCULATE()?
FILTER returns a table; CALCULATE modifies context using that table.
4๏ธโฃ Difference between SUMX and SUM?
SUMX iterates over rows, applying an expression; SUM just totals a column.
5๏ธโฃ Explain STAR vs SNOWFLAKE Schema
- Star: denormalized, simple
- Snowflake: normalized, complex relationships
6๏ธโฃ What is a Composite Model?
Allows combining Import + DirectQuery sources in one report.
7๏ธโฃ What are Virtual Tables in DAX?
Tables created in memory during calculation โ not physical.
8๏ธโฃ What is the difference between USERNAME() and USERPRINCIPALNAME()?
Used for dynamic RLS.
- USERNAME(): Local machine login
- USERPRINCIPALNAME(): Cloud identity (email)
9๏ธโฃ Explain Time Intelligence Functions
Examples:
-
TOTALYTD(), DATESINPERIOD(), SAMEPERIODLASTYEAR()Used for date-based calculations.
๐ Common DAX Optimization Tips
- Avoid complex nested functions
- Use variables (VAR)
- Reduce row context with calculated columns
1๏ธโฃ1๏ธโฃ What is Incremental Refresh?
Only refreshes new/changed data โ improves performance in large datasets.
1๏ธโฃ2๏ธโฃ What are Parameters in Power BI?
User-defined inputs to make reports dynamic and reusable.
1๏ธโฃ3๏ธโฃ What is a Dataflow?
Reusable ETL layer in Power BI Service using Power Query Online.
1๏ธโฃ4๏ธโฃ Difference Between Live Connection vs DirectQuery vs Import
- Import: Fast, offline
- DirectQuery: Real-time, slower
- Live Connection: Full model lives on SSAS
1๏ธโฃ5๏ธโฃ Advanced Visuals Use Cases
- Decomposition Tree for root cause analysis
- KPI Cards for performance metrics
- Paginated Reports for printable tables
๐ Tap for more!