<?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: Cross Section between Two Groups in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cross-Section-between-Two-Groups/m-p/3018506#M102593</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="368094" data-lia-user-login="MSW" class="lia-mention lia-mention-user"&gt;MSW&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;Sample data:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
CALCULATE (
    COUNT ( 'Table'[Response ID] ),
    ALLEXCEPT ( 'Table', 'Table'[score] )
)
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Is this the result you expect?&amp;nbsp;If not, provide sample data and the output 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;</description>
    <pubDate>Fri, 13 Jan 2023 06:43:15 GMT</pubDate>
    <dc:creator>v-zhangti</dc:creator>
    <dc:date>2023-01-13T06:43:15Z</dc:date>
    <item>
      <title>Cross Section between Two Groups</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cross-Section-between-Two-Groups/m-p/3017674#M102521</link>
      <description>&lt;P&gt;Hello I am trying to assess some survey data and struggling to figure out how to find cross sections between varying groups.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have categories for each as defined by the questions and aggregates for each of those. I then broke them into scored levels IE expert, advanced... using this measure: Calculate(countrows(values('Table'[Response ID])),FIlter(All('Table'),'Table[score] = "Advanced".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did this for the other categories as well. What I am trying to find out is how can I make a measure or column that will give me the cross section between those that rated Advance in one category score with a score of say neutral from another category.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The end result would look something like:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Advanced (90 - as counted per ID) and Neutral (60 - counted per ID for that category) and there are X number of IDs that apply to both conditions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate any help provided.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 19:17:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cross-Section-between-Two-Groups/m-p/3017674#M102521</guid>
      <dc:creator>MSW</dc:creator>
      <dc:date>2023-01-12T19:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Section between Two Groups</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cross-Section-between-Two-Groups/m-p/3017830#M102533</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="368094" data-lia-user-login="MSW" class="lia-mention lia-mention-user"&gt;MSW&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try to write a measure like this:&lt;/P&gt;&lt;DIV&gt;AdvancedNeutralCount =&lt;/DIV&gt;&lt;DIV&gt;VAR&amp;nbsp;_list1 =&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CALCULATETABLE(&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;VALUES(TableName[&lt;SPAN&gt;ResponseID&lt;/SPAN&gt;]),&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;TableName[Score]="Advanced")&lt;/DIV&gt;&lt;DIV&gt;)&lt;/DIV&gt;&lt;DIV&gt;VAR _list2 =&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CALCULATETABLE(&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;VALUES(TableName[ResponseID]),&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;TableName[Score]="Neutral")&lt;/DIV&gt;&lt;DIV&gt;)&lt;/DIV&gt;&lt;DIV&gt;RETURN&lt;/DIV&gt;&lt;DIV&gt;COUNTROWS(INTERSECT(_list1,&amp;nbsp;&lt;SPAN&gt;_list2&lt;/SPAN&gt;))&lt;/DIV&gt;</description>
      <pubDate>Thu, 12 Jan 2023 21:24:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cross-Section-between-Two-Groups/m-p/3017830#M102533</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-01-12T21:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Section between Two Groups</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cross-Section-between-Two-Groups/m-p/3018506#M102593</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="368094" data-lia-user-login="MSW" class="lia-mention lia-mention-user"&gt;MSW&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;Sample data:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
CALCULATE (
    COUNT ( 'Table'[Response ID] ),
    ALLEXCEPT ( 'Table', 'Table'[score] )
)
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Is this the result you expect?&amp;nbsp;If not, provide sample data and the output 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;</description>
      <pubDate>Fri, 13 Jan 2023 06:43:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cross-Section-between-Two-Groups/m-p/3018506#M102593</guid>
      <dc:creator>v-zhangti</dc:creator>
      <dc:date>2023-01-13T06:43:15Z</dc:date>
    </item>
  </channel>
</rss>

