<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic SUM data based on secondary dates and ignoring date filter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUM-data-based-on-secondary-dates-and-ignoring-date-filter/m-p/3064269#M156875</link>
    <description>&lt;P&gt;Hello Community -&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a basic dataset that gives me a wireless number, billing cycle date, activation date, device change date, benchmark date and data usage.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;My model for this issue joins the Overview of lines (the data listed above) to the date table by the billing cycle date.&amp;nbsp; What I am trying to do is calculate how much data was used based on the wireless numbers benchmarck date without the date table slicer affecting it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the screenshot above, you can see the first 6 lines are providing what I would expect (March benchmark date, pulling in the March data usage because March is selected in the slicer).&amp;nbsp; However, line 7 and beyond are all showing blank because their benchmark date is not in March.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want those blank lines to show the data usage based on the billing cycle date that = my benchmark date (first blank line would have data usage from Jan 2022 etc).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my current Measure&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Benchmark Usage = CALCULATE(
    [Total Data Usage],
    FILTER(ALL(Date_Table), Date_Table[Date] = MAXX('Overview of Lines','Overview of Lines'[Benchmark Date]) ) )  &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;What am I missing to get this measure to work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Community&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;</description>
    <pubDate>Mon, 06 Feb 2023 16:17:20 GMT</pubDate>
    <dc:creator>ryan_b_fiting</dc:creator>
    <dc:date>2023-02-06T16:17:20Z</dc:date>
    <item>
      <title>SUM data based on secondary dates and ignoring date filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUM-data-based-on-secondary-dates-and-ignoring-date-filter/m-p/3064269#M156875</link>
      <description>&lt;P&gt;Hello Community -&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a basic dataset that gives me a wireless number, billing cycle date, activation date, device change date, benchmark date and data usage.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;My model for this issue joins the Overview of lines (the data listed above) to the date table by the billing cycle date.&amp;nbsp; What I am trying to do is calculate how much data was used based on the wireless numbers benchmarck date without the date table slicer affecting it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the screenshot above, you can see the first 6 lines are providing what I would expect (March benchmark date, pulling in the March data usage because March is selected in the slicer).&amp;nbsp; However, line 7 and beyond are all showing blank because their benchmark date is not in March.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want those blank lines to show the data usage based on the billing cycle date that = my benchmark date (first blank line would have data usage from Jan 2022 etc).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my current Measure&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Benchmark Usage = CALCULATE(
    [Total Data Usage],
    FILTER(ALL(Date_Table), Date_Table[Date] = MAXX('Overview of Lines','Overview of Lines'[Benchmark Date]) ) )  &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;What am I missing to get this measure to work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Community&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 16:17:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUM-data-based-on-secondary-dates-and-ignoring-date-filter/m-p/3064269#M156875</guid>
      <dc:creator>ryan_b_fiting</dc:creator>
      <dc:date>2023-02-06T16:17:20Z</dc:date>
    </item>
  </channel>
</rss>

