Skip to content

Microsoft Ecosystem · 121 pages

DAX (Data Analysis Expressions) is the formula language of Power BI, and of Power Pivot in Excel. Its measures work out each figure in the context of the report around it, so one measure can give sales by month, by customer or by product without being written again. These samples each solve one reporting problem: every page shows the dashboard and the data model, then the measures and tables behind them, and links to the Power BI file so you can open the model and try it yourself.

To look for a sample by what it calculates, or by the DAX functions it uses, see Find a sample below.

Narrow the samples by words in their title or description, by the measures and dimensions they report on, and by the DAX functions in their code. Choosing two functions finds the samples that use both.

Match ticked tags

A sample must carry every ticked tag

Measures
Dimensions
DAX functions

121 of 121 samples

  • Finance - P&L Tracking – Customised & Nested Pivot Tables - Alternative

    Finance · 29 March 2021

    Compares actuals against budget for each P&L line in a customised, three-level nested pivot table, using generalised DAX that adds derived lines such as gross profit.

    • Sales
    • Profits
    • Salary
    • Budgets
    • Calendar Time
    • ALL
    • BLANK
    • CALCULATE
    • DIVIDE
    • IF
    • ISFILTERED
    • MAX
    • MIN
    • OR
    • SUM
    • SUMX
    • SWITCH
    • TRUE
    • VALUES
  • Building a Matrix with Asymmetrical Columns and Rows

    Sales · 1 December 2020

    Builds a matrix with asymmetrical columns and rows, using either a SWITCH measure with a header table or a calculation group.

    • Sales
    • Sales Quantity
    • Calendar Time
    • Products
    • BLANK
    • CALCULATE
    • DIVIDE
    • FORMAT
    • IF
    • ISBLANK
    • SELECTEDVALUE
    • SWITCH
    • TRUE
  • Finance - Weekly Ops Report

    Finance · 26 November 2020

    Compares actual and forecast revenue by month and client, with pro forma revenue and a breakdown of actual revenue into confirmed, proposed and speculative parts.

    • Sales
    • Forecasts
    • Customers
    • Calendar Time
    • ALL
    • BLANK
    • CALCULATE
    • DIVIDE
    • FILTER
    • MAX
    • SUM
  • Finance - P&L Reports

    Finance · 12 November 2020

    Reports sales, staff costs, operating profit and conversion by P&L location, for actuals, budget, quarterly reforecasts (Q1RF, Q2RF, Q3RF) and pro forma scenarios.

    • Sales
    • Salary
    • Profits
    • Conversion
    • Budgets
    • Forecasts
    • PnL
    • Calendar Time
    • ABS
    • ALL
    • ALLSELECTED
    • AND
    • BLANK
    • CALCULATE
    • CALENDAR
    • DATATABLE
    • DATE
    • DATESINPERIOD
    • DATESMTD
    • DATESQTD
    • DATESYTD
    • DAY
    • DIVIDE
    • FILTERS
    • FORMAT
    • GENERATE
    • GENERATESERIES
    • HASONEFILTER
    • HASONEVALUE
    • IF
    • IFERROR
    • ISBLANK
    • ISFILTERED
    • LASTDATE
    • MAX
    • MONTH
    • OR
    • ROW
    • SAMEPERIODLASTYEAR
    • SELECTEDVALUE
    • SUM
    • SUMX
    • SWITCH
    • TRUE
    • VALUES
    • YEAR
  • Finance - Balance Sheet Reports

    Finance · 3 November 2020

    Reports accounts receivable, accrued revenue and net working capital from balance sheet data, by location and client, across ageing brackets.

    • Sales
    • Debtors
    • Accrued Revenue
    • Net Working Capital
    • PnL
    • Customers
    • Calendar Time
    • ALL
    • AVERAGE
    • AVERAGEX
    • BLANK
    • CALCULATE
    • CALENDAR
    • DATE
    • DATEADD
    • DATESINPERIOD
    • DAY
    • DISTINCTCOUNT
    • DIVIDE
    • EDATE
    • FILTER
    • FORMAT
    • GENERATE
    • GENERATESERIES
    • HASONEFILTER
    • IF
    • IFERROR
    • INT
    • ISBLANK
    • LASTDATE
    • MAX
    • MONTH
    • ROW
    • SAMEPERIODLASTYEAR
    • SELECTEDVALUE
    • SUM
    • SUMMARIZE
    • SUMX
    • SWITCH
    • TRUE
    • YEAR
  • Finance - P&L Tracking – Cube Formulae

    Finance · 1 November 2020

    Compares actuals against budget for each P&L line, using Excel cube formulae.

    • Sales
    • Profits
    • Salary
    • Budgets
    • Calendar Time
    • BLANK
    • DATEVALUE
    • DIVIDE
    • MONTH
    • SUM
    • YEAR
  • Finance - P&L Tracking – Customised & Nested Pivot Tables

    Finance · 1 November 2020

    Compares actuals against budget for each P&L line in a customised, nested pivot table that adds lines such as gross profit and operating income.

    • Sales
    • Profits
    • Salary
    • Budgets
    • Calendar Time
    • BLANK
    • CALCULATE
    • COUNTROWS
    • DIVIDE
    • IF
    • MAX
    • SUM
    • SUMX
    • SWITCH
    • VALUES
  • Finance - Sales Tracking – Quarterly to Daily Budget

    Finance · 1 November 2020

    Compares actual sales against budget after converting a quarterly budget to a daily one, based on the number of working days in each period.

    • Sales
    • Budgets
    • Calendar Time
    • ALL
    • ALLEXCEPT
    • CALCULATE
    • CONTAINS
    • COUNTROWS
    • CROSSJOIN
    • DAY
    • DIVIDE
    • FILTER
    • FORMAT
    • IF
    • ISFILTERED
    • KEEPFILTERS
    • MONTH
    • NOT
    • SUM
    • SUMX
    • TOTALQTD
    • TOTALYTD
    • VALUES
    • WEEKDAY
    • WEEKNUM
    • YEAR
  • Finance - Payroll Tracking

    Finance · 29 October 2020

    Compares actual, forecast and budgeted pay for employees and contract staff over a year, and calculates the variances between them.

    • Salary
    • Budgets
    • Forecasts
    • PnL
    • Department
    • Sub-department
    • Calendar Time
    • ALL
    • BLANK
    • CALCULATE
    • DIVIDE
    • FILTER
    • HASONEVALUE
    • IF
    • ISFILTERED
    • MAX
    • SUM
    • SUMX
    • TRIM
    • VALUES
  • Finance - Daily Cashflows

    Finance · 22 October 2020

    Shows projected payments, receipts and cash balances by country over a 92-day period, with all cashflows converted to GBP.

    • Cash
    • Country
    • Calendar Time
    • AVERAGE
    • CALCULATE
    • FILTER
    • MAX
    • SUM
    • SUMMARIZE
    • SUMX
    • TODAY
  • HR - Salary Increases

    HR · 21 October 2020

    Shows salaries and salary increases by gender, month and reason for the increase.

    • Salary
    • Employees
    • Gender
    • Calendar Time
    • Salary Increase Reason
    • Increase Eligibility
    • ALLEXCEPT
    • AND
    • AVERAGE
    • AVERAGEX
    • BLANK
    • CALCULATE
    • CALCULATETABLE
    • CALENDAR
    • COUNTA
    • COUNTX
    • CROSSJOIN
    • EARLIER
    • EOMONTH
    • FILTER
    • IF
    • ISBLANK
    • MAX
    • MIN
    • OR
    • SUM
    • SUMMARIZE
    • SUMX
    • SWITCH
    • TODAY
    • WEEKDAY
  • HR - Accepted Open Roles

    HR · 19 October 2020

    Counts accepted open roles (new starters) by type of HR reference check and by whether probation has been passed.

    • Accepted Open Roles
    • Probation Status
    • HR Reference Check
  • HR - Exit Interviews

    HR · 8 October 2020

    Shows exit interview response rates, leaving scores and leaving reasons, with answers to other exit interview questions.

    • Exit Interviews
    • Leaving Scores
    • Response Rates
    • Job Grade
    • Department
    • Leaving Reason
    • Calendar Time
    • BLANK
    • CALCULATE
    • COUNT
    • DIVIDE
    • FILTER
    • MONTH
    • SUMMARIZE
    • YEAR
  • HR - Open Roles

    HR · 8 October 2020

    Counts open roles by recruitment status, type of hire, time to fill and expected hire date.

    • Open Roles
    • Recruitment Stage
    • Hire Type
    • Time to Fill
    • Expected Hire Date
    • AND
    • SWITCH
    • TODAY
    • TRUE
  • HR - Starters & Leavers

    HR · 8 October 2020

    Shows starters and leavers by quarter, department and job grade, with placed roles, turnover rates and the tenure of leavers.

    • Employees
    • Calendar Time
    • Recruitment Costs
    • Job Grade
    • Department
    • Recruitment Method
    • Calendar Time
    • BLANK
    • CALCULATE
    • COUNT
    • DIVIDE
    • FILTER
    • MONTH
    • SUMMARIZE
    • YEAR
  • HR - Inventory, Tenure, & Salary

    HR · 3 October 2020

    Shows employee inventory movements, running tenure, headcount, salaries, and new hires and leavers, by gender, department and job grade.

    • Employees
    • Calendar Time
    • Salary
    • Job Grade
    • Department
    • Employees
    • Gender
    • Calendar Time
    • Tenure Bracket
    • ALLEXCEPT
    • AND
    • AVERAGE
    • AVERAGEX
    • BLANK
    • CALCULATE
    • CALENDAR
    • COUNTA
    • CROSSJOIN
    • DATESBETWEEN
    • DIVIDE
    • EARLIER
    • EOMONTH
    • FILTER
    • IF
    • ISBLANK
    • ISFILTERED
    • MAX
    • MIN
    • OR
    • PREVIOUSMONTH
    • SUM
    • SUMMARIZE
    • SUMX
    • SWITCH
    • TODAY
    • TRUE
    • WEEKDAY
  • HR - Metrics Report - Monthly Salaries, Pro-Rated Salaries, Average Salaries, Running Average Salaries, Total To Date Salaries, and Annual Compensation Ratios

    HR · 30 September 2020

    Shows monthly, pro-rated, average, running average and total-to-date salaries, with annual FTE salaries and annual compensation ratios, by department, gender, age group and job grade.

    • Salary
    • Compensation Ratio
    • Employees
    • Job Grade
    • Country
    • Department
    • Full or Part
    • Age Group
    • Gender
    • Calendar Time
    • ALL
    • ALLEXCEPT
    • AND
    • AVERAGE
    • AVERAGEX
    • BLANK
    • CALCULATE
    • CALCULATETABLE
    • CALENDAR
    • CROSSJOIN
    • DATESBETWEEN
    • DISTINCTCOUNT
    • DIVIDE
    • EARLIER
    • EOMONTH
    • FILTER
    • IF
    • ISBLANK
    • ISFILTERED
    • LOOKUPVALUE
    • MAX
    • MIN
    • OR
    • SUM
    • SUMMARIZE
    • SUMX
    • SWITCH
    • TODAY
    • TRUE
    • WEEKDAY
  • HR - Payroll Analytics, and Employee Profile Changes (Job Grade, Department, and P&L) over time

    HR · 27 September 2020

    Shows payroll measures (salary, pension and employer's NI) for each employee, and month-on-month changes in their job grade, department and P&L.

    • Salary
    • Job Grade
    • Department
    • PnL
    • Employees
    • PnL
    • Department
    • Job Grade
    • Nominal Ledger
    • Calendar Time
    • ALL
    • ALLSELECTED
    • AND
    • AVERAGE
    • BLANK
    • CALCULATE
    • COUNTROWS
    • DIVIDE
    • FILTER
    • GROUPBY
    • HASONEFILTER
    • HASONEVALUE
    • IF
    • ISFILTERED
    • MAX
    • MONTH
    • NOT
    • PREVIOUSMONTH
    • RANKX
    • SUM
    • SUMMARIZE
    • SWITCH
    • TOPN
    • TOTALYTD
    • TRUE
    • VALUES
  • HR - Showing Inventory Utilisation over time

    HR · 24 September 2020

    Shows weekly utilisation for each employee across client, non-client and a third time category, as a table and as a stacked bar chart filterable by country, department and employee.

    • Hours
    • Employees
    • Country
    • Department
    • Calendar Time
    • ADDCOLUMNS
    • AVERAGE
    • BLANK
    • CALCULATE
    • DIVIDE
    • GROUPBY
    • SUM
    • SUMX
  • HR - Showing Employee Salaries & analysing trends in Actual and Average Running (Pro-Rated) Salaries over time

    HR · 17 September 2020

    Builds an employee salary inventory table entirely in DAX and shows monthly salaries by job grade, department, country and office, with a running average monthly salary (pro-rated to a full month) by job grade.

    • Salary
    • Employees
    • Job Grade
    • Country
    • Department
    • Full or Part
    • Calendar Time
    • ALLEXCEPT
    • AND
    • AVERAGE
    • AVERAGEX
    • BLANK
    • CALCULATE
    • CALCULATETABLE
    • CALENDAR
    • CROSSJOIN
    • DATESBETWEEN
    • DISTINCTCOUNT
    • DIVIDE
    • EARLIER
    • EOMONTH
    • FILTER
    • IF
    • ISBLANK
    • ISFILTERED
    • MAX
    • MIN
    • OR
    • SUM
    • SUMMARIZE
    • SUMX
    • SWITCH
    • TODAY
    • WEEKDAY
  • HR - Showing Inventory Movements & analysing Total Running Tenure over time

    HR · 15 September 2020

    Shows employee movements (external and internal) by job grade, country, office and department over months and quarters, with running tenure in years and tenure by job grade in months.

    • Employees
    • Calendar Time
    • Job Grade
    • Department
    • Employees
    • Gender
    • Calendar Time
    • Tenure Bracket
    • ALLEXCEPT
    • AND
    • AVERAGE
    • AVERAGEX
    • BLANK
    • CALCULATE
    • COUNTA
    • CROSSJOIN
    • EARLIER
    • FILTER
    • IF
    • ISBLANK
    • ISFILTERED
    • MAX
    • MIN
    • OR
    • SUM
    • SUMMARIZE
    • SUMX
    • SWITCH
    • TODAY
    • TRUE
  • Aged Receivable Balances (Days left until Due Date)

    Sales · 30 July 2019

    Groups the receivables due from each customer by the number of days left until the invoice due date.

    • Sales
    • Receivables
    • Customers
    • Calendar Time
    • ALL
    • ALLSELECTED
    • AND
    • BLANK
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DATEDIFF
    • DAY
    • FILTER
    • GENERATE
    • IF
    • MAX
    • MIN
    • MONTH
    • ROW
    • SUMX
    • YEAR
  • Allocation of a Monthly Product Budget using the TREATAS and FILTER functions

    Sales · 30 July 2019

    Allocates a monthly product budget down to individual days without model relationships, using either FILTER or TREATAS.

    • Sales
    • Budgets
    • Products
    • Calendar Time
    • ADDCOLUMNS
    • ALL
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • CROSSJOIN
    • DATE
    • DAY
    • DISTINCT
    • DIVIDE
    • FILTER
    • GENERATE
    • HASONEVALUE
    • IF
    • MONTH
    • OR
    • ROW
    • SELECTEDVALUE
    • SUM
    • SUMMARIZECOLUMNS
    • SUMX
    • TREATAS
    • VALUES
    • YEAR
  • Allocation of Annual Budget (by Monthly weightings given). Comparison with Total Actual Sales

    Sales · 30 July 2019

    Compares actual sales with an annual budget that is allocated to months by percentage weightings, using a seasonality measure.

    • Sales
    • Budgets
    • Calendar Time
    • ALL
    • AVERAGEX
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • FILTER
    • FORMAT
    • GENERATE
    • IF
    • ISBLANK
    • ISFILTERED
    • LASTDATE
    • LOOKUPVALUE
    • MONTH
    • ROW
    • SELECTEDVALUE
    • SUMX
    • VALUES
    • YEAR
  • Allocation of Annual Budget (by Monthly weightings given). Comparison with Total Actual Sales - 2

    Sales · 30 July 2019

    Compares actual sales with an annual budget that is allocated to months by percentage weightings.

    • Sales
    • Budgets
    • Calendar Time
    • AVERAGE
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • GENERATE
    • HASONEVALUE
    • IF
    • ISBLANK
    • LOOKUPVALUE
    • MONTH
    • ROW
    • SELECTEDVALUE
    • SUMX
    • TREATAS
    • VALUES
    • YEAR
  • Allocation of Monthly Product Budget, calculated dynamically, across different Date & Time periods

    Profits & budgets · 30 July 2019

    Allocates a monthly product budget dynamically across any date period, down to individual days.

    • Budgets
    • Products
    • Calendar Time
    • ADDCOLUMNS
    • ALL
    • ALLSELECTED
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • CROSSJOIN
    • DATE
    • DAY
    • DISTINCT
    • DIVIDE
    • FILTER
    • GENERATE
    • HASONEVALUE
    • IF
    • MONTH
    • OR
    • ROW
    • SELECTEDVALUE
    • SUM
    • SUMMARIZE
    • SUMMARIZECOLUMNS
    • SUMX
    • VALUES
    • YEAR
  • Average number of unique products bought each Quarter, by each Customer

    Sales · 30 July 2019

    Shows the average number of unique products that each customer buys each quarter.

    • Products
    • Customers
    • ALL
    • AVERAGEX
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • DISTINCTCOUNT
    • GENERATE
    • MONTH
    • ROW
    • VALUES
    • YEAR
  • Average of Monthly Sales, Year to Date

    Sales · 30 July 2019

    Shows the average of monthly sales, year to date.

    • Sales
    • Calendar Time
    • ALL
    • AVERAGEX
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • FILTER
    • GENERATE
    • MAX
    • MONTH
    • ROW
    • SUMX
    • TOTALYTD
    • VALUES
    • YEAR
  • Average of Total Sales & Total Transactions per Customer

    Sales · 30 July 2019

    Compares average sales and average transactions per customer for a selection of customers with those for all customers.

    • Sales
    • Orders
    • Customers
    • Products
    • Calendar Time
    • ALL
    • AVERAGEX
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • GENERATE
    • MONTH
    • ROW
    • SUMX
    • VALUES
    • YEAR
  • Average of Total Sales & Total Transactions per Product

    Sales · 30 July 2019

    Compares average sales and average transactions per product for a selection of products with those for all products.

    • Sales
    • Orders
    • Customers
    • Calendar Time
    • ALL
    • AVERAGEX
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • GENERATE
    • MONTH
    • ROW
    • SUMX
    • VALUES
    • YEAR
  • Average Sales per Month, along with the Sum of all Average Sales of each Month

    Sales · 30 July 2019

    Shows total and average sales for each month, with a yearly total that sums the monthly averages.

    • Sales
    • Calendar Time
    • AVERAGEX
    • CALENDAR
    • DATE
    • DAY
    • GENERATE
    • HASONEVALUE
    • IF
    • MONTH
    • ROW
    • SUMMARIZE
    • SUMX
    • VALUES
    • YEAR
  • Average Sales, Profits, and Profit Margins per Transaction

    Sales · 30 July 2019

    Shows average sales, profits and profit margins per transaction, by product, customer and period.

    • Sales
    • Profits
    • Products
    • Customers
    • Calendar Time
    • AVERAGEX
    • CALENDAR
    • DATE
    • DAY
    • DIVIDE
    • GENERATE
    • MONTH
    • ROW
    • SUMX
    • VALUES
    • YEAR
  • Basket Analysis – No. of Customers who bought an initial basket of products, which also overlaps with another basket of products

    Customers · 30 July 2019

    Counts the customers who bought an initial basket of products that overlaps with a second basket.

    • Customers
    • Products
    • Basket Analysis
    • CALCULATE
    • CALCULATETABLE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • DISTINCTCOUNT
    • GENERATE
    • INTERSECT
    • MONTH
    • ROW
    • TREATAS
    • VALUES
    • YEAR
  • Calculating Dynamic % of Totals

    Sales · 30 July 2019

    Shows each product's revenue as a percentage of total sales for all products.

    • Sales
    • Products
    • ALL
    • BLANK
    • CALCULATE
    • CALENDAR
    • DATE
    • DATEADD
    • DAY
    • DIVIDE
    • GENERATE
    • IF
    • MONTH
    • ROW
    • SUMX
    • YEAR
  • Comparing Cumulative Sales for the current month, with Cumulative Sales from a month, and two months ago

    Sales · 30 July 2019

    Compares cumulative sales with cumulative sales from one month and two months earlier, and shows the difference from last month.

    • Sales
    • Calendar Time
    • ALLSELECTED
    • BLANK
    • CALCULATE
    • CALENDAR
    • DATE
    • DATEADD
    • DAY
    • FILTER
    • GENERATE
    • IF
    • ISBLANK
    • MAX
    • MONTH
    • ROW
    • SUMX
    • YEAR
  • Comparing Customer Lists Virtually

    Sales · 30 July 2019

    Counts the customers per product this year and last year, and the customers who bought in both years.

    • Sales
    • Customers
    • Products
    • CALCULATETABLE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DATESBETWEEN
    • DAY
    • GENERATE
    • INTERSECT
    • MAX
    • MIN
    • MONTH
    • ROW
    • SUMX
    • VALUES
    • YEAR
  • Comparison of Average Monthly Sales to Average Monthly Sales from LY – by region

    Sales · 30 July 2019

    Compares average monthly sales this year with average monthly sales last year, for each region.

    • Sales
    • Calendar Time
    • Geography
    • AVERAGEX
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • GENERATE
    • MONTH
    • ROW
    • SAMEPERIODLASTYEAR
    • SUMX
    • VALUES
    • YEAR
  • Comparison of Average Sales Order Size, to Average Sales Order Size for All Regions

    Sales · 30 July 2019

    Compares the average sales order size across products and customers with the average for all regions.

    • Sales
    • Customers
    • Products
    • Geography
    • ALL
    • AVERAGEX
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • GENERATE
    • MONTH
    • ROW
    • SUMX
    • VALUES
    • YEAR
  • Comparison of Average Sales per Day - Weekdays vs Weekends

    Sales · 30 July 2019

    Compares average sales per day on weekdays with average sales per day at weekends.

    • Sales
    • Calendar Time
    • Customers
    • Products
    • AVERAGEX
    • CALENDAR
    • DATE
    • DAY
    • FILTER
    • GENERATE
    • MONTH
    • ROW
    • SUMX
    • VALUES
    • YEAR
  • Comparison of Cumulative Monthly Budget with Actual Cumulative Sales, and Actual Cumulative Sales from LY

    Sales · 30 July 2019

    Compares cumulative sales with cumulative sales last year and with a cumulative budget allocated by monthly weightings.

    • Sales
    • Budgets
    • Calendar Time
    • ALLEXCEPT
    • ALLSELECTED
    • BLANK
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • FILTER
    • GENERATE
    • IF
    • ISBLANK
    • LOOKUPVALUE
    • MAX
    • MONTH
    • ROW
    • SAMEPERIODLASTYEAR
    • SELECTEDVALUE
    • SUMX
    • YEAR
  • Comparison of Cumulative Sales against the Cumulative Sales Run Rate

    Sales · 30 July 2019

    Compares cumulative sales with a cumulative run rate based on average daily sales.

    • Sales
    • Calendar Time
    • ALL
    • ALLSELECTED
    • BLANK
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • DIVIDE
    • FILTER
    • GENERATE
    • IF
    • ISBLANK
    • MAX
    • MAXX
    • MIN
    • MONTH
    • ROW
    • SUMMARIZE
    • SUMX
    • YEAR
  • Comparison of Current Month Sales vs Sales of Best Selling previous Month

    Sales · 30 July 2019

    Compares current month sales with the best previous month, as a percentage and as a difference.

    • Sales
    • Calendar Time
    • ALL
    • BLANK
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • DIVIDE
    • FILTER
    • GENERATE
    • IF
    • ISBLANK
    • MIN
    • MONTH
    • NOT
    • ROW
    • SUMMARIZE
    • SUMX
    • TOPN
    • YEAR
  • Comparison of Total Sales to Average Sales of Top 3 best Sales People. Also, sales of Top 2 best selling products, as a % of Total Sales

    Sales · 30 July 2019

    Compares each salesperson's sales with the average of the top three salespeople, and shows sales of the top two products.

    • Sales
    • Sales People
    • ALL
    • ALLSELECTED
    • AVERAGEX
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • DIVIDE
    • GENERATE
    • MAXX
    • MONTH
    • ROW
    • SUMX
    • TOPN
    • VALUES
    • YEAR
  • Correct Totals with Iterators

    Sales · 30 July 2019

    Takes the lower of this year's and last year's revenue, using an iterator so that the total is correct.

    • Sales
    • Customers
    • CALCULATE
    • CALENDAR
    • DATE
    • DATEADD
    • DAY
    • GENERATE
    • MIN
    • MONTH
    • ROW
    • SUMMARIZE
    • SUMX
    • YEAR
  • Cross Selling Analysis – No. of Customers who bought one type of product, who also bought another type of product

    Customers · 30 July 2019

    Counts the customers who bought one product, and those who also bought another, as a number and as a percentage.

    • Customers
    • Products
    • Cross-Selling Analysis
    • ALL
    • BLANK
    • CALCULATE
    • CALCULATETABLE
    • CALENDAR
    • DATE
    • DAY
    • DISTINCTCOUNT
    • DIVIDE
    • GENERATE
    • IF
    • MONTH
    • ROW
    • SELECTEDVALUE
    • USERELATIONSHIP
    • VALUES
    • YEAR
  • Cross Selling Analysis (Matrix) – No. of Customers who bought one type of product, who also bought another type of product

    Customers · 30 July 2019

    Counts the customers who bought one product and also bought another, as a number and as a percentage.

    • Customers
    • Products
    • Cross-Selling Analysis
    • ALL
    • BLANK
    • CALCULATE
    • CALCULATETABLE
    • CALENDAR
    • DATE
    • DAY
    • DISTINCTCOUNT
    • DIVIDE
    • GENERATE
    • IF
    • MONTH
    • ROW
    • SELECTEDVALUE
    • USERELATIONSHIP
    • VALUES
    • YEAR
  • Cross Selling Analysis (Matrix) 2 – No. of Customers who bought one type of product, who also bought another type of product

    Customers · 30 July 2019

    Counts the customers who bought one product and also bought another, as a number and as a percentage.

    • Customers
    • Products
    • Cross-Selling Analysis
    • ALL
    • BLANK
    • CALCULATE
    • CALCULATETABLE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • DISTINCTCOUNT
    • DIVIDE
    • GENERATE
    • IF
    • INTERSECT
    • MONTH
    • ROW
    • SELECTEDVALUE
    • TREATAS
    • USERELATIONSHIP
    • VALUES
    • YEAR
  • Cumulative Sales, from best selling to lowest selling Product

    Sales · 30 July 2019

    Shows cumulative sales across products ranked from the best selling to the lowest selling.

    • Sales
    • Products
    • ALL
    • BLANK
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • FILTER
    • GENERATE
    • GENERATESERIES
    • IF
    • MONTH
    • RANKX
    • ROW
    • SELECTEDVALUE
    • SUMMARIZE
    • SUMX
    • VALUES
    • YEAR
  • Cumulative Sales, using ALLEXCEPT, to ensure no resetting of Start Date

    Sales · 30 July 2019

    Uses ALLEXCEPT to calculate cumulative sales that do not reset from the original start date.

    • Sales
    • Calendar Time
    • ALLEXCEPT
    • CALCULATE
    • CALENDAR
    • CURRENTGROUP
    • DATE
    • DAY
    • FILTER
    • GENERATE
    • GROUPBY
    • MAX
    • MAXX
    • MONTH
    • ROW
    • SUMX
    • YEAR
  • Customer Cohort Analysis – Grouping of Customers into Monthly Cohorts based on their purchase dates

    Customers · 30 July 2019

    Groups customers into monthly cohorts by first purchase, then by how long they took to make a second purchase.

    • Customers
    • Cohort Analysis
    • ALL
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • DIVIDE
    • FILTER
    • GENERATE
    • IF
    • MIN
    • MONTH
    • ROW
    • SELECTEDVALUE
    • TREATAS
    • VALUE
    • VALUES
    • YEAR
  • Customer Margins Contracting Over Time

    Profits & budgets · 30 July 2019

    Shows which customers' profit margins are contracting, by comparing margins with their growth on the prior year.

    • Profits
    • Customers
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DATEADD
    • DAY
    • DIVIDE
    • GENERATE
    • MONTH
    • ROW
    • SAMEPERIODLASTYEAR
    • SUMX
    • YEAR
  • Customer Sales Contracting Over Time

    Sales · 30 July 2019

    Shows which customers' sales are contracting, by comparing this year's sales with last year's, both cumulatively and non-cumulatively.

    • Sales
    • Customers
    • Products
    • Calendar Time
    • ALLSELECTED
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • FILTER
    • GENERATE
    • MAX
    • MONTH
    • ROW
    • SAMEPERIODLASTYEAR
    • SUM
    • SUMX
    • YEAR
  • Customer Transaction History, by Transactions made over the past 4 Quarters

    Sales · 30 July 2019

    Shows, for each customer, the number of transacting days and the transactions made in each of the last four quarters.

    • Sales
    • Orders
    • Calendar Time
    • ALL
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • DISTINCTCOUNT
    • FILTER
    • FIRSTDATE
    • GENERATE
    • LASTDATE
    • LASTNONBLANK
    • MAXX
    • MONTH
    • ROW
    • SUMX
    • YEAR
  • Customers buying behind trend - Comparisons between CY & LY 90D Sales Running Totals

    Sales · 30 July 2019

    Shows which customers are buying behind trend, by comparing their 90-day running total of sales with last year's.

    • Sales
    • Customers
    • Calendar Time
    • ALL
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • FILTER
    • GENERATE
    • MAX
    • MONTH
    • ROW
    • SAMEPERIODLASTYEAR
    • SUMX
    • YEAR
  • Day with the Highest Average Sales per Day

    Sales · 30 July 2019

    Finds, for each product, the day with the highest average sales per day.

    • Sales
    • Calendar Time
    • Products
    • AVERAGEX
    • CALENDAR
    • DATE
    • DAY
    • GENERATE
    • MAXX
    • MONTH
    • ROW
    • SUMMARIZE
    • SUMX
    • TOPN
    • VALUES
    • YEAR
  • Dynamic Headings for a DAX Visualisation

    Sales · 30 July 2019

    Builds a dynamic heading for a visual, such as one naming the month with the highest sales in the selected period.

    • Sales
    • Calendar Time
    • ALLSELECTED
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • FORMAT
    • GENERATE
    • IF
    • MAX
    • MAXX
    • MONTH
    • ROW
    • SUMX
    • VALUES
    • YEAR
  • Dynamic lists of Top Customers

    Sales · 30 July 2019

    Ranks the top customers dynamically by sales, profits and profit margins.

    • Sales
    • Profits
    • Customers
    • ALL
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • DIVIDE
    • FILTER
    • GENERATE
    • MONTH
    • RANKX
    • ROW
    • SUMX
    • VALUES
    • YEAR
  • Dynamic Segmentation, with Parameters

    Sales · 30 July 2019

    Shows the sales of the top N and bottom customers dynamically in a table, a 100% bar chart and a regional donut chart.

    • Sales
    • Products
    • Geography
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • FILTER
    • GENERATE
    • GENERATESERIES
    • MONTH
    • ROW
    • SELECTEDVALUE
    • SUMMARIZE
    • SUMX
    • TOPN
    • VALUES
    • YEAR
  • Factors driving YoY Profit Growth

    Sales · 30 July 2019

    Separates how much of year-on-year profit growth comes from sales growth and how much from profit margin growth.

    • Sales
    • Profits
    • Customers
    • CALCULATE
    • CALENDAR
    • DATE
    • DATEADD
    • DAY
    • DIVIDE
    • GENERATE
    • MONTH
    • ROW
    • SAMEPERIODLASTYEAR
    • SUMX
    • YEAR
  • First products purchased by customers

    Sales · 30 July 2019

    Shows the first product each customer bought, as determined by their first purchase date.

    • Products
    • Customers
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • GENERATE
    • MAXX
    • MIN
    • MONTH
    • ROW
    • SUMMARIZE
    • SUMX
    • TOPN
    • YEAR
  • Grouping of Sales People, by No. of Transactions made in the last 180 days

    Sales · 30 July 2019

    Counts each sales person's transactions in the last 180 days and groups sales people by that count.

    • Orders
    • Sales People
    • ALL
    • ALLSELECTED
    • BLANK
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • FILTER
    • GENERATE
    • MAXX
    • MONTH
    • ROW
    • SELECTEDVALUE
    • YEAR
  • Handling Multiple Currencies

    Sales · 30 July 2019

    Shows sales in both local currency and GBP.

    • Sales
    • Exchange Rates
    • Calendar Time
    • CALENDAR
    • DATE
    • DAY
    • GENERATE
    • LOOKUPVALUE
    • MONTH
    • ROW
    • SUMX
    • YEAR
  • Highest Buying Customer per Product

    Sales · 30 July 2019

    Finds the highest-buying customer for each product, and that customer's sales of the product.

    • Sales
    • Products
    • Geography
    • BLANK
    • CALENDAR
    • DATE
    • DAY
    • GENERATE
    • IF
    • MAXX
    • MONTH
    • ROW
    • SUMMARIZE
    • SUMX
    • TOPN
    • YEAR
  • Highlighting the Last period in a DAX Visualisation

    Sales · 30 July 2019

    Highlights the last (or current) period in a visual, such as the latest month in a chart of monthly sales.

    • Sales
    • Calendar Time
    • ALL
    • ALLSELECTED
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • GENERATE
    • IF
    • MAX
    • MONTH
    • ROW
    • SUMX
    • YEAR
  • HR - Staff Turnover, based on Leaving Dates

    HR · 30 July 2019

    Shows staff turnover over time, based on each staff member's leaving date.

    • Employees
    • Calendar Time
    • BLANK
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • FILTER
    • GENERATE
    • ISBLANK
    • MAX
    • MIN
    • MONTH
    • OR
    • ROW
    • VALUES
    • YEAR
  • HR - Staffing Levels over time, based on each Member’s Join and Leave dates

    HR · 30 July 2019

    Shows staffing levels over time, based on each staff member's join and leave dates.

    • Employees
    • Calendar Time
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • FILTER
    • GENERATE
    • ISBLANK
    • MAX
    • MIN
    • MONTH
    • OR
    • ROW
    • VALUES
    • YEAR
  • Last Purchase Date, and Purchase Amount, by Customer and Product

    Sales · 30 July 2019

    Finds the date and amount of the last purchase for a particular customer and for a particular product.

    • Sales
    • Calendar Time
    • Customers
    • Products
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • GENERATE
    • LASTDATE
    • LASTNONBLANK
    • MONTH
    • ROW
    • SUMX
    • YEAR
  • Latest Date taken by each of a Questionnaire’s Participants

    Sales · 30 July 2019

    Finds the latest (maximum) date taken by each participant in a questionnaire.

    • Calendar Time
    • Calendar Time
    • ALL
    • CALENDAR
    • DATE
    • DAY
    • FILTER
    • GENERATE
    • MAXX
    • MONTH
    • ROW
    • SELECTEDVALUE
    • YEAR
  • Max Sales for a Product & Region combination, using the GROUPBY function

    Sales · 30 July 2019

    Uses GROUPBY to find the maximum total sales for a customer across product and region combinations.

    • Sales
    • Customers
    • Products
    • Geography
    • CALENDAR
    • CURRENTGROUP
    • DATE
    • DAY
    • GENERATE
    • GROUPBY
    • MAXX
    • MONTH
    • ROW
    • SUMX
    • YEAR
  • No. & Sales of Customers buying 2 (or 3) months in a row

    Sales · 30 July 2019

    Uses INTERSECT to count the customers who bought in 2 (or 3) consecutive months from any given month, and their total sales.

    • Sales
    • Customers
    • Calendar Time
    • BLANK
    • CALCULATE
    • CALCULATETABLE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DATEADD
    • DAY
    • GENERATE
    • IF
    • INTERSECT
    • MONTH
    • ROW
    • SUMX
    • VALUES
    • YEAR
  • No. and Percentage of Customers who bought a particular Product, more than once

    Customers · 30 July 2019

    Counts the customers who bought a particular product more than once, and shows them as a percentage of all customers.

    • Customers
    • Products
    • AVERAGEX
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • DISTINCTCOUNT
    • DIVIDE
    • FILTER
    • GENERATE
    • MONTH
    • ROW
    • SUMMARIZE
    • YEAR
  • No. of Actual Customers, and No. of Returning Customers (90 Day Churn Rate)

    Customers · 30 July 2019

    Counts the actual customers in each period, and the returning customers after a 90-day gap.

    • Customers
    • Geography
    • Calendar Time
    • ALL
    • ALLSELECTED
    • CALCULATE
    • CALCULATETABLE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • DISTINCTCOUNT
    • EXCEPT
    • FILTER
    • GENERATE
    • MIN
    • MONTH
    • ROW
    • VALUES
    • YEAR
  • No. of New Customers, with and without Churn Rate, and No. of Lost Customers

    Customers · 30 July 2019

    Counts new customers, new customers after a 1,500-day churn period, and lost customers based on a 90-day churn period.

    • Customers
    • Geography
    • Calendar Time
    • ALL
    • ALLSELECTED
    • CALCULATE
    • CALCULATETABLE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • DISTINCTCOUNT
    • EXCEPT
    • FILTER
    • GENERATE
    • MIN
    • MONTH
    • ROW
    • SUMX
    • VALUES
    • YEAR
  • No. of Sales made exceeding 2,500 in value. No. of Sales made to Top 4 Customers

    Sales · 30 July 2019

    Counts all sales orders, the orders above 2,500, and the orders made by the top 4 customers.

    • Sales
    • Orders
    • Customers
    • Products
    • Calendar Time
    • ALL
    • CALCULATE
    • CALCULATETABLE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • FILTER
    • GENERATE
    • MONTH
    • ROW
    • SUMX
    • TOPN
    • VALUES
    • YEAR
  • Numbering of Workdays and Weekends, within any given month

    Sales · 30 July 2019

    Numbers the workdays and the weekend days within each month in ascending order.

    • Calendar Time
    • Calendar Time
    • ALL
    • AVERAGE
    • BLANK
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • FILTER
    • GENERATE
    • IF
    • MONTH
    • RANKX
    • ROW
    • SELECTEDVALUE
    • YEAR
  • Occupancy Dates, each month, based on a Patient’s Admission & Departure Dates

    Sales · 30 July 2019

    Counts the occupancy days in each month from patients' admission and departure dates.

    • Occupancy
    • Calendar Time
    • AND
    • BLANK
    • CALENDAR
    • DATE
    • DAY
    • GENERATE
    • IF
    • MAX
    • MIN
    • MONTH
    • ROW
    • SELECTEDVALUE
    • VALUE
    • YEAR
  • Pareto Chart – Sales by Product

    Sales · 30 July 2019

    Builds a Pareto chart of total sales by product, with cumulative sales as a percentage of all sales.

    • Sales
    • Products
    • ALLSELECTED
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • DIVIDE
    • FILTER
    • GENERATE
    • MONTH
    • ROW
    • SUMMARIZE
    • SUMX
    • YEAR
  • Percent of Total Sales, from Top 1 Most buying Customer, in each Region

    Sales · 30 July 2019

    Shows the sales of the highest-buying customer in each region as a percentage of total sales, for each region and quarter.

    • Sales
    • Customers
    • Geography
    • ALL
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • DISTINCTCOUNT
    • DIVIDE
    • GENERATE
    • IF
    • MONTH
    • ROW
    • SELECTEDVALUE
    • SUMMARIZE
    • SUMX
    • TOPN
    • YEAR
  • Percentage breakdown of Sales, from different Customer groups, based on Numerical Ranking of Total Sales made

    Sales · 30 July 2019

    Breaks down total sales by groups of customers ranked by sales, such as the top 3, ranks 3 to 6 and the rest.

    • Sales
    • Customers
    • Calendar Time
    • ALL
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • FILTER
    • GENERATE
    • MONTH
    • RANKX
    • ROW
    • SUMX
    • VALUES
    • YEAR
  • Percentage of Total Sales from New Customers Only

    Sales · 30 July 2019

    Shows total sales, the sales from new customers, and the percentage of sales that come from new customers.

    • Sales
    • Customers
    • Calendar Time
    • ALL
    • CALCULATE
    • CALCULATETABLE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • DIVIDE
    • EXCEPT
    • FILTER
    • GENERATE
    • MIN
    • MONTH
    • ROW
    • SUMX
    • VALUES
    • YEAR
  • Potential Profits being missed?

    Profits & budgets · 30 July 2019

    Estimates the profit missed on each customer, from the gap between that customer's profit margin and the average margin across all customers.

    • Profits
    • Customers
    • ALL
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • DIVIDE
    • GENERATE
    • MONTH
    • ROW
    • SUMX
    • YEAR
  • Profit Margin Growth, of Top 3 Most Profitable Sales People, by Profit Margin Growth

    Profits & budgets · 30 July 2019

    Shows the profit margin growth from the prior year to the current year of the top 3 sales people, ranked by that growth.

    • Profits
    • Sales People
    • ALL
    • CALCULATE
    • CALENDAR
    • DATE
    • DATEADD
    • DAY
    • DIVIDE
    • GENERATE
    • MONTH
    • ROW
    • SUMX
    • TOPN
    • VALUES
    • YEAR
  • Profit Margins vs Sales, based on Customer Grouping by Total Profits

    Sales · 30 July 2019

    Compares profit margins and Total Sales across groups of customers (Top, Good, Ok and Poor Clients) set by each customer's total profit.

    • Sales
    • Profits
    • Customers
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • DIVIDE
    • FILTER
    • GENERATE
    • MONTH
    • ROW
    • SUMX
    • VALUES
    • YEAR
  • Profits - by Region, Product, Customer, and Sales Person

    Profits & budgets · 30 July 2019

    Shows profits by region, product, customer and sales person.

    • Profits
    • Geography
    • Products
    • Customers
    • Sales People
    • CALENDAR
    • DATE
    • DAY
    • DIVIDE
    • GENERATE
    • MONTH
    • ROW
    • SUMX
    • YEAR
  • Profits - Scenario Analysis

    Profits & budgets · 30 July 2019

    Models the effect on portfolio profits of raising the price of selected products, with a corresponding change in demand.

    • Profits
    • Scenario Analysis
    • Products
    • Calendar Time
    • ALL
    • ALLSELECTED
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DATEADD
    • DAY
    • DIVIDE
    • EXCEPT
    • FILTER
    • GENERATE
    • GENERATESERIES
    • INTERSECT
    • MAX
    • MONTH
    • ROW
    • SUMX
    • VALUES
    • YEAR
  • Profits - Sensitivity Analysis

    Profits & budgets · 30 July 2019

    Models the effect on total profits of changing three levers: price, cost and demand.

    • Profits
    • Sensitivity Analysis
    • ALL
    • CALCULATE
    • CALENDAR
    • DATE
    • DATEADD
    • DAY
    • DIVIDE
    • EXCEPT
    • GENERATE
    • GENERATESERIES
    • INTERSECT
    • MONTH
    • ROW
    • SUMX
    • VALUES
    • YEAR
  • Profits – Categorical Grouping by Profit Margin

    Profits & budgets · 30 July 2019

    Shows Total Profits for products grouped into High, Medium and Low categories by each product's average profit margin.

    • Profits
    • Products
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • DIVIDE
    • FILTER
    • GENERATE
    • MONTH
    • ROW
    • SUMX
    • VALUES
    • YEAR
  • Profits – Virtual Grouping of Products

    Profits & budgets · 30 July 2019

    Shows Total Profits for a virtual grouping of products into categories such as Category 1, Category 2 and Category 3.

    • Profits
    • Products
    • CALENDAR
    • DATE
    • DAY
    • GENERATE
    • MONTH
    • ROW
    • SUMX
    • YEAR
  • Projecting Total Sales from Q3 2017, repeatedly, every Quarter

    Sales · 30 July 2019

    Compares Total Sales with the Total Sales of Q3 2017, projected forward into every quarter.

    • Sales
    • Calendar Time
    • ALL
    • BLANK
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • FILTER
    • GENERATE
    • ISFILTERED
    • MIN
    • MONTH
    • NOT
    • ROW
    • SUMX
    • SWITCH
    • TRUE
    • YEAR
  • Rank Total Sales, by Customers and Products

    Sales · 30 July 2019

    Ranks Total Sales by customer and by product.

    • Sales
    • Customers
    • Products
    • ALL
    • CALENDAR
    • CROSSJOIN
    • DATE
    • DAY
    • GENERATE
    • MONTH
    • RANKX
    • ROW
    • SUMX
    • YEAR
  • Sales - Scenario Analysis

    Sales · 30 July 2019

    Models the effect on total portfolio sales of raising the price of selected products by a set percentage.

    • Sales
    • Scenario Analysis
    • Products
    • Calendar Time
    • ALL
    • ALLSELECTED
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • DIVIDE
    • GENERATE
    • HASONEVALUE
    • IF
    • MONTH
    • ROW
    • SUMX
    • VALUES
    • YEAR
  • Sales from Top 3 Customers of any given Product

    Sales · 30 July 2019

    Shows the sales from the top 3 customers of any given product.

    • Sales
    • Products
    • Geography
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • GENERATE
    • MONTH
    • ROW
    • SUMMARIZE
    • SUMX
    • TOPN
    • VALUES
    • YEAR
  • Sales of Customers, and Products with Sales Value exceeding 3,000

    Sales · 30 July 2019

    Shows the Total Sales of customers whose sales in a region exceed 3,000, and of the products sold to those customers.

    • Sales
    • Customers
    • Products
    • Geography
    • CALENDAR
    • DATE
    • DAY
    • FILTER
    • GENERATE
    • MONTH
    • ROW
    • SUMMARIZE
    • SUMX
    • VALUES
    • YEAR
  • Sales of Top most selling, and Bottom most selling Product, for each Customer

    Sales · 30 July 2019

    Shows the sales of each customer's top-selling and bottom-selling product.

    • Sales
    • Customers
    • Products
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • GENERATE
    • MONTH
    • ROW
    • SUMX
    • TOPN
    • VALUES
    • YEAR
  • Sales to New Customers Only, and Sales made only to Old Customers

    Sales · 30 July 2019

    Shows sales to new customers and sales to old customers side by side.

    • Sales
    • Customers
    • Calendar Time
    • ALLSELECTED
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • FILTER
    • GENERATE
    • MIN
    • MONTH
    • ROW
    • SUMX
    • VALUES
    • YEAR
  • Scenario vs Budgeted Profits - Sensitivity Analysis

    Profits & budgets · 30 July 2019

    Shows the gap between budgeted and scenario profits when three levers are changed: price, cost and demand.

    • Profits
    • Budgets
    • Sensitivity Analysis
    • ALL
    • CALCULATE
    • CALENDAR
    • DATE
    • DATEADD
    • DAY
    • DIVIDE
    • EXCEPT
    • GENERATE
    • GENERATESERIES
    • INTERSECT
    • MONTH
    • ROW
    • SUMX
    • VALUES
    • YEAR
  • Testing the Pareto Rule - Percentage of Sales from Highest Ranked Customers by Sales (Top 30%)

    Sales · 30 July 2019

    Tests the Pareto rule by showing the sales from the top 30% of customers as a percentage of total sales, for each region and quarter.

    • Sales
    • Customers
    • Geography
    • Calendar Time
    • ALL
    • BLANK
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • DISTINCTCOUNT
    • DIVIDE
    • FILTER
    • GENERATE
    • IF
    • ISBLANK
    • MONTH
    • RANKX
    • ROUND
    • ROW
    • SUMX
    • VALUES
    • YEAR
  • Time Intelligence Patterns

    Sales · 30 July 2019

    Shows Total Sales alongside last quarter's sales, month-to-date sales and the opening balance.

    • Sales
    • Calendar Time
    • CALCULATE
    • CALENDAR
    • DATE
    • DATEADD
    • DATESMTD
    • DAY
    • GENERATE
    • MONTH
    • OPENINGBALANCEMONTH
    • ROW
    • SUMX
    • YEAR
  • Top 2 selling products, by Sales and Sales Units – by Region

    Sales · 30 July 2019

    Finds the top 2 selling products in each region, by sales and by sales units.

    • Sales
    • Sales Quantity
    • Geography
    • Products
    • Customers
    • ALL
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • GENERATE
    • MONTH
    • ROW
    • SUM
    • SUMX
    • TOPN
    • VALUES
    • YEAR
  • Top 3 most Profitable Customers - for each Region and Product

    Profits & budgets · 30 July 2019

    Shows the top 3 most profitable customers for each region and product category.

    • Profits
    • Customers
    • Products
    • Geography
    • ALL
    • BLANK
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • GENERATE
    • IF
    • ISFILTERED
    • MONTH
    • RANKX
    • ROW
    • SUMX
    • TOPN
    • VALUES
    • YEAR
  • Total Sales – Current, Last 30, and Last 90 Day, Running Totals

    Sales · 30 July 2019

    Shows Total Sales with its 30-day and 90-day running totals on the same graph.

    • Sales
    • Calendar Time
    • ALL
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • FILTER
    • GENERATE
    • MAX
    • MONTH
    • ROW
    • SUMX
    • YEAR
  • Total Sales from Last Week (Calculation also works across Years)

    Sales · 30 July 2019

    Shows Total Sales for each week alongside the previous week's sales, with a calculation that also works across years.

    • Sales
    • Calendar Time
    • ALL
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • FILTER
    • GENERATE
    • IF
    • MAX
    • MONTH
    • ROW
    • SELECTEDVALUE
    • SUMX
    • YEAR
  • Total Sales from Top 1 Selling Sales Person as a Percentage of Total Sales

    Sales · 30 July 2019

    Shows the sales of the top-selling sales person as a percentage of Total Sales, by quarter and region.

    • Sales
    • Sales People
    • Geography
    • ALL
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • DIVIDE
    • GENERATE
    • IF
    • MONTH
    • ROW
    • SELECTEDVALUE
    • SUMMARIZE
    • SUMX
    • TOPN
    • YEAR
  • Total Sales made from a Customer’s Last (Previous) Purchase Date

    Sales · 30 July 2019

    Shows Total Sales on each date alongside the sales from each customer's previous purchase date.

    • Sales
    • Calendar Time
    • ALL
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • FILTER
    • GENERATE
    • MAX
    • MONTH
    • ROW
    • SUMX
    • YEAR
  • Total Sales made over time to all Customers

    Sales · 30 July 2019

    Shows sales over time to every customer, by quarter.

    • Sales
    • Customers
    • Calendar Time
    • CALENDAR
    • DATE
    • DAY
    • GENERATE
    • MONTH
    • ROW
    • SUMX
    • YEAR
  • Total Sales made over time, to Top 3 buying Customers

    Sales · 30 July 2019

    Shows sales over time, by quarter, to the top 3 buying customers only.

    • Sales
    • Customers
    • Calendar Time
    • ALL
    • BLANK
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • FILTER
    • GENERATE
    • IF
    • MONTH
    • RANKX
    • ROW
    • SUMX
    • VALUES
    • YEAR
  • Total Sales of only those Customers meeting certain Threshold criteria

    Sales · 30 July 2019

    Shows the Total Sales of only those customers who meet thresholds for annual sales, number of annual transactions and annual profit margin.

    • Sales
    • Profits
    • Orders
    • Customers
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • DIVIDE
    • FILTER
    • GENERATE
    • MONTH
    • ROW
    • SELECTEDVALUE
    • SUMX
    • VALUES
    • YEAR
  • Total Sales of Top 3 Best Selling Sales People

    Sales · 30 July 2019

    Shows the sales of the top 3 sales people, ranked by sales, for each region and product.

    • Sales
    • Sales People
    • Geography
    • Products
    • ALL
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • GENERATE
    • MONTH
    • ROW
    • SUMX
    • TOPN
    • VALUES
    • YEAR
  • Total Sales vs LY 90 Day Moving Average Total Sales

    Sales · 30 July 2019

    Compares Total Sales with last year's 90-day moving average of sales.

    • Sales
    • Calendar Time
    • ALL
    • AVERAGEX
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • FILTER
    • GENERATE
    • MAX
    • MONTH
    • ROW
    • SAMEPERIODLASTYEAR
    • SUMX
    • YEAR
  • Total Sales vs Profit Margin, based on Grouping of Customers by a Percentile Ranking of Total Sales made

    Sales · 30 July 2019

    Compares Total Sales with profit margins across groups of customers (Bottom, Middle and Top) set by each customer's percentile ranking of sales.

    • Sales
    • Profits
    • Customers
    • ALL
    • BLANK
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • DIVIDE
    • FILTER
    • GENERATE
    • IF
    • ISBLANK
    • MONTH
    • NOT
    • RANKX
    • ROW
    • SUMX
    • VALUES
    • YEAR
  • Total Sales vs Total Sales LY, based on a Binary Grouping of Customers by their Sales Growth

    Sales · 30 July 2019

    Compares Total Sales with Total Sales LY for customers split into two groups, Negative Growth and Positive Growth.

    • Sales
    • Customers
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • DIVIDE
    • FILTER
    • GENERATE
    • IF
    • MONTH
    • ROW
    • SAMEPERIODLASTYEAR
    • SELECTEDVALUE
    • SUMX
    • VALUES
    • YEAR
  • Total Sales vs Total Sales LY, based on a Grouping of Customers by their Sales Growth

    Sales · 30 July 2019

    Compares Total Sales with Total Sales LY for customers grouped by their sales growth into Poor, Average and Great Growth.

    • Sales
    • Customers
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • DIVIDE
    • FILTER
    • GENERATE
    • MONTH
    • ROW
    • SAMEPERIODLASTYEAR
    • SUMX
    • VALUES
    • YEAR
  • Total Sales vs Total Sales LY, based on a Grouping of Customers by their Sales, and Sales Growth

    Sales · 30 July 2019

    Compares Total Sales with Total Sales LY for customers grouped as Outlier or Non-Outlier by their total sales and sales growth.

    • Sales
    • Customers
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • DIVIDE
    • FILTER
    • GENERATE
    • IF
    • MONTH
    • ROW
    • SAMEPERIODLASTYEAR
    • SELECTEDVALUE
    • SUMX
    • VALUES
    • YEAR
  • Total Sales YTD with cut-off

    Sales · 30 July 2019

    Shows year-to-date Total Sales with a year-end cut-off.

    • Sales
    • Calendar Time
    • ALL
    • BLANK
    • CALENDAR
    • DATE
    • DAY
    • GENERATE
    • IF
    • MAXX
    • MIN
    • MONTH
    • ROW
    • SUMX
    • TOTALYTD
    • YEAR
  • Total Sales, both before and after, a particular Date (even when date is dynamically selected)

    Sales · 30 July 2019

    Shows Total Sales before and after a date, which can be selected dynamically.

    • Sales
    • Calendar Time
    • ALL
    • AND
    • BLANK
    • CALCULATE
    • CALENDAR
    • DATE
    • DAY
    • GENERATE
    • GENERATESERIES
    • IF
    • ISFILTERED
    • MAX
    • MONTH
    • ROW
    • SELECTEDVALUE
    • SUMX
    • YEAR
  • Total Sales, Min & Max of a particular Sales Order, Min & Max Sales by Product

    Sales · 30 July 2019

    Shows total sales, and the minimum and maximum sales of a sales order and of a product for each customer.

    • Sales
    • Customers
    • Products
    • Orders
    • CALENDAR
    • DATE
    • DAY
    • GENERATE
    • MAXX
    • MINX
    • MONTH
    • ROW
    • SUMX
    • VALUES
    • YEAR
  • Unique Customers sold to over time

    Customers · 30 July 2019

    Counts the unique customers sold to over time.

    • Customers
    • Calendar Time
    • CALENDAR
    • DATE
    • DAY
    • DISTINCTCOUNT
    • GENERATE
    • MONTH
    • ROW
    • YEAR
  • Unique Products purchased, and Total Sales

    Sales · 30 July 2019

    Shows how many unique products each customer has bought, alongside their Total Sales.

    • Sales
    • Products
    • Customers
    • Calendar Time
    • CALENDAR
    • DATE
    • DAY
    • DISTINCTCOUNT
    • GENERATE
    • MONTH
    • ROW
    • SUMX
    • YEAR
  • When a Customer might next buy, based on Historical Purchase Pattern

    Sales · 30 July 2019

    Estimates when a customer might buy next by comparing the days since their last purchase with their average days between purchases.

    • Sales
    • Calendar Time
    • Customers
    • Geography
    • ALL
    • BLANK
    • CALENDAR
    • DATE
    • DAY
    • DISTINCTCOUNT
    • DIVIDE
    • FIRSTDATE
    • GENERATE
    • IF
    • ISBLANK
    • LASTDATE
    • MAXX
    • MONTH
    • ROW
    • SUMX
    • VALUE
    • YEAR
  • YoY Sales Growth vs YoY Profit Growth

    Sales · 30 July 2019

    Compares each customer's YoY sales growth with their YoY profit growth, split by whether profit growth is positive or negative.

    • Sales
    • Profits
    • Customers
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DAY
    • DIVIDE
    • FILTER
    • GENERATE
    • IF
    • MONTH
    • ROW
    • SAMEPERIODLASTYEAR
    • SELECTEDVALUE
    • SUMX
    • VALUES
    • YEAR
  • YoY Sales Growth vs YoY Profit Margin Growth

    Sales · 30 July 2019

    Compares each customer's YoY sales growth with their YoY profit margin growth, split by whether margin growth is positive or negative.

    • Sales
    • Profits
    • Customers
    • CALCULATE
    • CALENDAR
    • COUNTROWS
    • DATE
    • DATEADD
    • DAY
    • DIVIDE
    • FILTER
    • GENERATE
    • IF
    • MONTH
    • ROW
    • SAMEPERIODLASTYEAR
    • SELECTEDVALUE
    • SUMX
    • VALUES
    • YEAR

Reference

Learning

  • SQLBI: articles and courses on DAX and data modelling.
  • DAX Patterns: ready-made solutions to common calculations.
  • Fabric community: Microsoft’s forum for DAX questions.

Tools