<?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 Re: DAX formula in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-formula/m-p/2909534#M95041</link>
    <description>&lt;P&gt;Hello, I tried now this:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Count_active_in_period = CALCULATE(COUNTx(FILTER('Table','Table'[StartDate]&amp;lt;=max(Datetable[Date]) &amp;amp;&amp;amp; 'Table'[Enddate]&amp;gt;max(Datetable[Date])),('Table'[nr])),CROSSFILTER('Table'[StartDate],Datetable[Date],None))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;In 2021_Q2: I want to see 2; this is nr 1 and nr 3 are active in that period.&lt;/P&gt;Hope some know what I can do in the formule, thanks a lot!&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 16 Nov 2022 12:51:53 GMT</pubDate>
    <dc:creator>Margreet</dc:creator>
    <dc:date>2022-11-16T12:51:53Z</dc:date>
    <item>
      <title>DAX formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-formula/m-p/2907812#M94923</link>
      <description>&lt;P&gt;Hi, I got a simple model only a date table and a table with Nr, StartDate, Enddate.&lt;/P&gt;&lt;P&gt;The date from datetable is connected to Startdate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the visualisatie I want to see a 1 in every quarter from start to end date.&lt;/P&gt;&lt;P&gt;For example nr 1 with startdate 1-2-2021 and enddate 1-8-2022.&amp;nbsp;What for formula in Dax works?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank for reaction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;I want to see this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 21:48:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-formula/m-p/2907812#M94923</guid>
      <dc:creator>Margreet</dc:creator>
      <dc:date>2022-11-15T21:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: DAX formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-formula/m-p/2908087#M94944</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="472422" data-lia-user-login="Margreet" class="lia-mention lia-mention-user"&gt;Margreet&lt;/a&gt; , I think these blogs can help&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Power BI Dax Measure- Allocate data between Range: &lt;A href="https://youtu.be/O653vwLTUzM" target="_blank"&gt;https://youtu.be/O653vwLTUzM&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-divide-distribute-values-between-start-date-or-end-date/ba-p/1503785" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-divide-distribute-values-between-start-date-or-end-date/ba-p/1503785&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 02:35:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-formula/m-p/2908087#M94944</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-11-16T02:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: DAX formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-formula/m-p/2908683#M94986</link>
      <description>&lt;P&gt;Great, thank you! I will try working this.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 08:23:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-formula/m-p/2908683#M94986</guid>
      <dc:creator>Margreet</dc:creator>
      <dc:date>2022-11-16T08:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: DAX formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-formula/m-p/2909534#M95041</link>
      <description>&lt;P&gt;Hello, I tried now this:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Count_active_in_period = CALCULATE(COUNTx(FILTER('Table','Table'[StartDate]&amp;lt;=max(Datetable[Date]) &amp;amp;&amp;amp; 'Table'[Enddate]&amp;gt;max(Datetable[Date])),('Table'[nr])),CROSSFILTER('Table'[StartDate],Datetable[Date],None))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;In 2021_Q2: I want to see 2; this is nr 1 and nr 3 are active in that period.&lt;/P&gt;Hope some know what I can do in the formule, thanks a lot!&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 16 Nov 2022 12:51:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-formula/m-p/2909534#M95041</guid>
      <dc:creator>Margreet</dc:creator>
      <dc:date>2022-11-16T12:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: DAX formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-formula/m-p/2917440#M95566</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="472422" data-lia-user-login="Margreet" class="lia-mention lia-mention-user"&gt;Margreet&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;It seems like a common multiple date fields analysis requirement, you can take look at the following blog start date end date part if it helps:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882" target="_self"&gt;Before You Post, Read This&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;In addition, you can also try to create a calculated table to expand these date ranges and use it as bridge to mapping raw table records:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Spread-revenue-across-period-based-on-start-and-end-date-slice/td-p/357648" target="_blank"&gt;Solved: Spread revenue across period based on start and en... - Microsoft Power BI Community&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 02:23:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-formula/m-p/2917440#M95566</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-21T02:23:28Z</dc:date>
    </item>
  </channel>
</rss>

