Analyze Brexit Vote Data with Basic DAX Measures
Learn to create simple DAX measures using SUM and DIVIDE for calculating vote proportions, and SUMX for summing expressions over a table to find vote differences.
Concept Library
Pick a concept, read the explanation, download the starter PBIX, and submit the result after you finish the report.
Learn to create simple DAX measures using SUM and DIVIDE for calculating vote proportions, and SUMX for summing expressions over a table to find vote differences.
Learn to write fundamental DAX measures using aggregation functions like SUM, AVERAGE, MAX, MIN, and iterator functions like SUMX and AVERAGEX, to calculate various statistics.
Learn to calculate Quarter-to-Date (QTD) sales and sales for the immediately preceding quarter using Power BI's time intelligence functions.
Learn to calculate a ratio using DAX variables to improve readability and maintainability, while also implementing robust error handling for divide-by-zero scenarios.
Learn to use the CALCULATE function to override existing filter contexts, enabling comparative analysis of metrics against a fixed baseline (e.g., comparing country-specific values to a national standard).
Learn how to use CALCULATE and KEEPFILTERS to precisely control filter context within measures, ensuring calculations apply to specific data subsets while respecting or overriding existing filters.
Learn how to create calculated columns in Power BI Desktop using basic arithmetic operators and the DIVIDE function to derive new insights from existing data at the row level.
Learn to create dynamic and informative visual labels and tooltips in Power BI using SELECTEDVALUE for single/multiple selections and CONCATENATEX for summarized lists.
Learn to create basic DAX aggregate measures like average and count, including the correct application of AVERAGEX when averaging expressions, to analyze film financial data.
Learn to use the CALCULATE function in DAX to apply single and multiple filters to measures, including combining filter conditions with logical OR (||).
Learn to write a DAX query using EVALUATE to filter and order data based on a calculated ratio between 'Remain' and 'Leave' votes.
Learn to use the RELATED function in a DAX calculated column to concatenate related data from multiple tables, creating more informative chart labels.
Learn how to use the FILTER function with multiple criteria (AND operator) to selectively sum data in Power BI, building on basic SUMX measures.
Learn how to safely divide one column by another in DAX, specifically focusing on preventing and handling divide-by-zero errors to ensure data integrity and clean reporting.
Create calculated columns in Power BI with DAX conditional logic, then verify the result in report visuals.
Learn how to effectively use the `FILTER` function within an iterator like `AVERAGEX` to perform calculations on a dynamically filtered subset of a table.
Learn to effectively use the REMOVEFILTERS function within CALCULATE to modify or completely clear filter context for measures, enabling robust comparative analysis and consistent visual displays in Power BI.
Understand and apply the CALCULATE function to modify and remove filter contexts using ALL, thereby calculating contributions relative to different total scopes.
Learn to use DAX variables to break down complex formulas into logical, readable steps, improving both maintainability and understanding of measures.
Learn to use fundamental DAX time intelligence functions like PREVIOUSMONTH and DATEADD to compare current period data with previous periods, enhancing temporal analysis in Power BI.
Learn how to use a disconnected slicer to dynamically influence measure calculations without directly filtering the main data model, and how to apply this to visual titles and conditional formatting.
Understand and apply the DAX FILTER function to create virtual tables and modify filter context dynamically within measures, enabling complex aggregations based on related table conditions.
Learn to create calculated columns that leverage implicit context transition for row-specific calculations and columns that override context to calculate global totals.
Create robust measures using CALCULATE to apply various filters and calculate conditional aggregations, such as percentages based on venue status, show cancellations, and ticket sales.
To calculate the required number of comfort breaks for each film based on its running time, by referencing a non-joined comfort breaks table using the EARLIER function to manage row context.
Learn how to use the SUMMARIZE function to group data and calculate aggregate measures such as average film length and total Oscars won per genre.
Understand and apply the FILTER and EARLIER functions to create a cumulative total over a date column in Power BI, and explore an alternative approach using variables.
Learn to apply DAX date intelligence functions like TOTALYTD, DATESYTD, and PARALLELPERIOD in conjunction with CALCULATE to perform time-based calculations and derive insightful ratios.
Learn how to use the ALLEXCEPT function in DAX to dynamically remove all filters from a table except for specified columns, enabling calculations like percentage of year total within a filtered context.
Learn to calculate different types of ratios and proportions by dynamically modifying filter contexts using the CALCULATE and ALL DAX functions, applying these concepts to Premier League results data.
Learn to use COUNTROWS in conjunction with RELATEDTABLE to count rows in related tables and then perform calculations based on these counts, creating new calculated columns for insightful data analysis.
Learn to use the DAX SWITCH function with TRUE() to categorize numerical data into predefined bands within a calculated column, enhancing data analysis and reporting.
Learn to create DAX measures that conditionally omit specific data categories (like environments) from calculations in a matrix visual, leveraging the CALCULATE, VALUES, and FILTER functions to manipulate filter context.
Learn to apply conditional DAX functions such as IF, SWITCH, ISBLANK, AND, and OR to create descriptive calculated columns, enhancing data categorization and reporting in Power BI.
Learn to import, configure, and integrate a custom date table in Power BI Desktop to ensure proper time intelligence functionality and flexible date analysis.
Learn to create fundamental DAX measures using COUNTROWS and SUM, and apply basic arithmetic operations to calculate key statistics from different tables.
Learn to create various calculated columns in Power BI using DAX to derive new analytical insights from existing data, including handling potential errors with DIVIDE.
Learn to create dynamic labels for card visuals and detailed tooltips for charts using various DAX functions to enhance report interactivity and user experience.
Create a DAX measure using variables and CALCULATE to determine the ratio of sales for the current filter context to the sales of 4-legged and 6-legged animals combined within that same context, handling potential division by zero.
Learn to calculate an average profit margin using DAX, handle potential division by zero errors gracefully, and display multiple related measures effectively in Power BI.
Learn to create a dynamic measure for a report title that automatically updates based on user selections in a slicer, handling single, multiple, or no selections.
Learn to create a DAX measure that dynamically displays product names in a table, showing a single product, a list of multiple products, or a specific message for aggregated totals, leveraging the VALUES function.
Understand and apply the DAX FILTER function to create filtered tables for other functions, enabling dynamic calculations based on specific conditions.
Learn to create dynamic measures that adjust their output based on a single selection in a slicer, using `HASONEVALUE` and `VALUES` to retrieve the selected unit's divisor. Also, create a conditional title based on slicer selection.
Learn to create year-to-date time intelligence measures in DAX, correctly configuring them to respect a custom fiscal year ending on March 31st.
Understand and apply the DAX RELATED function to create calculated columns that retrieve values from related tables, including handling blank values.
To learn how to use the USERELATIONSHIP function to activate inactive relationships in DAX, allowing for flexible date-based calculations on a single date dimension.
Understand and apply the CALCULATE function to modify filter context within DAX measures, enabling calculations based on specific filter conditions.
Understand and apply the REMOVEFILTERS function within CALCULATE to manipulate filter context, enabling calculations that ignore specific filters or all filters.
Understand and apply the ALLSELECTED function to calculate percentages within a visual, ignoring internal visual filters but respecting external slicers.
Understand and apply the KEEPFILTERS function within CALCULATE to precisely control filter context for inclusion and exclusion scenarios, and to define conditional logic in Power BI visuals.
Learn to leverage Power BI's automatic date tables to create robust time intelligence measures using DAX functions like TOTALMTD, SAMEPERIODLASTYEAR, DATEADD, and ISINSCOPE for calculating running totals and period-over-period comparisons.
Learn to model a Power BI dataset with multiple date tables to analyze different date contexts (e.g., expense incurred date vs. paid date) simultaneously within the same report.
Understand and apply the DAX CALCULATE function to modify or replace existing filter contexts within Power BI visuals, using various filter conditions including logical operators and string functions.
Learn to use DAX variables to break down complex calculations into logical, readable steps, specifically for calculating a corrected percentage of unsold tickets per artist.
Learn how to use the RELATED DAX function to retrieve values from a related table into a calculated column, and effectively handle cases where no related value is found using ISBLANK.
Learn how to dynamically modify the filter direction of relationships within a Power BI data model using the CROSSFILTER function to enable advanced filtering and aggregation scenarios.
Create three complex DAX time intelligence measures: a quarter-over-quarter percentage, a year-to-date percentage against the previous full year, and a three-month moving average of monthly totals.
Learn to create an advanced DAX measure using the RANKX function to dynamically rank distinct categories based on an aggregated measure, correctly handling context transition for accurate results.