<?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 Variable date range in variable in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variable-date-range-in-variable/m-p/1966119#M43096</link>
    <description>&lt;P&gt;I have a number of pages in my Power BI report that display counts and sums of data from tables imported by a couple of different systems. I change the date range in the filters of each object to match the most recent week (used for meeting presentation).&amp;nbsp; Before the meeting I go into each object and set the new date range.&amp;nbsp; Since my pages combine various counts and sums for two different data sets, I can't simply set the date range on the page or the report. This seems like a great place to have a global variable for StartWeekDate and EndWeekDate. Change them once someplace and use the variable in my filters.&amp;nbsp; I understand that this is not possible but haven't been creative enough to figure out how to do something similar.&amp;nbsp; Is there a way in a measure using DAX to pull the start and end dates from a simple temp table where I can edit it each week?&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jul 2021 14:17:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-07-19T14:17:12Z</dc:date>
    <item>
      <title>Variable date range in variable</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variable-date-range-in-variable/m-p/1966119#M43096</link>
      <description>&lt;P&gt;I have a number of pages in my Power BI report that display counts and sums of data from tables imported by a couple of different systems. I change the date range in the filters of each object to match the most recent week (used for meeting presentation).&amp;nbsp; Before the meeting I go into each object and set the new date range.&amp;nbsp; Since my pages combine various counts and sums for two different data sets, I can't simply set the date range on the page or the report. This seems like a great place to have a global variable for StartWeekDate and EndWeekDate. Change them once someplace and use the variable in my filters.&amp;nbsp; I understand that this is not possible but haven't been creative enough to figure out how to do something similar.&amp;nbsp; Is there a way in a measure using DAX to pull the start and end dates from a simple temp table where I can edit it each week?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 14:17:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variable-date-range-in-variable/m-p/1966119#M43096</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-19T14:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Variable date range in variable</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variable-date-range-in-variable/m-p/1966624#M43119</link>
      <description>&lt;P&gt;Sounds like you should have a single date table in your model that has a relationship to the other tables.&amp;nbsp; You then apply the filter to the date table and it'll filter all tables.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 19:46:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Variable-date-range-in-variable/m-p/1966624#M43119</guid>
      <dc:creator>PaulOlding</dc:creator>
      <dc:date>2021-07-19T19:46:35Z</dc:date>
    </item>
  </channel>
</rss>

