<?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: Power BI in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-BI/m-p/4637637#M177566</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="890225" data-lia-user-login="Toussaint" class="lia-mention lia-mention-user"&gt;Toussaint&lt;/a&gt;&amp;nbsp;Create a calculated column for Fiscal Month:&lt;/P&gt;
&lt;P&gt;dax&lt;BR /&gt;FiscalMonth = &lt;BR /&gt;VAR FiscalStart = DATE(YEAR([Date]), 4, 1)&lt;BR /&gt;RETURN &lt;BR /&gt;IF([Date] &amp;lt; FiscalStart, &lt;BR /&gt;MONTH([Date]) + 12 - MONTH(FiscalStart) + 1, &lt;BR /&gt;MONTH([Date]) - MONTH(FiscalStart) + 1)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then create a measure to count the number of Fire tests in each fiscal month:&lt;/P&gt;
&lt;P&gt;dax&lt;BR /&gt;FireTestsCount = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNT('Fire Tests'[Date]),&lt;BR /&gt;FILTER(&lt;BR /&gt;'Fire Tests',&lt;BR /&gt;'Fire Tests'[Date] &amp;gt;= MIN('Financial Date Table'[FiscalWeekCommencing]) &amp;amp;&amp;amp;&lt;BR /&gt;'Fire Tests'[Date] &amp;lt;= MAX('Financial Date Table'[FiscalWeekEnding])&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Add the FiscalMonth column to your table visual.&lt;BR /&gt;Add the FireTestsCount measure to your table visual.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Apr 2025 06:14:20 GMT</pubDate>
    <dc:creator>bhanu_gautam</dc:creator>
    <dc:date>2025-04-04T06:14:20Z</dc:date>
    <item>
      <title>Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-BI/m-p/4637420#M177552</link>
      <description>&lt;P class=""&gt;&lt;SPAN&gt;my business process starts on [FiscalWeekCommencing] = 1st Monday of Month and End on following Sunday; my financial date table always start on 1st Apr of each year and contains [FiscalWeekCommencing] and [FiscalWeekEnding] columns. how to find the number of Fire tests of a facts table containing 'Fire Tests'[Date] column in a month on a table visual?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Mar-25 tests suppose to be 5&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;06/03/2025.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;12/03/2025&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;19/03/2025&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;26/03/2025&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;02/04/2025&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 21:55:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-BI/m-p/4637420#M177552</guid>
      <dc:creator>Toussaint</dc:creator>
      <dc:date>2025-04-03T21:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-BI/m-p/4637637#M177566</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="890225" data-lia-user-login="Toussaint" class="lia-mention lia-mention-user"&gt;Toussaint&lt;/a&gt;&amp;nbsp;Create a calculated column for Fiscal Month:&lt;/P&gt;
&lt;P&gt;dax&lt;BR /&gt;FiscalMonth = &lt;BR /&gt;VAR FiscalStart = DATE(YEAR([Date]), 4, 1)&lt;BR /&gt;RETURN &lt;BR /&gt;IF([Date] &amp;lt; FiscalStart, &lt;BR /&gt;MONTH([Date]) + 12 - MONTH(FiscalStart) + 1, &lt;BR /&gt;MONTH([Date]) - MONTH(FiscalStart) + 1)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then create a measure to count the number of Fire tests in each fiscal month:&lt;/P&gt;
&lt;P&gt;dax&lt;BR /&gt;FireTestsCount = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNT('Fire Tests'[Date]),&lt;BR /&gt;FILTER(&lt;BR /&gt;'Fire Tests',&lt;BR /&gt;'Fire Tests'[Date] &amp;gt;= MIN('Financial Date Table'[FiscalWeekCommencing]) &amp;amp;&amp;amp;&lt;BR /&gt;'Fire Tests'[Date] &amp;lt;= MAX('Financial Date Table'[FiscalWeekEnding])&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Add the FiscalMonth column to your table visual.&lt;BR /&gt;Add the FireTestsCount measure to your table visual.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2025 06:14:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-BI/m-p/4637637#M177566</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2025-04-04T06:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-BI/m-p/4641660#M177748</link>
      <description>&lt;P&gt;Hi, Thanks for your solution, it helps a lot&lt;span class="lia-unicode-emoji" title=":raising_hands:"&gt;🙌&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 17:48:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-BI/m-p/4641660#M177748</guid>
      <dc:creator>Toussaint</dc:creator>
      <dc:date>2025-04-07T17:48:41Z</dc:date>
    </item>
  </channel>
</rss>

