<?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: need help; making a new table with distinct values from another table. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-making-a-new-table-with-distinct-values-from-another/m-p/3046598#M104741</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="504529" data-lia-user-login="Safal" class="lia-mention lia-mention-user"&gt;Safal&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can try the following methods&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table 2 = 
SUMMARIZE (
    'Table',
    'Table'[Discipline],
    "Number of status",
        CALCULATE (
            COUNT ( 'Table'[Status] ),
            ALLEXCEPT ( 'Table', 'Table'[Discipline] )
        )
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Is this the result you expect?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Charlotte&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;helps&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;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jan 2023 06:28:35 GMT</pubDate>
    <dc:creator>v-zhangti</dc:creator>
    <dc:date>2023-01-27T06:28:35Z</dc:date>
    <item>
      <title>need help; making a new table with distinct values from another table.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-making-a-new-table-with-distinct-values-from-another/m-p/3043414#M104520</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i got 1 table, which has,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Status,&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;letters&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01&lt;/TD&gt;&lt;TD&gt;pp&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;02&lt;/TD&gt;&lt;TD&gt;dd&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;03&lt;/TD&gt;&lt;TD&gt;dd&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;04&lt;/TD&gt;&lt;TD&gt;cc&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;05&lt;/TD&gt;&lt;TD&gt;cc&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to make another table, from Colum table, where it shows,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Status2,&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Name&lt;/TD&gt;&lt;TD&gt;Sum&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;pp&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;dd&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;cc&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have been using&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;occurence = 
CountX(
    FILTER('Status', EARLIER('Status'[Status]) = 'Status'[Status]),
    'Status'[Status]
)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 25 Jan 2023 17:15:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-making-a-new-table-with-distinct-values-from-another/m-p/3043414#M104520</guid>
      <dc:creator>Safal</dc:creator>
      <dc:date>2023-01-25T17:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: need help; making a new table with distinct values from another table.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-making-a-new-table-with-distinct-values-from-another/m-p/3043478#M104525</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="504529" data-lia-user-login="Safal" class="lia-mention lia-mention-user"&gt;Safal&lt;/a&gt;&amp;nbsp;Not sure how your formula matches up with the data you provided. If you put letters into a table visual then you should just be able to use something like COUNTROWS(DISTINCT(RELATEDTABLE('Status'))). But, seems like some information is missing so hard to be certain.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 17:47:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-making-a-new-table-with-distinct-values-from-another/m-p/3043478#M104525</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2023-01-25T17:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: need help; making a new table with distinct values from another table.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-making-a-new-table-with-distinct-values-from-another/m-p/3044665#M104612</link>
      <description>&lt;P&gt;hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i got 1 table right now, which looks like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;Discipline&lt;/TD&gt;&lt;TD&gt;Status&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2528&lt;/TD&gt;&lt;TD&gt;Mechanical&lt;/TD&gt;&lt;TD&gt;Closed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2510&lt;/TD&gt;&lt;TD&gt;Mechanical&lt;/TD&gt;&lt;TD&gt;Pending Review&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2522&lt;/TD&gt;&lt;TD&gt;Process&lt;/TD&gt;&lt;TD&gt;Closed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2529&lt;/TD&gt;&lt;TD&gt;Process&lt;/TD&gt;&lt;TD&gt;Pending&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2530&lt;/TD&gt;&lt;TD&gt;System&lt;/TD&gt;&lt;TD&gt;Pending Review&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2531&lt;/TD&gt;&lt;TD&gt;Art&lt;/TD&gt;&lt;TD&gt;Pending Information&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and i want to make another table, which gives me&lt;/P&gt;&lt;P&gt;the unqiue Discipline, and number of status&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Unique Discipline ID&lt;/TD&gt;&lt;TD&gt;Unique Discipline&lt;/TD&gt;&lt;TD&gt;Number of status&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;101&lt;/TD&gt;&lt;TD&gt;Mechanical&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;102&lt;/TD&gt;&lt;TD&gt;Process&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;103&lt;/TD&gt;&lt;TD&gt;System&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;104&lt;/TD&gt;&lt;TD&gt;Art&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;essentially,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am trying to make a drill down report in which,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i got a bar graph which shows me the Discipline and number of status,&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i click on the bar, it will change into type of status for each discipline stacked bar chart or change another chart.&amp;nbsp; I am able to do this on Javascript, however, im struggling with creating tables on powerBI using the raw data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;can you give me directions please?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 09:34:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-making-a-new-table-with-distinct-values-from-another/m-p/3044665#M104612</guid>
      <dc:creator>Safal</dc:creator>
      <dc:date>2023-01-26T09:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: need help; making a new table with distinct values from another table.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-making-a-new-table-with-distinct-values-from-another/m-p/3046598#M104741</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="504529" data-lia-user-login="Safal" class="lia-mention lia-mention-user"&gt;Safal&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can try the following methods&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table 2 = 
SUMMARIZE (
    'Table',
    'Table'[Discipline],
    "Number of status",
        CALCULATE (
            COUNT ( 'Table'[Status] ),
            ALLEXCEPT ( 'Table', 'Table'[Discipline] )
        )
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Is this the result you expect?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Charlotte&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;helps&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;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 06:28:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-making-a-new-table-with-distinct-values-from-another/m-p/3046598#M104741</guid>
      <dc:creator>v-zhangti</dc:creator>
      <dc:date>2023-01-27T06:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: need help; making a new table with distinct values from another table.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-making-a-new-table-with-distinct-values-from-another/m-p/3046899#M104766</link>
      <description>&lt;P&gt;Hi there, thank you so much for your reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ive changed the tables names and used it in my work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreaciate your help on this. PowerBI is amazing but quite hard to use. I love the community for it!!!!!!!!!!!!!!!&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 09:44:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-making-a-new-table-with-distinct-values-from-another/m-p/3046899#M104766</guid>
      <dc:creator>Safal</dc:creator>
      <dc:date>2023-01-27T09:44:49Z</dc:date>
    </item>
  </channel>
</rss>

