<?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: How to a expand one row to multiple rows ? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-a-expand-one-row-to-multiple-rows/m-p/787787#M4397</link>
    <description>&lt;P&gt;Use GENERATEALL to join the tables by POS_ITEM_ID&lt;/P&gt;&lt;PRE&gt;Sales and Recipies = GENERATEALL(
    Sales,
    SUMMARIZE(
        FILTER(
            Recipe,
            Recipe[POS_ITEM_ID] = Sales[POS_ITEM_ID]
        ),
        Recipe[INGREDIENT_ID],
        Recipe[INGREDIENT_NAME],
        Recipe[INGREDIENT_UNITS]
    )
)&lt;/PRE&gt;</description>
    <pubDate>Tue, 10 Sep 2019 04:21:27 GMT</pubDate>
    <dc:creator>SeanMcLarty</dc:creator>
    <dc:date>2019-09-10T04:21:27Z</dc:date>
    <item>
      <title>How to a expand one row to multiple rows ?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-a-expand-one-row-to-multiple-rows/m-p/787758#M4395</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need help with Dax command . I have two tables - Sales and Recipes&amp;nbsp;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;Sales&lt;/P&gt;&lt;P&gt;SALES_DATE | POS_ITEM_ID |&amp;nbsp; POS_ITEM_NAME | SALES_UNITS&lt;/P&gt;&lt;P&gt;8/9/2019 | 13123213| Negroni | 10&lt;/P&gt;&lt;P&gt;7/9/2019 |&amp;nbsp;13123213| Negroni | 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Recipe&lt;/P&gt;&lt;P&gt;POS_ITEM_ID | INGREDIENT_ID | INGREDIENT_NAME | INGREDIENT_UNITS&lt;/P&gt;&lt;P&gt;13123213 | 9494949 | Gin | 1&lt;/P&gt;&lt;P&gt;13123213 | 4848484 | Campari | 1&lt;/P&gt;&lt;P&gt;13123213 | 75757575| Vermouth | 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do i create a table ?&lt;/P&gt;&lt;P&gt;8/9/2019 | 13123213| Negroni | 10 |9494949 | Gin | 1&lt;/P&gt;&lt;P&gt;8/9/2019 | 13123213| Negroni | 10 |4848484 | Campari | 1&lt;/P&gt;&lt;P&gt;8/9/2019 | 13123213| Negroni | 10 |75757575| Vermouth | 1&lt;/P&gt;&lt;P&gt;7/9/2019 |&amp;nbsp;13123213| Negroni | 5|9494949 | Gin | 1&lt;/P&gt;&lt;P&gt;7/9/2019 |&amp;nbsp;13123213| Negroni | 5|4848484| Campari | 1&lt;/P&gt;&lt;P&gt;7/9/2019 |&amp;nbsp;13123213| Negroni | 5|75757575| Vermouth | 1&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 03:20:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-a-expand-one-row-to-multiple-rows/m-p/787758#M4395</guid>
      <dc:creator>ujwalynit</dc:creator>
      <dc:date>2019-09-10T03:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to a expand one row to multiple rows ?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-a-expand-one-row-to-multiple-rows/m-p/787783#M4396</link>
      <description>&lt;P&gt;HI &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="26885" data-lia-user-login="ujwalynit" class="lia-mention lia-mention-user"&gt;ujwalynit&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use CROSSJOIN function in DAX to create a new calculated table from the Modelling tab&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/dax/crossjoin-function-dax" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/dax/crossjoin-function-dax&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 04:12:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-a-expand-one-row-to-multiple-rows/m-p/787783#M4396</guid>
      <dc:creator>Zubair_Muhammad</dc:creator>
      <dc:date>2019-09-10T04:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to a expand one row to multiple rows ?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-a-expand-one-row-to-multiple-rows/m-p/787787#M4397</link>
      <description>&lt;P&gt;Use GENERATEALL to join the tables by POS_ITEM_ID&lt;/P&gt;&lt;PRE&gt;Sales and Recipies = GENERATEALL(
    Sales,
    SUMMARIZE(
        FILTER(
            Recipe,
            Recipe[POS_ITEM_ID] = Sales[POS_ITEM_ID]
        ),
        Recipe[INGREDIENT_ID],
        Recipe[INGREDIENT_NAME],
        Recipe[INGREDIENT_UNITS]
    )
)&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Sep 2019 04:21:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-a-expand-one-row-to-multiple-rows/m-p/787787#M4397</guid>
      <dc:creator>SeanMcLarty</dc:creator>
      <dc:date>2019-09-10T04:21:27Z</dc:date>
    </item>
  </channel>
</rss>

