<?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 New DAX Measure - return a (unique) value on a field from a selection from another field in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-DAX-Measure-return-a-unique-value-on-a-field-from-a/m-p/3344097#M125529</link>
    <description>&lt;P&gt;Hello All,&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;&lt;U&gt;&lt;STRONG&gt;STORE&lt;/STRONG&gt;&lt;/U&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;U&gt;ITEMS SOLD&lt;/U&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;Electronics, Sporting Goods&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;Sporting Goods&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;Electronics, Sporting Goods, Apparel&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would like to create a new measure for the unique items:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;U&gt;&lt;STRONG&gt;Category&lt;/STRONG&gt;&lt;/U&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Apparel&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Electronics&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Sporting Goods&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where selecting the Category value will return the Store(s) that sell the item(s).&lt;/P&gt;&lt;P&gt;For example ---&lt;/P&gt;&lt;P&gt;Selecting Apparel returns Store C&lt;/P&gt;&lt;P&gt;Selecting Electronics returns Store A and Store C&lt;/P&gt;&lt;P&gt;Selecting Sporting Goods returns Store A, Store B, and Store C&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new to creating DAX measures. Any help will be greatly appreciated.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Have a great day and weekend.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jul 2023 19:43:06 GMT</pubDate>
    <dc:creator>TryingToLearn</dc:creator>
    <dc:date>2023-07-21T19:43:06Z</dc:date>
    <item>
      <title>New DAX Measure - return a (unique) value on a field from a selection from another field</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-DAX-Measure-return-a-unique-value-on-a-field-from-a/m-p/3344097#M125529</link>
      <description>&lt;P&gt;Hello All,&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;&lt;U&gt;&lt;STRONG&gt;STORE&lt;/STRONG&gt;&lt;/U&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;U&gt;ITEMS SOLD&lt;/U&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;Electronics, Sporting Goods&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;Sporting Goods&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;Electronics, Sporting Goods, Apparel&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would like to create a new measure for the unique items:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;U&gt;&lt;STRONG&gt;Category&lt;/STRONG&gt;&lt;/U&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Apparel&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Electronics&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Sporting Goods&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where selecting the Category value will return the Store(s) that sell the item(s).&lt;/P&gt;&lt;P&gt;For example ---&lt;/P&gt;&lt;P&gt;Selecting Apparel returns Store C&lt;/P&gt;&lt;P&gt;Selecting Electronics returns Store A and Store C&lt;/P&gt;&lt;P&gt;Selecting Sporting Goods returns Store A, Store B, and Store C&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new to creating DAX measures. Any help will be greatly appreciated.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Have a great day and weekend.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 19:43:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-DAX-Measure-return-a-unique-value-on-a-field-from-a/m-p/3344097#M125529</guid>
      <dc:creator>TryingToLearn</dc:creator>
      <dc:date>2023-07-21T19:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: New DAX Measure - return a (unique) value on a field from a selection from another field</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-DAX-Measure-return-a-unique-value-on-a-field-from-a/m-p/3344134#M125530</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="592661" data-lia-user-login="TryingToLearn" class="lia-mention lia-mention-user"&gt;TryingToLearn&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;use selected value, and concatenex&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Store By Category =&lt;BR /&gt;VAR SelectedCategory = SELECTEDVALUE('Category'[Category])&lt;BR /&gt;RETURN&lt;BR /&gt;CONCATENATEX(&lt;BR /&gt;FILTER('StoreItems', CONTAINSSTRING([Items Sold], SelectedCategory)),&lt;BR /&gt;[Store],&lt;BR /&gt;", "&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 20:03:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-DAX-Measure-return-a-unique-value-on-a-field-from-a/m-p/3344134#M125530</guid>
      <dc:creator>rubayatyasmin</dc:creator>
      <dc:date>2023-07-21T20:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: New DAX Measure - return a (unique) value on a field from a selection from another field</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-DAX-Measure-return-a-unique-value-on-a-field-from-a/m-p/3344204#M125534</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="565196" data-lia-user-login="rubayatyasmin" class="lia-mention lia-mention-user"&gt;rubayatyasmin&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for replying to my post. Unfortunately this part is causing issues:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FILTER('&lt;STRONG&gt;StoreItems&lt;/STRONG&gt;',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I changed it to 'Store' which is the field name, but the measure is showing a "cannot find the table 'Store'" error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;'Store' and 'Items Sold' fields are on the same table (Store_Table).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 20:38:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-DAX-Measure-return-a-unique-value-on-a-field-from-a/m-p/3344204#M125534</guid>
      <dc:creator>TryingToLearn</dc:creator>
      <dc:date>2023-07-21T20:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: New DAX Measure - return a (unique) value on a field from a selection from another field</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-DAX-Measure-return-a-unique-value-on-a-field-from-a/m-p/3344714#M125559</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;A href="https://1drv.ms/u/s!AsDP3LYI8umspViYB9a69fImTOj-?e=Yfv5Jj" target="_blank" rel="noopener"&gt;Sold Item.pbix&lt;/A&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jul 2023 11:29:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-DAX-Measure-return-a-unique-value-on-a-field-from-a/m-p/3344714#M125559</guid>
      <dc:creator>ThxAlot</dc:creator>
      <dc:date>2023-07-22T11:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: New DAX Measure - return a (unique) value on a field from a selection from another field</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-DAX-Measure-return-a-unique-value-on-a-field-from-a/m-p/3346643#M125660</link>
      <description>&lt;P&gt;Thanks so much,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="474658" data-lia-user-login="ThxAlot" class="lia-mention lia-mention-user"&gt;ThxAlot&lt;/a&gt;&amp;nbsp;! Really appreciate it.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 13:32:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-DAX-Measure-return-a-unique-value-on-a-field-from-a/m-p/3346643#M125660</guid>
      <dc:creator>TryingToLearn</dc:creator>
      <dc:date>2023-07-24T13:32:27Z</dc:date>
    </item>
  </channel>
</rss>

