<?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: END OF MONTH does not work with date table but does with fact table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/END-OF-MONTH-does-not-work-with-date-table-but-does-with-fact/m-p/2773365#M86433</link>
    <description>&lt;P&gt;ok after looking around in other help boards and on this board have understood that when using the end of month dax function with a date table there needs to be a corresponding date in the sales table with a sales value for it to show. As in my case there was not a corresponding sales date dated the 31/01/2022 therefore a blank showed. However when using end of month with a sales table it works so will be using the fact table in the future as it is more error proof&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 11:40:42 GMT</pubDate>
    <dc:creator>akhaliq7</dc:creator>
    <dc:date>2022-09-16T11:40:42Z</dc:date>
    <item>
      <title>END OF MONTH does not work with date table but does with fact table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/END-OF-MONTH-does-not-work-with-date-table-but-does-with-fact/m-p/2773127#M86406</link>
      <description>&lt;P&gt;When I use the following dax statement it works with my sales fact table but doesn't with my date table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;doesn't work:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;EOM_DTBLE = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;('Table'[sales]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;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https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/END-OF-MONTH-does-not-work-with-date-table-but-does-with-fact/m-p/2773127#M86406</guid>
      <dc:creator>akhaliq7</dc:creator>
      <dc:date>2022-09-16T10:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: END OF MONTH does not work with date table but does with fact table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/END-OF-MONTH-does-not-work-with-date-table-but-does-with-fact/m-p/2773234#M86420</link>
      <description>&lt;P&gt;The first version will only find sales which happened on the last day of the month. What are you trying to do ?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:48:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/END-OF-MONTH-does-not-work-with-date-table-but-does-with-fact/m-p/2773234#M86420</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-09-16T10:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: END OF MONTH does not work with date table but does with fact table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/END-OF-MONTH-does-not-work-with-date-table-but-does-with-fact/m-p/2773283#M86424</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="307422" data-lia-user-login="akhaliq7" class="lia-mention lia-mention-user"&gt;akhaliq7&lt;/a&gt;&amp;nbsp;I wouldn't use CALCULATE and I wouldn't use time intelligence functions. EOMONTH is a great alternative function.&amp;nbsp;You may find this helpful - &lt;A href="https://community.powerbi.com/t5/Community-Blog/To-bleep-With-Time-Intelligence/ba-p/1260000" target="_blank" rel="noopener"&gt;https://community.powerbi.com/t5/Community-Blog/To-bleep-With-Time-Intelligence/ba-p/1260000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, see if my Time Intelligence the Hard Way provides a different way of accomplishing what you are going for.&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TITHW/m-p/434008" target="_blank" rel="noopener"&gt;https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TITHW/m-p/434008&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry, having trouble following, can you post sample data as text and expected output?&lt;BR /&gt;Not really enough information to go on, please first check if your issue is a common issue listed here: &lt;A href="https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, please see this post regarding How to Get Your Question Answered Quickly: &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The most important parts are:&lt;BR /&gt;1. Sample data as text, use the table tool in the editing bar&lt;BR /&gt;2. Expected output from sample data&lt;BR /&gt;3. Explanation in words of how to get from 1. to 2.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:11:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/END-OF-MONTH-does-not-work-with-date-table-but-does-with-fact/m-p/2773283#M86424</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-09-16T11:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: END OF MONTH does not work with date table but does with fact table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/END-OF-MONTH-does-not-work-with-date-table-but-does-with-fact/m-p/2773301#M86426</link>
      <description>&lt;P&gt;Yes you are right so the one with the date table only looks if a value is there on the last day of the month but the end of month with the sales table actually finds the last date in the month that has a sales value. was wondering can the date table not be modified to be able to use with the end of month function&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:15:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/END-OF-MONTH-does-not-work-with-date-table-but-does-with-fact/m-p/2773301#M86426</guid>
      <dc:creator>akhaliq7</dc:creator>
      <dc:date>2022-09-16T11:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: END OF MONTH does not work with date table but does with fact table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/END-OF-MONTH-does-not-work-with-date-table-but-does-with-fact/m-p/2773365#M86433</link>
      <description>&lt;P&gt;ok after looking around in other help boards and on this board have understood that when using the end of month dax function with a date table there needs to be a corresponding date in the sales table with a sales value for it to show. As in my case there was not a corresponding sales date dated the 31/01/2022 therefore a blank showed. However when using end of month with a sales table it works so will be using the fact table in the future as it is more error proof&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:40:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/END-OF-MONTH-does-not-work-with-date-table-but-does-with-fact/m-p/2773365#M86433</guid>
      <dc:creator>akhaliq7</dc:creator>
      <dc:date>2022-09-16T11:40:42Z</dc:date>
    </item>
  </channel>
</rss>

