<?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 create a custom table or Matrix table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-custom-table-or-Matrix-table/m-p/2333308#M58685</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="340254" data-lia-user-login="Abbi" class="lia-mention lia-mention-user"&gt;Abbi&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Here is the sample file with solution:&amp;nbsp;&lt;A href="https://www.dropbox.com/t/BBz5quuploWDDOAY" target="_blank"&gt;https://www.dropbox.com/t/BBz5quuploWDDOAY&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This is very similar to this post&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/How-to-Compare-two-columns-from-2-different-tables/m-p/2328322#M58397" target="_blank"&gt;https://community.powerbi.com/t5/DAX-Commands-and-Tips/How-to-Compare-two-columns-from-2-different-tables/m-p/2328322#M58397&lt;/A&gt;&lt;BR /&gt;Already ansewed your query but looks like you forgot to mark my answer as accepted &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use power query to generate a distinct table of all ID's as described in the other post.&lt;BR /&gt;Code for Table 1 &amp;amp; 2:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;T(n) Dependancy = 
IF (
    HASONEVALUE ( Append1[ID] ), 
    CONCATENATEX (
        Table(n),
        Table(n)[Depedency],
        "," &amp;amp; UNICHAR(10)
    )
)&lt;/LI-CODE&gt;&lt;P&gt;For "Owner" you just need to retrieve the VALUES of the culumn "Owner" as follows&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Owner = 
IF (
    HASONEVALUE ( Append1[ID] ), 
    DISTINCT ( VALUES  ( Table1[Owner] ) )
)&lt;/LI-CODE&gt;&lt;P&gt;Your report would look like this&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;Kindly requesting you to mark both solutions as "Accepted".&lt;BR /&gt;Thank you and have a great day&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Feb 2022 11:25:28 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-02-11T11:25:28Z</dc:date>
    <item>
      <title>How to create a custom table or Matrix table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-custom-table-or-Matrix-table/m-p/2314829#M57639</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Looking forward for your help.&lt;/P&gt;&lt;P&gt;I have 2 tables, Table1 and Table 2.&lt;/P&gt;&lt;P&gt;Table1 -&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;Depedency&lt;/TD&gt;&lt;TD&gt;Owner&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1234&lt;/TD&gt;&lt;TD&gt;Client&lt;/TD&gt;&lt;TD&gt;Maruti&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1234&lt;/TD&gt;&lt;TD&gt;Testing&lt;/TD&gt;&lt;TD&gt;Maruti&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1234&lt;/TD&gt;&lt;TD&gt;Engg&lt;/TD&gt;&lt;TD&gt;Maruti&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;8125&lt;/TD&gt;&lt;TD&gt;Support&lt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t;TD&gt;Support&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;9654&lt;/TD&gt;&lt;TD&gt;Client&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create visual like below: Not sure how can I achieve through a Table or Matrix table.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;T1.Dependency&lt;/TD&gt;&lt;TD&gt;T2.Dependency&lt;/TD&gt;&lt;TD&gt;Owner&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1234&lt;/TD&gt;&lt;TD&gt;Client&lt;/TD&gt;&lt;TD&gt;Client&lt;/TD&gt;&lt;TD&gt;Maruti&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Testing&lt;/TD&gt;&lt;TD&gt;Engg&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Engg&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;8125&lt;/TD&gt;&lt;TD&gt;Support&lt;/TD&gt;&lt;TD&gt;Client&lt;/TD&gt;&lt;TD&gt;Varun M&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Engg&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Support&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6542&lt;/TD&gt;&lt;TD&gt;Testing&lt;/TD&gt;&lt;TD&gt;Reporting&lt;/TD&gt;&lt;TD&gt;Mike&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Support&lt;/TD&gt;&lt;TD&gt;Engg&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Reporting&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Client&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;9654&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Client&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 08:23:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-custom-table-or-Matrix-table/m-p/2314829#M57639</guid>
      <dc:creator>Abbi</dc:creator>
      <dc:date>2022-02-02T08:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a custom table or Matrix table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-custom-table-or-Matrix-table/m-p/2314905#M57641</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I recommend approaching this a bit differently. With these steps you can visualize the information you want quite well.&lt;BR /&gt;You can create a dimension table like this one:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;and then use it to create relationships:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By doign this you can create the visual like this:&lt;BR /&gt;Use the dimension table for slicer and then just create two table visuals.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!&lt;BR /&gt;&lt;BR /&gt;My LinkedIn: &lt;A href="https://www.linkedin.com/in/n%C3%A4ttiahov-00001/" target="_blank"&gt;https://www.linkedin.com/in/n%C3%A4ttiahov-00001/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 08:57:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-custom-table-or-Matrix-table/m-p/2314905#M57641</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2022-02-02T08:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a custom table or Matrix table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-custom-table-or-Matrix-table/m-p/2315376#M57660</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="343431" data-lia-user-login="ValtteriN" class="lia-mention lia-mention-user"&gt;ValtteriN&lt;/a&gt;&amp;nbsp; for the post, your post doesnt solve my issue, as my clients export the data to csv, they dont want 2 tables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have any better view other than table please suggest, where i can show them the difference in the dependency&amp;nbsp; against the ID's&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 13:04:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-custom-table-or-Matrix-table/m-p/2315376#M57660</guid>
      <dc:creator>Abbi</dc:creator>
      <dc:date>2022-02-02T13:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a custom table or Matrix table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-custom-table-or-Matrix-table/m-p/2333094#M58677</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="340254" data-lia-user-login="Abbi" class="lia-mention lia-mention-user"&gt;Abbi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check this:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Detail steps:&lt;/P&gt;
&lt;P&gt;1. Create two tables.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ID = 
DISTINCT ( UNION ( DISTINCT ( Table1[ID] ), DISTINCT ( Table2[ID] ) ) )
&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Depedency = 
DISTINCT (
    UNION ( DISTINCT ( Table1[Depedency] ), DISTINCT ( Table2[Depedency] ) )
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Create relationships.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Create a Matrix.&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;For more details, please check the attached .pbix file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Icey&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 10:14:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-custom-table-or-Matrix-table/m-p/2333094#M58677</guid>
      <dc:creator>Icey</dc:creator>
      <dc:date>2022-02-11T10:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a custom table or Matrix table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-custom-table-or-Matrix-table/m-p/2333308#M58685</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="340254" data-lia-user-login="Abbi" class="lia-mention lia-mention-user"&gt;Abbi&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Here is the sample file with solution:&amp;nbsp;&lt;A href="https://www.dropbox.com/t/BBz5quuploWDDOAY" target="_blank"&gt;https://www.dropbox.com/t/BBz5quuploWDDOAY&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This is very similar to this post&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/How-to-Compare-two-columns-from-2-different-tables/m-p/2328322#M58397" target="_blank"&gt;https://community.powerbi.com/t5/DAX-Commands-and-Tips/How-to-Compare-two-columns-from-2-different-tables/m-p/2328322#M58397&lt;/A&gt;&lt;BR /&gt;Already ansewed your query but looks like you forgot to mark my answer as accepted &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use power query to generate a distinct table of all ID's as described in the other post.&lt;BR /&gt;Code for Table 1 &amp;amp; 2:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;T(n) Dependancy = 
IF (
    HASONEVALUE ( Append1[ID] ), 
    CONCATENATEX (
        Table(n),
        Table(n)[Depedency],
        "," &amp;amp; UNICHAR(10)
    )
)&lt;/LI-CODE&gt;&lt;P&gt;For "Owner" you just need to retrieve the VALUES of the culumn "Owner" as follows&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Owner = 
IF (
    HASONEVALUE ( Append1[ID] ), 
    DISTINCT ( VALUES  ( Table1[Owner] ) )
)&lt;/LI-CODE&gt;&lt;P&gt;Your report would look like this&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;Kindly requesting you to mark both solutions as "Accepted".&lt;BR /&gt;Thank you and have a great day&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 11:25:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-custom-table-or-Matrix-table/m-p/2333308#M58685</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-02-11T11:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a custom table or Matrix table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-custom-table-or-Matrix-table/m-p/2333365#M58688</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="340254" data-lia-user-login="Abbi" class="lia-mention lia-mention-user"&gt;Abbi&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;If you're not comfortable with using Power Query, you can create a calculated table using this code:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Unique ID's = 
VAR Table_1 =
    SELECTCOLUMNS (
        Table1,
        "ID", Table1[ID]
    )
VAR Table_2 =
    SELECTCOLUMNS (
        Table2,
        "ID", Table2[ID]
    )
VAR Result =
    DISTINCT ( UNION ( Table_1, Table_2 ) )
RETURN
    Result &lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 11 Feb 2022 11:59:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-custom-table-or-Matrix-table/m-p/2333365#M58688</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-02-11T11:59:37Z</dc:date>
    </item>
  </channel>
</rss>

