<?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: Add missing dates with 0 in DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-missing-dates-with-0-in-DAX/m-p/3993017#M154989</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="688542" data-lia-user-login="liselotte" class="lia-mention lia-mention-user"&gt;liselotte&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do you make sense of adding the results table with missing dates from January 1, 2024 to today and Value=0 for each combination of locations, plants, and equipment?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Adamk Kong&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jun 2024 09:20:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-06-14T09:20:20Z</dc:date>
    <item>
      <title>Add missing dates with 0 in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-missing-dates-with-0-in-DAX/m-p/3991545#M154832</link>
      <description>&lt;P&gt;I extract the original table 'org_table' with the following query&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;table =
    SELECTCOLUMNS(
        FILTER(
            'org_table',
            'org_table'[Type] = "H" &amp;amp;&amp;amp;
            'org_table'[Date] &amp;lt; TODAY()
        ),
        "Place", 'org_table'[Place],
        "Factory", 'org_table'[Factory],
        "Device", 'org_table'[Device],
        "Value", 'org_table'[Value],
        "Date", 'org_table'[Date]
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which resulted in this table&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I change the query so that the resulted table are added missing dates from 01/01/2024 to today with Value=0 for each combination of Place, Factory and Device? Because this is just the simplified version of my problem, I would like to do it in DAX so that I can it in my real query. Thank you.&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 15:47:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-missing-dates-with-0-in-DAX/m-p/3991545#M154832</guid>
      <dc:creator>liselotte</dc:creator>
      <dc:date>2024-06-13T15:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Add missing dates with 0 in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-missing-dates-with-0-in-DAX/m-p/3993017#M154989</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="688542" data-lia-user-login="liselotte" class="lia-mention lia-mention-user"&gt;liselotte&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do you make sense of adding the results table with missing dates from January 1, 2024 to today and Value=0 for each combination of locations, plants, and equipment?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Adamk Kong&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 09:20:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-missing-dates-with-0-in-DAX/m-p/3993017#M154989</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-14T09:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Add missing dates with 0 in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-missing-dates-with-0-in-DAX/m-p/3993324#M155009</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;, thank you for replying. I mean I want to get a table resulted from LEFT JOIN on columns ['Date'] of Table&amp;nbsp;CALENDAR(DATE(2023,01,01), TODAY()) and the table in the provided query, I know I can do it with Power Query, but for my real problem, I would like to do it in DAX, which I need help with.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 12:36:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-missing-dates-with-0-in-DAX/m-p/3993324#M155009</guid>
      <dc:creator>liselotte</dc:creator>
      <dc:date>2024-06-14T12:36:17Z</dc:date>
    </item>
  </channel>
</rss>

