<?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: DAX question: Dynamically Grouping Peer Sets in Power BI in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-question-Dynamically-Grouping-Peer-Sets-in-Power-BI/m-p/3672417#M142468</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="683468" data-lia-user-login="been_jannim" class="lia-mention lia-mention-user"&gt;been_jannim&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide a screenshot of the test data and desired results so that I can answer your question as soon as possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Adamk Kong&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2024 08:35:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-02-01T08:35:42Z</dc:date>
    <item>
      <title>DAX question: Dynamically Grouping Peer Sets in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-question-Dynamically-Grouping-Peer-Sets-in-Power-BI/m-p/3670729#M142389</link>
      <description>&lt;P class=""&gt;Hi All,&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I'm working on creating a report for my company's benchmarking survey. We basically send out a similar survey to a bunch of different companies and create each company their own report to compare them to their peers. I've done this before using this article on&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://sqljason.com/2017/03/dynamic-grouping-in-power-bi-using-dax.html" target="_blank" rel="noopener nofollow ugc"&gt;dynamic grouping using DAX&lt;/A&gt;, but in this scenario, not every company within the survey is a considered a "peer" of the others.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;For example, see my table below, but here is a summary:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;Comp1 is a peer to 6 companies within the dataset&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Comp2 is a peer to 7 companies within the dataset&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Comp3 is a peer to 5 companies within the dataset&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;What is the best way to set up a new table / write measures to be able to compare my selected company to their peers, without including companies that aren't in their peer group?&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Thanks so much!&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;EM&gt;&lt;STRONG&gt;Example table (factParticipant_PeerGroups) below:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Selected&lt;/TD&gt;&lt;TD&gt;Company Peer&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Comp1&lt;/TD&gt;&lt;TD&gt;Comp5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Comp1&lt;/TD&gt;&lt;TD&gt;Comp7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Comp1&lt;/TD&gt;&lt;TD&gt;Comp8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Comp1&lt;/TD&gt;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TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Wed, 31 Jan 2024 15:47:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-question-Dynamically-Grouping-Peer-Sets-in-Power-BI/m-p/3670729#M142389</guid>
      <dc:creator>been_jannim</dc:creator>
      <dc:date>2024-01-31T15:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: DAX question: Dynamically Grouping Peer Sets in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-question-Dynamically-Grouping-Peer-Sets-in-Power-BI/m-p/3672417#M142468</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="683468" data-lia-user-login="been_jannim" class="lia-mention lia-mention-user"&gt;been_jannim&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide a screenshot of the test data and desired results so that I can answer your question as soon as possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Adamk Kong&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 08:35:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-question-Dynamically-Grouping-Peer-Sets-in-Power-BI/m-p/3672417#M142468</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-01T08:35:42Z</dc:date>
    </item>
  </channel>
</rss>

