<?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: Combine data from hierarchy in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-data-from-hierarchy/m-p/2989948#M100548</link>
    <description>&lt;P&gt;This is working for me, thanks!!!&lt;/P&gt;&lt;P&gt;One minor issue though:&lt;/P&gt;&lt;P&gt;First row contains a value for Secondary orders quantity but no ArticleCode. Any idea what is causing this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Dec 2022 10:30:13 GMT</pubDate>
    <dc:creator>markblom</dc:creator>
    <dc:date>2022-12-27T10:30:13Z</dc:date>
    <item>
      <title>Combine data from hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-data-from-hierarchy/m-p/2988728#M100452</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's say I have these 3 tables:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Article&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ArticleId&lt;/LI&gt;&lt;LI&gt;ArticleCode&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;ArticleSecondary&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;PrimaryArticleId&lt;/LI&gt;&lt;LI&gt;SecondaryArticleId&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This table is the link between a Primary Article with zero, one or more Secondary Articles. We use this table to define alternatives for our main choice of articles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Orders&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Id&lt;/LI&gt;&lt;LI&gt;ArticleId&lt;/LI&gt;&lt;LI&gt;Quantity&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have defined the following relationships:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Relationships:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Article.ArticleId -&amp;gt; Orders.ArticleId&lt;/LI&gt;&lt;LI&gt;Article.ArticleId -&amp;gt; ArticleSecondary.PrimaryArticleId&lt;/LI&gt;&lt;LI&gt;ArticleSecundary.SecondaryArticleId -&amp;gt; Orders.ArticleId&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My goal is&amp;nbsp;to create a table visual with 3 columns:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ArticleCode&lt;/LI&gt;&lt;LI&gt;Quantity Ordered For Primary Article&lt;/LI&gt;&lt;LI&gt;Quantity Ordered For Secondary Article&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I get stuck with the quantity for the secondary articles. This column is empty and I suspect that it has to do with the fact that Orders is already filtered by ArticleId from the Articles table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any tips on how I can get the correct order quantities for the secondary articles?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 14:10:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-data-from-hierarchy/m-p/2988728#M100452</guid>
      <dc:creator>markblom</dc:creator>
      <dc:date>2022-12-26T14:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Combine data from hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-data-from-hierarchy/m-p/2988812#M100467</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="332919" data-lia-user-login="markblom" class="lia-mention lia-mention-user"&gt;markblom&lt;/a&gt; , this is creating loop. You should not join &lt;/P&gt;
&lt;P&gt;Article.ArticleId -&amp;gt; ArticleSecunday.PrimaryArticleId&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In case you want to filter the slicer of ArticleSecunday , you can try&lt;/P&gt;
&lt;P&gt;How to filter the slicer of a disconnected table: &lt;A href="https://youtu.be/cV5WfaQt6C8" target="_blank"&gt;https://youtu.be/cV5WfaQt6C8&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=cyOquvfhzNM" target="_blank"&gt;https://www.youtube.com/watch?v=cyOquvfhzNM&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 12:33:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-data-from-hierarchy/m-p/2988812#M100467</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-12-26T12:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Combine data from hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-data-from-hierarchy/m-p/2988959#M100490</link>
      <description>&lt;P&gt;Thanks for the reply! I will have a look at the youtube movies in your links.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 14:56:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-data-from-hierarchy/m-p/2988959#M100490</guid>
      <dc:creator>markblom</dc:creator>
      <dc:date>2022-12-26T14:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Combine data from hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-data-from-hierarchy/m-p/2989130#M100503</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="332919" data-lia-user-login="markblom" class="lia-mention lia-mention-user"&gt;markblom&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please try&lt;/P&gt;
&lt;P&gt;Quantity Ordered For Secondary Article =&lt;BR /&gt;CALCULATE (&lt;BR /&gt;SUM ( Orders[Quantity] ),&lt;BR /&gt;USERELATIONSHIP ( ArticleSecundary[SecondaryArticleId], Orders[ArticleId] ),&lt;BR /&gt;CROSSFILTER ( Article[ArticleId], Orders[ArticleId], NONE )&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 18:07:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-data-from-hierarchy/m-p/2989130#M100503</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-12-26T18:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Combine data from hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-data-from-hierarchy/m-p/2989948#M100548</link>
      <description>&lt;P&gt;This is working for me, thanks!!!&lt;/P&gt;&lt;P&gt;One minor issue though:&lt;/P&gt;&lt;P&gt;First row contains a value for Secondary orders quantity but no ArticleCode. Any idea what is causing this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2022 10:30:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-data-from-hierarchy/m-p/2989948#M100548</guid>
      <dc:creator>markblom</dc:creator>
      <dc:date>2022-12-27T10:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Combine data from hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-data-from-hierarchy/m-p/2989973#M100551</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="332919" data-lia-user-login="markblom" class="lia-mention lia-mention-user"&gt;markblom&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Power Bi automatically creates a blank row to group the quanities that do not belong to any secondary id. Just filter out the blank row using the filter pane.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2022 10:54:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-data-from-hierarchy/m-p/2989973#M100551</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-12-27T10:54:08Z</dc:date>
    </item>
  </channel>
</rss>

