<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>QueryAndChart</title>
  <subtitle>Power BI and DAX tutorials built on real data, with every measure result checked before publication.</subtitle>
  <link href="https://queryandchart.com/feed.xml" rel="self"/>
  <link href="https://queryandchart.com/"/>
  <updated>2026-11-10T00:00:00-07:00</updated>
  <id>https://queryandchart.com/</id>

  <entry>
    <title>Power BI year-over-year sales: a DAX measure that returns the right prior-year number</title>
    <link href="https://queryandchart.com/guides/year-over-year-sales/"/>
    <id>https://queryandchart.com/guides/year-over-year-sales/</id>
    <updated>2026-11-10T00:00:00-07:00</updated>
    <summary>Three DAX measures on a calendar table: Total Sales, Sales PY with SAMEPERIODLASTYEAR, and YoY % Change. October 2025: $13,436 against $10,995 a year earlier, +22.2%. Results verified by identical aggregation in Python against the same CSV.</summary>
  </entry>

  <entry>
    <title>Power BI running total and category rank in DAX, with no helper columns</title>
    <link href="https://queryandchart.com/guides/running-total-rank/"/>
    <id>https://queryandchart.com/guides/running-total-rank/</id>
    <updated>2026-11-10T00:00:00-07:00</updated>
    <summary>One CALCULATE measure for the running total and one RANKX measure for the category rank. The 2025 running total reaches $122,707 by October; Desks ranks first at $56,959. Results verified by identical aggregation in Python against the same CSV.</summary>
  </entry>
</feed>
