<?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: Check if a value is available for all entries in other column / Intersect? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Check-if-a-value-is-available-for-all-entries-in-other-column/m-p/2028517#M45421</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;, sorry, but dax just returns blanks... Did I overlook something?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Combination = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var _dis = distinctcount( 'Filter Prices'[SUPPLIER])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var _disp = calculate( distinctcount( 'Filter Prices'[SUPPLIER]), filter( 'Filter Prices', 'Filter Prices'[MM] = earlier('Filter Prices'[MM])))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if( _dis = _disp , 'Filter Prices'[MM], blank())&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 20 Aug 2021 17:14:45 GMT</pubDate>
    <dc:creator>tweidner</dc:creator>
    <dc:date>2021-08-20T17:14:45Z</dc:date>
    <item>
      <title>Check if a value is available for all entries in other column / Intersect?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Check-if-a-value-is-available-for-all-entries-in-other-column/m-p/2028070#M45389</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently looking at quotes received from suppliers for various products.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I'm failing is to create a new column or measure to identify the products each of the suppliers have quoted for.&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;Supplier&lt;/TD&gt;&lt;TD&gt;Product&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Calculated Intersection&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can the soltuion be probably enhanced by adding a filter on&amp;nbsp;&lt;EM&gt;Supplier&amp;nbsp;&lt;/EM&gt;in order to determine column entries to be evaluated in the 3rd column / or a measure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 11:58:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Check-if-a-value-is-available-for-all-entries-in-other-column/m-p/2028070#M45389</guid>
      <dc:creator>tweidner</dc:creator>
      <dc:date>2021-08-20T11:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Check if a value is available for all entries in other column / Intersect?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Check-if-a-value-is-available-for-all-entries-in-other-column/m-p/2028089#M45391</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="280127" data-lia-user-login="tweidner" class="lia-mention lia-mention-user"&gt;tweidner&lt;/a&gt; , create new column &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;new column = &lt;BR /&gt;var _dis = distinctcount(Table[Supplier])&lt;BR /&gt;var _disp = calculate(distinctcount(Table[Supplier]), filter(Table, [product] = earlier([product])))&lt;BR /&gt;return &lt;BR /&gt;if(_dis = _disp =, [product], blank())&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 12:19:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Check-if-a-value-is-available-for-all-entries-in-other-column/m-p/2028089#M45391</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-08-20T12:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Check if a value is available for all entries in other column / Intersect?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Check-if-a-value-is-available-for-all-entries-in-other-column/m-p/2028517#M45421</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;, sorry, but dax just returns blanks... Did I overlook something?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Combination = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var _dis = distinctcount( 'Filter Prices'[SUPPLIER])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var _disp = calculate( distinctcount( 'Filter Prices'[SUPPLIER]), filter( 'Filter Prices', 'Filter Prices'[MM] = earlier('Filter Prices'[MM])))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if( _dis = _disp , 'Filter Prices'[MM], blank())&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 20 Aug 2021 17:14:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Check-if-a-value-is-available-for-all-entries-in-other-column/m-p/2028517#M45421</guid>
      <dc:creator>tweidner</dc:creator>
      <dc:date>2021-08-20T17:14:45Z</dc:date>
    </item>
  </channel>
</rss>

