<?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: New table based on existing one with all dates from calendar in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-table-based-on-existing-one-with-all-dates-from-calendar/m-p/3292999#M122603</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Try this once ,&lt;BR /&gt;&lt;BR /&gt;Analysis Table = CALCULATE(SUMMARIZE('List','List'[NameID],'List'[Price],'List'[Foctor],"abc",RELATED('Date'[Date']))&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jun 2023 11:04:26 GMT</pubDate>
    <dc:creator>devanshi</dc:creator>
    <dc:date>2023-06-20T11:04:26Z</dc:date>
    <item>
      <title>New table based on existing one with all dates from calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-table-based-on-existing-one-with-all-dates-from-calendar/m-p/3292802#M122592</link>
      <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to ask for support due to the fact I do not know how to find the solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two tables:&lt;/P&gt;&lt;P&gt;1. &lt;STRONG&gt;Date&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2. &lt;STRONG&gt;List&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table &lt;STRONG&gt;Date&lt;/STRONG&gt; contains full calendar. Table List contains Dates (only working days), &lt;EM&gt;NameID&lt;/EM&gt;, &lt;EM&gt;Price&lt;/EM&gt; of &lt;EM&gt;NameID&lt;/EM&gt; and some &lt;EM&gt;Factor1&lt;/EM&gt; of &lt;EM&gt;NameID&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;Important is that there are hundreds of &lt;EM&gt;NameID&lt;/EM&gt;, &lt;EM&gt;Price&lt;/EM&gt; and &lt;EM&gt;Factor&lt;/EM&gt; is changing by days (values are not fixed and assign only to &lt;EM&gt;NameID&lt;/EM&gt; - they are changing also for particular days).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is that I do not have holidays in &lt;EM&gt;Date&lt;/EM&gt; collumn in Table &lt;STRONG&gt;List&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I would like to create new table, lets call it &lt;STRONG&gt;Analysis&lt;/STRONG&gt; Table, with collumn with all days (working days + holidays) and took all &lt;EM&gt;NameID&lt;/EM&gt;, &lt;EM&gt;Price&lt;/EM&gt; and &lt;EM&gt;Factor1&lt;/EM&gt; from table &lt;STRONG&gt;List&lt;/STRONG&gt;. Of course all &lt;EM&gt;NameID&lt;/EM&gt; values which will be assign to correct date with &lt;EM&gt;Price&lt;/EM&gt; and &lt;EM&gt;Factor1&lt;/EM&gt; values. I'd like to have holydays with assigned &lt;EM&gt;NameID&lt;/EM&gt; with empty &lt;EM&gt;Price&lt;/EM&gt; and &lt;EM&gt;Factor1&lt;/EM&gt; collumns.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to do it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Awaiting your feedback.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 09:36:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-table-based-on-existing-one-with-all-dates-from-calendar/m-p/3292802#M122592</guid>
      <dc:creator>KaZeK</dc:creator>
      <dc:date>2023-06-20T09:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: New table based on existing one with all dates from calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-table-based-on-existing-one-with-all-dates-from-calendar/m-p/3292884#M122595</link>
      <description>&lt;P&gt;Analysis Table = CALCULATE(SUMMARIZE('List','List'[NameID],'List'[Price],'List'[Foctor],"abc",RELATEDTABLE('Date'[Date']))&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 10:00:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-table-based-on-existing-one-with-all-dates-from-calendar/m-p/3292884#M122595</guid>
      <dc:creator>devanshi</dc:creator>
      <dc:date>2023-06-20T10:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: New table based on existing one with all dates from calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-table-based-on-existing-one-with-all-dates-from-calendar/m-p/3292927#M122597</link>
      <description>&lt;P&gt;Thanks for your response. But it doesn't work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"The expression refers to multiple columns. Columns cannot be converted to a scalar value."&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 10:24:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-table-based-on-existing-one-with-all-dates-from-calendar/m-p/3292927#M122597</guid>
      <dc:creator>KaZeK</dc:creator>
      <dc:date>2023-06-20T10:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: New table based on existing one with all dates from calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-table-based-on-existing-one-with-all-dates-from-calendar/m-p/3292974#M122599</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="455698" data-lia-user-login="KaZeK" class="lia-mention lia-mention-user"&gt;KaZeK&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Analysis =
ADDCOLUMNS (
    CROSSJOIN (
        VALUES ( 'Date'[Date'] ),
        SUMMARIZE ( 'List', 'List'[Name_ID], 'List'[Foctor1] )
    ),
    "Price", CALCULATE ( SUM ( 'List'[Price] ) )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 20 Jun 2023 10:46:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-table-based-on-existing-one-with-all-dates-from-calendar/m-p/3292974#M122599</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-06-20T10:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: New table based on existing one with all dates from calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-table-based-on-existing-one-with-all-dates-from-calendar/m-p/3292999#M122603</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Try this once ,&lt;BR /&gt;&lt;BR /&gt;Analysis Table = CALCULATE(SUMMARIZE('List','List'[NameID],'List'[Price],'List'[Foctor],"abc",RELATED('Date'[Date']))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 11:04:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-table-based-on-existing-one-with-all-dates-from-calendar/m-p/3292999#M122603</guid>
      <dc:creator>devanshi</dc:creator>
      <dc:date>2023-06-20T11:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: New table based on existing one with all dates from calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-table-based-on-existing-one-with-all-dates-from-calendar/m-p/3293170#M122619</link>
      <description>&lt;P&gt;Hello, thanks for support. It looks like there is some issue:&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;"This expression references a Relationship object named "f2cbd857-ad3f-4ea9-a12c-0e9bf782230f" which contains an error."&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;Where is the information in the formula that it should be linked by Date:&lt;BR /&gt;'List'[Date] &amp;lt;--&amp;gt; 'Date'[Date] ?&lt;BR /&gt;&lt;BR /&gt;Maybe that's the problem?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 12:12:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-table-based-on-existing-one-with-all-dates-from-calendar/m-p/3293170#M122619</guid>
      <dc:creator>KaZeK</dc:creator>
      <dc:date>2023-06-20T12:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: New table based on existing one with all dates from calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-table-based-on-existing-one-with-all-dates-from-calendar/m-p/3293179#M122620</link>
      <description>&lt;P&gt;Hello, still the same issue&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 12:13:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-table-based-on-existing-one-with-all-dates-from-calendar/m-p/3293179#M122620</guid>
      <dc:creator>KaZeK</dc:creator>
      <dc:date>2023-06-20T12:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: New table based on existing one with all dates from calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-table-based-on-existing-one-with-all-dates-from-calendar/m-p/3293194#M122625</link>
      <description>&lt;P&gt;After few modification I have similar warning:&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;"The expression refers to multiple columns. Columns cannot be converted to a scalar value."&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 12:20:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-table-based-on-existing-one-with-all-dates-from-calendar/m-p/3293194#M122625</guid>
      <dc:creator>KaZeK</dc:creator>
      <dc:date>2023-06-20T12:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: New table based on existing one with all dates from calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-table-based-on-existing-one-with-all-dates-from-calendar/m-p/3293249#M122632</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="455698" data-lia-user-login="KaZeK" class="lia-mention lia-mention-user"&gt;KaZeK&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Are you sure you are creating a calculated table?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 12:49:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-table-based-on-existing-one-with-all-dates-from-calendar/m-p/3293249#M122632</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-06-20T12:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: New table based on existing one with all dates from calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-table-based-on-existing-one-with-all-dates-from-calendar/m-p/3293370#M122640</link>
      <description>&lt;P&gt;To be honest I copy paste your formula and Calculate function could be used. But like I said I need to "copy" names ID and values from List table where one date is assigned to hundreds &lt;EM&gt;NameID&lt;/EM&gt; and &lt;EM&gt;Price&lt;/EM&gt; and &lt;EM&gt;Factor1&lt;/EM&gt; values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It means I have the same quantity of &lt;EM&gt;NameID&lt;/EM&gt; &amp;amp; &lt;EM&gt;Price&lt;/EM&gt; &amp;amp; &lt;EM&gt;Factor1&amp;nbsp;&lt;/EM&gt;for one particular date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eg.&lt;BR /&gt;for 2023.06.20, I have:&lt;/P&gt;&lt;P&gt;100x NameID rows&lt;/P&gt;&lt;P&gt;100x Price rows&lt;/P&gt;&lt;P&gt;100x Factor1 rows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| Name ID&amp;nbsp; &amp;nbsp;| Price&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| Factor1&lt;/P&gt;&lt;P&gt;2023.01.01 | NameID_1 | Price_11 | Factor1_1&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;...&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; ...&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; ...&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| ...&lt;BR /&gt;2023.01.0n | NameID_n | Price_n&amp;nbsp; &amp;nbsp;| Factor1_n&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to create the same table but with dates (weekends &amp;amp; holidays) which are missing in &lt;STRONG&gt;List&lt;/STRONG&gt; table.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 13:46:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-table-based-on-existing-one-with-all-dates-from-calendar/m-p/3293370#M122640</guid>
      <dc:creator>KaZeK</dc:creator>
      <dc:date>2023-06-20T13:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: New table based on existing one with all dates from calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-table-based-on-existing-one-with-all-dates-from-calendar/m-p/3293427#M122649</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="455698" data-lia-user-login="KaZeK" class="lia-mention lia-mention-user"&gt;KaZeK&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please provide screenshots with illustration.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 14:05:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-table-based-on-existing-one-with-all-dates-from-calendar/m-p/3293427#M122649</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-06-20T14:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: New table based on existing one with all dates from calendar</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-table-based-on-existing-one-with-all-dates-from-calendar/m-p/3294551#M122697</link>
      <description>&lt;P&gt;Try this ,&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Analysis Table = CALCULATETABLE(SUMMARIZE('List','List'[NameID],'List'[Price],'List'[Foctor]),RELATED('Date'[Date']))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 04:49:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-table-based-on-existing-one-with-all-dates-from-calendar/m-p/3294551#M122697</guid>
      <dc:creator>devanshi</dc:creator>
      <dc:date>2023-06-21T04:49:12Z</dc:date>
    </item>
  </channel>
</rss>

